|
- [ 11.551142] devtmpfs: mounted
- [ 11.559384] Freeing unused kernel image (initmem) memory: 640K
- [ 11.577889] This architecture does not have kernel memory protection.
- [ 11.597899] Run /sbin/init as init process
- [ 11.639777] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
- [ 11.649417] CPU: 0 PID: 1 Comm: init Not tainted 6.9.0-rc7 #97
- [ 11.657522] Stack : 0000000000000000 0000000000000000 900000000022355c 90000000060d0000
- [ 11.667847] 90000000060d39d0 90000000060d39d8 0000000000000000 0000000000000000
- [ 11.678203] 90000000060d39d8 0000000000000250 0000000000000020 0000000000000000
- [ 11.688570] ffffffffffffffff 90000000060d39d8 b208058c58e5b27e 90000000061033c0
- [ 11.698968] 0000000000000001 0000000000000000 0000000000000339 0000000000000000
- [ 11.709369] 0000000000000000 90000000061fdc60 0000000002a08000 0000000000000003
- [ 11.719734] 0000000000000000 0000000000000000 90000000019536a8 9000000001ae5000
- [ 11.730051] 0000000000980000 00000000400004d8 0000000000000001 90000000060d3cc4
- [ 11.740357] 0000000000000004 0000000000000000 9000000000223574 0000007ff2d08af8
- [ 11.750674] 00000000000000b0 0000000000000007 0000000000000000 0000000000071c1c
- [ 11.760989] ...
- [ 11.765758] Call Trace:
- [ 11.765798] [<9000000000223574>] show_stack+0x5c/0x180
- [ 11.777836] [<900000000155e1d0>] dump_stack_lvl+0x70/0xa0
- [ 11.785481] [<9000000001538aa0>] panic+0x138/0x31c
- [ 11.792511] [<9000000000246738>] do_exit+0x898/0x8a0
- [ 11.799693] [<90000000002468ec>] do_group_exit+0x34/0x98
- [ 11.807250] [<90000000002574b8>] get_signal+0x820/0x848
- [ 11.814680] [<9000000000225698>] arch_do_signal_or_restart+0x58/0xe00
- [ 11.823358] [<900000000155fb0c>] irqentry_exit_to_user_mode+0xbc/0x138
- [ 11.832136] [<0000000000000000>] 0x0
- [ 11.837912] [<0000000000000000>] 0x0
- [ 11.843663]
- [ 11.847295] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 ]---
复制代码
uboot linux-kernal都正常了 init程序按pdf编译出来看elf也是loongarch的(虽然有点意外) 就是这里启动不了init
- ❯ file output/build/systemd-254.9/build/systemd
- output/build/systemd-254.9/build/systemd: ELF 64-bit LSB executable, LoongArch, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-loongarch-lp64d.so.1, BuildID[sha1]=69f99e320db959e9743d732c260b50b7c39b2bc5, for GNU/Linux 5.19.0, not stripped
复制代码
编译环境:amd64/linux/debian12
交叉编译工具: loongson-gnu-toolchain 14.2.0
|
|