rustsbi / rustsbi-k210

Kendryte K210 SBI support using RustSBI, provides privileged spec 1.12 environment by emulating it using 1.9.1
36 stars 12 forks source link

xv6-k210 #7

Closed china-zyy closed 3 years ago

china-zyy commented 3 years ago

在运行xv6-k210 os时,出现下面错误

$ make run platform=qemu [rustsbi] RustSBI version 0.1.1 .__ .____. ..__ __ | \ | | | | / | | / || \ | | | |) | | | | | | (-------| |----| (----| |_) || | | / | | | | \ \ | | \ \ | _ < | | | |\ \----.|--' |.----) | | | .----) | | |) || | | | `.| _/ |_/ |__| |___/ |__/ |__|

[rustsbi] Platform: QEMU (Version 0.1.0) [rustsbi] misa: RV64ACDFIMSU [rustsbi] mideleg: 0x222 [rustsbi] medeleg: 0xb1ab [rustsbi-dtb] Hart count: cluster0 with 2 cores [rustsbi] Kernel entry: 0x80200000 [rustsbi-panic] hart 0 panicked at 'invalid instruction, mepc: 0000000080200000, instruction: 0000000000000000', src/main.rs:459:17 [rustsbi-panic] system shutdown scheduled due to RustSBI panic

请问一下是哪里的问题呢,谢谢

luojia65 commented 3 years ago

0.2.0版本以上的rustsbi已经解决这个问题,请更新你的rustsbi。