You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
自己编译的app属性如下,使用的riscv64-unknown-elf-gcc
zcc@zcc-virtual-machine:~/toolchain/spec2006/447.dealII/build$ file dealII
dealII: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), statically linked, with debug_info, not stripped
将自己编译好的文件放在rootfsimg文件夹下后 编译出的bbl.bin在运行时报错
[ 0.010000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.030000] clocksource: Switched to clocksource riscv_clocksource
[ 0.030000] Unpacking initramfs...
[ 2.430000] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 2.440000] random: get_random_bytes called from 0xffffffff811ffc5c with crng_init=0
[ 2.540000] Freeing unused kernel memory: 18416K
[ 2.540000] This architecture does not have kernel memory protection.
[ 2.540000] Failed to execute /init (error -8)
[ 2.540000] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 2.540000] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---
The text was updated successfully, but these errors were encountered:
自己编译的app属性如下,使用的riscv64-unknown-elf-gcc
zcc@zcc-virtual-machine:~/toolchain/spec2006/447.dealII/build$ file dealII
dealII: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), statically linked, with debug_info, not stripped
将自己编译好的文件放在rootfsimg文件夹下后 编译出的bbl.bin在运行时报错
[ 0.010000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.030000] clocksource: Switched to clocksource riscv_clocksource
[ 0.030000] Unpacking initramfs...
[ 2.430000] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 2.440000] random: get_random_bytes called from 0xffffffff811ffc5c with crng_init=0
[ 2.540000] Freeing unused kernel memory: 18416K
[ 2.540000] This architecture does not have kernel memory protection.
[ 2.540000] Failed to execute /init (error -8)
[ 2.540000] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 2.540000] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---
The text was updated successfully, but these errors were encountered: