A more complete system in a virtual machine
Under files/qemu
on this site you can find
a Makefile that automates the process of creating and
running a virutal ARM machine.
Please note that the Makefile is set up for the vexpress which doesn't have USB emulation in qemu and thus is not usable for the project, please see qemu instructions for details on what machine/config to use.
- Download, configure and compile QEMU (optional)
- Download, configure and compile squasfs-tools (used to create rootfs image, optional)
- Download, configure and compile the kernel.
- Download, configure and compile busybox.
- Create a rootfs containing busybox and files from optional overlay directories.
- Run QEMU with the generated kernel and rootfs.
The Makefile expects a crosscompiler prefixed with arm-linux-gnueabihf-
(you
can change that by overriding the CROSS_COMPILE variable) to be available in $PATH
.
You can use any of the compilers we used for beaglebone or raspberry.