QEMU kernel builds for Raspberry Pi devices and a very awful script to compile them.
Please install the required toolchain for arm:
- aarch64-linux-gnu (for arm64)
Remember to install these packages:
- ccache (to speedup frequent builds)
Take a look at Downloads for prebuilt images (rpi has the right dtb appended to kernel img)
or
./build.sh
to build a kernel image.
For a quick usage take a look here:
https://github.com/M0Rf30/simonpi
Some useful details stored in this README as persistent memorandum
root=/dev/mmcblk0p2 rootfstype=ext4 rw console=ttyAMA0 loglevel=0 panic=1
vexpress-v2f-1xv7-ca53x2.dtb
Any suggestion are welcome.
Feel free to fork, improve, test and do PR.