-
git clone https://github.com/buildroot/buildroot
-cd buildroot
-git checkout 2018.02
-make qemu_aarch64_virt_defconfig
-make olddefconfig
-time make BR2_JLEVEL="$(nproc)"
-qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
-
Perhaps the awesomeness of Buildroot only sinks in once you notice that all it takes is 4 commands as explained at Section 20.11, “Buildroot hello world”.