On Wednesday, 23 August 2023 at 09:25, Peter Robinson wrote:
Hi Dominik,
The 2023.10 RC series are now landing in F-39 and rawhide. There's been the beginnings of a few enhancements.
The first one that is noticeable is a bootmenu during the firmware init process where it will allow you to select the device/partition you wish to boot from, with the default selected and the usual time out. It should make things a little easier for things like reinstalling off a USB stick for devices that support that sort of install.
I've done some testing across a bunch of devices, various RPi, the Pinebook pro and numerous SBCs so I think it should work just fine, at least be no different than the usual process but I'd like to hear any feedback.
I copied the Pinebook Pro u-boot binaries from uboot-images-armv8-2023.10-0.4.rc3.fc39.noarch.rpm (https://koji.fedoraproject.org/koji/buildinfo?buildID=2277261) from /usr/share/uboot/pinebook-pro-rk3399/ to a μSD card (previously formatted using spi-flashing disk script). Then I did the steps from https://nullr0ute.com/2021/05/fedora-on-the-pinebook-pro/ "Write the firmware to flash" section.
Unfortunately, after reset (or power-off/power-on cycle), I get this: ... U-Boot SPL 2023.10-rc3 (Aug 21 2023 - 00:00:00 +0000) Trying to boot from SPI Trying to boot from MMC1 mmc_load_image_raw_sector: mmc block read error Trying to boot from SPI Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ###
I checked the spi-flashing-disk script, and all it does is create a vfat formatted partition and copy the 4 binaries from the directory corresponding to the board model. I think I did everything correctly, so is the new u-boot broken on PBP?
I've confirmed a similar problem, I was testing some of this on the PBP against RC2 as I was developing it but never tested the RC3.
I wish I had known that before trying the latest build. :(
Any chance you can grab one of the RC2 builds from koji [1] and see if you have better luck? Also maybe 2023.07 from koji too. I'll try and get to the bottom of this in the next week or so.
Unfortunately, it'll take some time, because the SPL is unable to load the next stage from SD and I have to enter the maskrom mode[1] to zero the SPI. Would you happen to have instructions on how to build an image that can be flashed in that mode using rkdeveloptool wl 0 newspi.bin ? That'd make things easier. I don't have time to open my PBP right now and probably won't have it for a couple of weeks.
[1] https://wiki.pine64.org/wiki/Pinebook_Pro_SPI
Regards, Dominik