NixOS on ARM/QEMU: Difference between revisions

imported>Gnidorah
No edit summary
imported>Samueldr
m Add outdated notice
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{ARM/breadcrumb}}
{{ARM/breadcrumb}}
{{outdated|Information on this page needs to be updated. Support for OVMF, kvm and other use cases needs to be checked. Additionally, U-Boot support may have improved.}}
== Status ==
== Status ==


Line 89: Line 92:


{{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]]