zCore
zCore copied to clipboard
Fail to run Zircon program on macOS and Ubuntu
macOS 10.14.5: Bus error: 10
RUST_LOG=debug cargo run --release -p zircon-loader prebuilt/zircon

Ubuntu 20.04: Segmentation fault
RUST_LOG=debug cargo run --release -p zircon-loader prebuilt/zircon

Using "cargo run -p zircon-loader prebuilt/zircon" method to run zcore, zcore is running in user-mode of Linux. I think the REAL problem is there are no simulated device(like qemu) in user-mode zcore.
The old version of zCore in user mode can run in linux. Please try
cd zCore; git check e0ea3b01f92a ; cargo run --release -p zircon-loader prebuilt/zircon
commit e0ea3b01f92a10180a2868d19d50ca632f8bc953 Author: Runji Wang [email protected] Date: Sun Apr 19 01:41:18 2020 +0800
fix serial_read on hal-unix. now shell is working on zircon libos on Linux!
@whichxjy If you have some free time, please find the bug in current zCore.