-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tracking] aarch64 build on Packet Type 2A #31606
Comments
As for image building, here's my recollection of what needs to be done:
|
TBC, |
Note that I expect EFI GRUB installation to be easier as non-root than legacy GRUB installation, given how much 'simpler' it is. There you just write the files to a filesystem and you are done. In legacy mode, you write some stuff to the MBR, some raw sectors to the unpartitioned space between the MBR and the first filesystem, then some files to the filesystem again... with all those three parts somehow co-operating, which sounds like it would require determining whether the With that said, wow https://dev.openwrt.org/browser/trunk/target/linux/x86/image/Makefile?rev=49407#L69 indeed does look promising. |
Another alternative is genimage. Buildroot uses it to create MBR and EFI bookable disk images. No root or VM needed. |
Edit: Ignore that, I tried to build and old lkl as I failed to upgrade nixpkgs. Latest LKL builds fine. |
PR here incorporates some netboot patches I've had kicking around: #32031 After that PR merges, we should recycle the branch for further testing, as https://hydra.nixos.org/jobset/nixos/unstable-aarch64 is setup already. |
It's somehow related to the GIC virtualization options that need to be set on that hardware: https://bugzilla.redhat.com/show_bug.cgi?id=1375571. |
Yep. And with |
* $out/bin/qemu-kvm should point to qemu-system-aarch64 on aarch64, libvirt expect it * makeWrapper codes are separated as some architectures might require additional command flags (#31606 (comment)) * x86_64-on-i686 is not a native emulation and not supported by KVM, so it is removed from the list
Long done =) |
Issue description
A tracking issue to work on a release of NixOS to the Packet "Type 2A" Cavium ThunderX servers.
Steps to reproduce
Log in to Packet, http://packet.net . Try to provision a Type 2A server with NixOS, notice that NixOS is missing as an operating system choice.
Technical details
See also
Packet Community Slack #worksonarm channel
The issue on the Packet Trello board is https://trello.com/c/Rv5YQb7T/127-support-nixos-on-armv8
The text was updated successfully, but these errors were encountered: