NixOS on ARM/QEMU: Difference between revisions
imported>Gnidorah No edit summary |
imported>Samueldr Quickly added misc notes about booting the aarch64 sd image with u-boot |
||
Line 89: | Line 89: | ||
{{note| first boot might take a bit longer, due to the root file system being resized to the disk size.}} | {{note| first boot might take a bit longer, due to the root file system being resized to the disk size.}} | ||
== QEMU AArch64 == | |||
{{expansion}} | |||
<syntaxhighlight> | |||
$ nix-build -A pkgsCross.aarch64-multiplatform.ubootQemuAarch64 | |||
$ qemu-system-aarch64 -nographic \ | |||
-machine virt -cpu cortex-a57 \ | |||
-bios result/u-boot.bin \ | |||
./nixos-sd-image-21.03pre262561.581232454fd-aarch64-linux.img \ | |||
-m 4G | |||
</syntaxhighlight> | |||
[[Category:Virtualization]] | [[Category:Virtualization]] |