boards/qemu_i486_q35/README.md
This port provides Tock for x86 i486 Q35 simulated processor.
First, follow the Tock Getting Started guide
To install QEMU follow these steps:
Linux
sudo apt update
sudo apt install qemu-system-x86
MacOS
brew install qemu
Windows
Download QEMU for Windows from the official site: https://www.qemu.org/download/ and run the installer.
objcopy for x86 (not the one provided by LLVM)NOTE:
rust-objcopydoes not work, it does not rearrange the ELF sections so that the Multiboot header is in the right position.
By default cargo run launches QEMU exactly as the build script spells out:
qemu-system-i386 -cpu 486 -machine q35 -net none -device isa-debug-exit,iobase=0xf4,iosize=0x04 -serial stdio -kernel.
That gives you two views:
debug!() output from the kernel is shown, andProcessConsole shell.If you instead run cargo run -- -display none
the extra -display none flag tells QEMU to skip creating the VGA window.
The kernel still programs the VGA hardware, but you will not see that screen;
only the serial terminal (ProcessConsole) remains visible.
Regardless of the flag, ProcessConsole is always on the serial port, while kernel debug messages are routed to VGA whenever a display is present.