-
-
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
uboot: build failure with older versions #311614
Conversation
- fix for build failure with version older than v2023.07 Signed-off-by: Ganga Ram <[email protected]>
f85106e
to
ffb92fa
Compare
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.
Looks good to me. I will give the other uboot maintainers a bit to react here.
The buildUBoot function was originally intended for internal use and is dedicated for Raspberry Pi platforms. With latest nixpkgs it is causing build failure due to an Raspberry Pi patch. This function has been removed from the U-Boot build configuration. More Information: NixOS/nixpkgs#311614 NixOS/nixpkgs#146634 Signed-off-by: Ganga Ram <[email protected]>
The buildUBoot function is intended for internal use and is dedicated for Raspberry Pi platforms. With latest nixpkgs it is causing build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch. Now this function is not used for the U-Boot build. More Information: NixOS/nixpkgs#311614 NixOS/nixpkgs#146634 Signed-off-by: Ganga Ram <[email protected]>
The buildUBoot function is intended for internal use and is dedicated for Raspberry Pi platforms. With latest nixpkgs it is causing build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch. Now this function is not used for the U-Boot build. More Information: NixOS/nixpkgs#311614 NixOS/nixpkgs#146634 Signed-off-by: Ganga Ram <[email protected]>
The I'm closing under the assumption that NixOS/nixos-hardware#947 was the alternative fix for your issue. |
The buildUBoot function is intended for internal use and is dedicated for Raspberry Pi platforms. With latest nixpkgs it is causing build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch. Now this function is not used for the U-Boot build. More Information: NixOS/nixpkgs#311614 NixOS/nixpkgs#146634 Signed-off-by: Ganga Ram <[email protected]>
Description of changes
Fix for build failure with version older than v2023.07.
The patch 0001-configs-rpi-allow-for-bigger-kernels.patch is hardware specific. It tries to modify a file
board/raspberrypi/rpi/rpi.env
which doesn't exist in uboot older than v2023.07 thus the patch fails and so uboot build.Moved the patch to hardware specific targets.
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.