-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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: 2023.01 -> 2023.07 #227947
uboot: 2023.01 -> 2023.07 #227947
Conversation
Result of 5 packages built:
|
@ofborg build ubootRockPro64 |
Some minor changes are needed to support boards that now use binman. binman depends on |
It looks like you can just remove the |
I tested this on my RockPro64 and ran into two problems caused by the switch from "distro boot" to "standard boot". First, I had my environment saved to SPI flash, so it was still trying to use the distro boot scripts, but these failed because many commands are not available. I fixed this by resetting the environment, but then boot failed with the following error:
It boots successfully if I edit |
Let's draft this until issues are resolved. |
Hey there! I'm doing fun things with uboot 2023.07-rc3 right now and I hit the relative path vs absolute path bug. Is there a reason it can't be hardcoded to For reference I'm booting on SoQuartz Blade & PineTab2 |
The |
I'll have more of an understanding of the problems once I'll have ported forward Tow-Boot to standard[sic] boot era U-Boot. (Which I'm going to tackle soon~ish.) |
fwiw the relative path issue was fixed in a recent 2023.07 release candidate. No longer an issue for nixos. |
Now v2023.07.02 Though I guess it's not strictly an issue? |
So, it looks like only Rockchip boards, for now, in the boards we support have been switched entirely to "standard[sic] boot", and removed the previous distroboot support entirely. So testing will now require to track which boards have started supporting "standard[sic] boot", and which haven't, until their move to "standard[sic] boot" is complete. And that environment issue sure tells me I should fast track saving a "diff" of the environment instead of a full dump every time... I knew it would cause trouble for Tow-Boot usage, as anyone saving the environment would end-up with old information in there :( |
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.
I've tested this for the past few days in order to make a Nix expression for the Rock 4C+ U-Boot, which works fine. I'm waiting on the merge of this PR in order to make my PR.
Any chance to merge this PR soon? |
If anyone gets stuck (mainly on rockchip boards) after this update, clear the environment.
This is quite unlikely, and requires having a saved U-Boot environment in some permanent storage. |
Note: Allwinner boards may not build as they are right now due to a change in the build tooling. As reported in #156034 (comment). EDIT: just looked at the line, it was from the previous update.
Solution will be to provide either an SCP binary path, or
In the future all U-Boot builds exposed in Nixpkgs should be built successfully before building, through |
I tested this on my ODROID-XU4 and ran into two issues:
I updated from 2020.04, so these issues may have been around for a while (the first is definitely not new), but I just wanted to report them to inform others. |
This comment was marked as outdated.
This comment was marked as outdated.
The C2 has Ethernet connected directly to the SoC; also, the XU4 is Samsung Exynos based. |
Oh, right, that one, don't mind it then. |
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)