Skip to content

Instantly share code, notes, and snippets.

[root@(none) newroot]# /lib/ld-linux.so.2
bash: /lib/ld-linux.so.2: No such file or directory
[root@(none) newroot]# /mnt/lib/ld-linux.so.2
bash: /mnt/lib/ld-linux.so.2: cannot execute binary file: Exec format error
# mount -t proc proc /proc
[root@(none) /]# mount
/dev/ubda on / type hostfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,mode=755)
upper on /mnt type tmpfs (rw,relatime)
overlay on /mnt/newroot type overlay (rw,relatime,lowerdir=/,upperdir=/mnt/upper,workdir=/mnt/work)
proc on /proc type proc (rw,relatime)
<debug_uaexardtion _fdex 2 ,io, code: , , 800002fff###eERRO7ee#a , rase0001ET t### ERRd ###
ootaseogress 2e
board ###
boot progress: 2e
initcall: 0000000080000e42
Unhandled exception: Illegal instruction, PC: 000000008000a48e TVAL: 0000000000002000
RA: 000000008000a460 SP: 00000000805fed60 GP: 00000000805fee80
TP: 0000000000000000 T0: 000000008000f534 T1: 0000000000000007
T2: 0000000000000001 S0: ffffffffffffa000 S1: 00000000805fe8e0
A0: 0000000000000000 A1: 0000000000000000 A2: 000000008000a48d
A3: 0000000000000000 A4: 0000000100000000 A5: 0000000080009038
A6: 0000000000000001 A7: 00000000805feba0 S2: 000000008000a480
S3: 000000008000a460 S4: 0000000000000000 S5: 0000000000000000
S6: 0000000000000000 S7: 0000000000000000 S8: 00000000805ffeb0
board_init() stride = 4 retval = 3132 diff = 0
board_init() stride = 8 retval = 2655 diff = -477
board_init() stride = 16 retval = 2628 diff = -27
board_init() stride = 32 retval = 2622 diff = -6
board_init() stride = 64 retval = 2622 diff = 0
board_init() stride = 128 retval = 2622 diff = 0
board_init() stride = 256 retval = 2622 diff = 0
=> sf probe 3:0
cli_simple_run_command() [RUN_COMMAND] cmd[00000000803fe4a0]="cli_simple_run_command() [PROCESS_SEPARATORS] sf probe 3:0
cli_simple_run_command() token: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] INPUT len 12: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] OUTPUT len 12: "sf probe 3:0"
cli_simple_parse_line() cli_simple_parse_line: "sf probe 3:0"
cli_simple_parse_line() parse_line: nargs=3
spi_find_chip_select() spi_find_chip_select: plat=0000000080398cb0, cs=0
spi_find_chip_select() spi_find_chip_select: plat=0000000080398cb0, cs=0
clk_set_defaults() clk_set_defaults(spi-flash@0)
#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2020.01 Configuration
#
CONFIG_CREATE_ARCH_SYMLINK=y
# CONFIG_ARC is not set
# CONFIG_ARM is not set
# CONFIG_M68K is not set
# CONFIG_MICROBLAZE is not set
# CONFIG_MIPS is not set
=> sf protect lock 0 0
Unhandled exception: Instruction access fault
EPC: 0000003a30303030 TVAL: 0000003a30303030
RA: 00000000803cb00e SP: 00000000803a58a0 GP: 00000000803a5e38
TP: 0000000000000000 T0: 000000008000565c T1: 00000000803caa32
T2: 00000000803fc8a0 S0: ffffffffffffffa1 S1: 00000000803a5ab8
A0: 00000000803a9310 A1: 0000000000000000 A2: 0000000000000000
A3: 6f6c733a30303030 A4: 0000000000304074 A5: 00000000ffffffff
A6: 00000000803e4260 A7: 0000000000000000 S2: 00000000803fd5c0
S3: 0000000000000001 S4: 0000000000000005 S5: 0000000000000000
core {
0 {
0 {
isa rv64imafds;
timecmp 0x2004000;
ipi 0x2000000;
plic {
m {
ie 0xc002000;
thresh 0xc200000;
=> sf probe 3:0
cli_simple_run_command() [RUN_COMMAND] cmd[00000000803fe8e8]="cli_simple_run_command() [PROCESS_SEPARATORS] sf probe 3:0
cli_simple_run_command() token: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] INPUT len 12: "sf probe 3:0"
cli_simple_process_macros() [PROCESS_MACROS] OUTPUT len 12: "sf probe 3:0"
cli_simple_parse_line() cli_simple_parse_line: "sf probe 3:0"
cli_simple_parse_line() parse_line: nargs=3
spi_find_bus_and_cs() spi_find_bus_and_cs: No bus 3
__of_translate_address() OF: ** translation for device spi@54000000 **
__of_translate_address() OF: bus is default (na=1, ns=1) on bus@52000000