U-Boot: 2021.10 → 2022.07#178
Conversation
de2c87f to
af5caf5
Compare
af5caf5 to
9e3c4f8
Compare
|
Most recent push fixed build for the few leftover devices that didn't build. Still untested on most devices. Will test later. |
|
Features tested and working on
UEFI USB booting still does not work very well (SD/eMMC not detected). I wonder if I need to poke upstream about the device trees. I figured they would be synced by now but maybe there is a differing assumption somewhere. |
|
Features tested and working on
|
|
Tested on a RockPro64, PinePhone Pro and PinePhone, all installed to either SPI or eMMC boot partitions.. Installation works fine, booting works fine. On the RockPro64 it actually fixed #186 for me (that issue probably shouldn't have been closed till this PR has been merged) which is awesome. Good to go on those devices! |
|
Tested with RockPro64 with TowBoot installed on the SPI: RCade is a bit unstable at the moment but I'm not sure if that is because of the interaction between RCade's BSP kernel or something else. Scheduled for the next couple of days:
|
One thing to consider is building stock U-Boot at 2022.07 for the board and compare. If it is just as unstable (which I would kinda expect) it means it's not Tow-Boot specific |
|
I would expect the same but that test would be for later. The instability is odd though - I get it consistently with a few movies in Kodi in RCade but not with others. Anyway, PBP and PinePhone will be next. |
|
I didn't have success with Pinebook Pro and After flashing to the SPI, I couldn't use the keyboard to navigate either TowBoot nor Fedora Workstation's Grub menu. Tow-Boot This is in full contrast to what I experienced with RP64 where the USB keyboard works as intended. If someone else can confirm the same behaviour on the PinebookPro, it will be great. I've retested a couple of times but a double-check would be better Update: Binaries with 2022.07 sha256sum |
|
|
Did this work @psstoyanov or still no keyboard/USB? |
I haven't checked for USB on the Pinebook Pro. After the integrated kb didn't work, I didn't proceed further with testing. Uart definitely required before testing I can try it again just to check USB with it. Strangely, no one else has reported any tests with Pinebook Pro and |
As far as I know, the keyboard in the PBP is on the USB bus. So if the keyboard does not work at all, then USB likely does not work. |
This comment was marked as resolved.
This comment was marked as resolved.
|
FYI: https://lists.denx.de/pipermail/u-boot/2022-July/489246.html Several people have run into this issue, including me, but others have not. May be wise to revert that commit or test the PBP further. Not sure why people would see the issue on vanilla U-Boot but not Tow-Boot. |
|
Pinebook Pro, confirmed:
These are likely to be platform specific issues (well, rk808 already tracked down), but I say so because the Pinebook (A64) doesn't have any problem with its USB keyboard. Backported the rk8xx workaround And it fixes both problems. It also totally makes sense that power management issues can cause USB stuff to fail in some ways. Thank you @CameronNemo, tracking down that issue first here helped. |
99cc41c to
96c19c7
Compare
|
"Fixed" the boot order issues. A two-parter:
This was easy. |
This mainly serves to fix USB support.
The previous enablement also synced the device tree with Linux, which brought in aliases. Upstream U-Boot deletes these aliases in the U-Boot device tree. These aliases change the ordering of the devices. So we were using the wrong ordering, according to upstream.
Syncing back with the current one from Nixpkgs.
mkfs.vfat: Label can be no longer than 11 characters
dbbbf5a to
01561f0
Compare
|
Force-push details
|
Equivalent changes done in fce1e9bba263fb5e3e589fdc5c2321f733e3de81 upstream
The build harness was trying to force a "full" disk image build, which doesn't make sense here.
01561f0 to
b9b6642
Compare
|
@shvetsnikita wrote:
I don't know for #183, I'll have to look into it, but at the very least I have added fixes that should now fix USB with the 2022.07 upgrade. |
|
I didn't think initially I would need to test all devices to merge, and almost merged earlier without deeper testing, but I'm glad I waited. I ended-up finding issues that were hardware-specific. I would have had to deal with them anyway after the upgrade otherwise. I am unable to test the Rock Pi 4 family of devices at the moment. I'll have to try and rope a tester in before cutting the actual release. There were changes affecting RK3399 systems and I haven't even looked at how likely or unlikely it is that they will have some breakage. I'll merge within 24 hours. |
Just tested "feature/u-boot-2022.07" and "development" branches. On both branches USB Type-A ports works now (I didn't tested Type-C ports yet) although both throw USB-related errors in both cases, even if no USB devices is attached ("Failed to get clocks"). However, there is severe regression on development branch (I flashed it to SPI) - right after "Please press ... to enter the boot menu." Tow-Boot starting to scan mmc, print stack trace and then reboot. I can get into the menu if I press Esc soon enough, but even if I choice USB I still getting same outcome. Yet somehow spiinstaller works fine, I seeing issue only when I have Tow-Boot installed in SPI (shared image was not tested). |
|
Moving to #209. |
Let's finish what I started a small while ago
TODO
XXXcommitsSystems I can't test
Remove "markers" from commit history
NOTE: systems I can't test are generally covered enough by my representative set of devices. It probably won't be an issue not to test them.
Issues noticed
upstream regression with rk8xxcausing regression with USB support with at least the Pinebook ProOS Boot order might be broken again for some scenariosPinebook A64 wouldn't launch installer from installer media startup...Pinebook Pro lists SD before eMMC in the boot menu...Breaking changes
radxa-zero2The mmc/sd device order was previously broken in the initial device enablement in
2021.10-005. This is a Tow-Boot issue, not an upstream issue, nor a vendor issue.To upgrade Tow-Boot from 2021.10 to any further version, first use a 2021.10
mmcbootinstaller, then use the erase function. Once erased, boot the system from SD with the*-006or following release of Tow-Boot and install.Since the install base of the
radxa-zero2users using Tow-Boot is likely limited to a really limited number of units, this is a low priority breakage.