-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
installer images: Add available modules to stage-1 on ARM platforms #121720
installer images: Add available modules to stage-1 on ARM platforms #121720
Conversation
Namely, this is used by the pinebook's display
This is used on some allwinner platforms, and is a weak dependency for USB to work.
But not exclusive to rockchip
While it's being brought in implicitly by the other analogix driver, let's be explicit, in case things change.
Namely, early KMS on raspberry pi
This ensures that SD images and UEFI installers don't drift in compatibility with regards to early initrd.
4c08ac1
to
1cb977c
Compare
This isn't touching anything #121450 touches, so it can be reviewed in parallel! |
This PR enables There's no explanation given in this PR, but was this was done to support 32-bit kernels on the RPi 4? |
I guess it's for future (I hope) native armv7l builders (the ones that use qemu-kvm on aarch64). |
Perhaps they should just apply that option in their config, rather than in the standard kernel. |
At the time I tried searching information about which CPUs supported LPAE, and was led to believe that all "relevant" (read: armv7 Cortex-A*) CPUs supported LPAE. Though I still can't find proper information about LPAE support, only some notes about "A7 and A15", by digging. @lopsided98 We can remove this. armv7 as a whole is more important than only some. When we'll need it for builders, we'll see how we'll handle it. Whether we add a new attribute (for more broad use) or "just" customize the kernel config in the builder's config. |
See relevant PRs
iso-image: Fix GRUB graphical menu on AArch64 #119974Motivation for this change
There are two main classes of modules this adds:
Graphics is to give end-users feedback about the current boot. If and when things fail in stage-1, it is helpful for users.
Storage is to allow loading stage-2! All of the additions here are for USB support in stage-1. This allows using a USB drive to write either of the "SD" image or the UEFI iso installer.
This was tested on
Special note:
Testing, for aarch64 included installing from the UEFI iso (except for the Pinebook Pro).
Testing, for armv7l was limited to running the UEFI iso. Installing requires a complete native build due to the lack of native compilation.
But... how were the images built?
Using this commit (branch tip might move), which includes some cross-compilation fixes:
Using my recently refactored "cross-system" repo.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)