-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
linux_rpi5: init at 6.1.63-stable_20231123 #284391
Conversation
There's this note in linux-kernels.nix about not adding new vendor kernels:
|
Technically, this isn't a *new* kernel, just building an existing one with
a different config....
Adding it to nixos-hardware isn't an amazing option, since compiling the
kernel on-device takes several hours.
…On Sun, Jan 28, 2024, 5:08 AM Alyssa Ross ***@***.***> wrote:
There's this note in linux-kernels.nix about not adding new vendor kernels:
# NOTE: PLEASE DO NOT ADD NEW VENDOR KERNELS TO NIXPKGS.
# New vendor kernels should go to nixos-hardware instead.
# e.g. https://github.com/NixOS/nixos-hardware/tree/master/microsoft/surface/kernel
—
Reply to this email directly, view it on GitHub
<#284391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7X32IVJ6KC5Y6JSFFEOL3YQYPRPAVCNFSM6AAAAABCN2M37CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGU2DCOJVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It would be good indeed if nixos-hardware could be built by Hydra. |
Is there anything missing for this PR to be merged? @leo60228 What is the relation to https://gitlab.com/vriska/nix-rpi5/-/blob/main/linux-rpi.nix?ref_type=heads from your wiki page https://wiki.nixos.org/wiki/NixOS_on_ARM/Raspberry_Pi_5 ? It looks equivalent, so could we remove that external dependency? |
Policy clarification: this probably should go in nixos-hardware, but that's not built by Hydra.
This PR is an attempt to upstream that, yes. |
Ah nice. Who could we ping for clarification? You're argument of not actually adding a new config seems reasonable. |
I just tried compiling the rpi5 kernel natively via bin-fmt/qemu and gave up after 4h on an average laptop. So if there's no cached binary, the user experience indeed goes towards zero :( |
Well, I wrote that note, so I know what I meant by it. Other people generally involved in this sort of conversation include @samueldr, @K900, @RaitoBezarius. (I think we possibly even discussed this PR on Matrix at the time.) |
It's an argument for having Hydra on nixos-hardware. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not making the mistake we kept making in the past with this new hostile vendor platform.
If anything has to be done, a PR removing linuxPackages_rpi*
would be the more proper action to take.
Due to how infrastructure stuff is going at the moment, it's not the time to plan this. So for now the status quo of not changing this is the better option. Though, we might want to already start planning to move rpi1/rpi2 to nixos-hardware and deprecate it "outright" considering anyway those are not being built in any form by our infra. It would leave the 64-bit pair as a whole, and those one we would need to figure out the plan going forward. TLDR: there is no pressure to remove anything at the moment. I mainly wanted to confirm @alyssais's understanding, and signal the intention clearly. |
Superseded by NixOS/nixos-hardware#927. |
Description of changes
Builds the BCM2712/Raspberry Pi 5 defconfig for linux-rpi. linux_rpi4 works, but uses 4K pages instead of 16K, and is thus not recommended by Raspberry Pi.
Relates to #260754.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.