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
u-boot: Add Raspberry Pi 4 build #70796
Conversation
Just gave this a whirl, changing |
Hmm, there's changes missing for an sd-image to work. Though I won't have the time to do that until after NixCon.
Around there the u-boot for raspberry 4 will need to be copied, and config.txt will need to be extended to configure per-generation around here:
Once done, a build of the generic sd image, with the generic latest kernel, and hopefully it works. |
I deployed straight to my running machine with nixops, fortunately making a backup of |
1da7719
to
d6cfb60
Compare
7305484
to
ec49a95
Compare
f9be333
to
c14eec3
Compare
c14eec3
to
3e4538b
Compare
This is blocked until there is a With the current state of this branch, adding a This might be a bigger issue since it's looking like the next LTS (5.4) will not have rpi 4 support. In this situation, building the firmware partition may differ depending on the kernel it is built with. Or, alternatively, depend on a mainline latest kernel build in addition to last LTS. Or, final alternative, is that u-boot imports the kernel device trees (as they usually do) with an rpi-4 dts, and then everything is fine and self-contained. |
yes, u-boot starts up fine.
And there i'm stuck on 'Starting kernel...` (extlinux.conf is read alright). |
Here's an issue tracking the mainlining efforts. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Still desired, still blocked. |
@samueldr Would this not work with pkgs.linuxPackages_rpi4 ? |
AFAICT this has been superseded by #97883 so closing - please reopen if this if I missed something and this is still desired as a separate PR. |
Builds on #70793
Things done
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Yet untested, though this was verified as building using cross-compilation, for both 32 and 64 bit variants.