Dual image uboot
#1
We having been discussing uboot on SPI as a way to get bootable PCIe NVMe drives. Yet the consensus is that the SPI is for a version of uboot, (or other firmware), that is quite stable.

But, we can also do some interesting things for recovery. If uboot is not that big, perhaps we can have 2 versions, with a tiny bit of code to select the most current, unless a special key is held down. Then it uses the prior release. That may help prevent some of the bricking of the PBP that has been disscused for new, but faulty firmware.

This could apply to both eMMC and SPI., though eMMC is an easier un-brick than SPI.

Just an idea.
--
Arwen Evenstar
Princess of Rivendale
#2
It has to be programmed and put somewhere, given that keyboard is connected via USB it means a ton of code to support that.

So. I would say: it is unlikely. I would rather assume that SPI happens first, that will allow multi-boot by default.
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
#3
radxa has some code in their repo to support spi -> nvme boot for rk3399

repository: https://github.com/radxa/u-boot.git
branch : rk3399-pie-gms-express-baseline

Original post https://forum.radxa.com/t/spi-nvme-booti...a/1306/161
#4
(10-11-2019, 10:11 AM)ayufan Wrote: It has to be programmed and put somewhere, given that keyboard is connected via USB it means a ton of code to support that.

So. I would say: it is unlikely. I would rather assume that SPI happens first, that will allow multi-boot by default.
Thanks, point taken. Using the keyboard to select alternate SPI boot image would require USB HID support. Too much added work.

When time permits, I'll take a look at alternatives.
--
Arwen Evenstar
Princess of Rivendale


Possibly Related Threads…
Thread Author Replies Views Last Post
  I think you can try compiling the PC version image of OpenHarmonyOS 5 or 5.1 wangyukunshan 1 216 Yesterday, 05:27 AM
Last Post: wangyukunshan
  Keyboard unresponsive after some idle time in uboot Trinatriumcitrat 1 3,062 11-25-2024, 03:42 PM
Last Post: KC9UDX
  uboot wont boot to SD card after upgrade jbradley419 7 6,536 01-19-2024, 02:29 PM
Last Post: wdt
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 3,711 09-19-2023, 08:48 AM
Last Post: dachalife
  Pinebook Pro won't turn on after flashing image Idaho 2 2,689 02-21-2023, 02:31 PM
Last Post: Idaho
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 6,599 05-11-2021, 01:53 PM
Last Post: wdt
  Latest PBP Factory Image? calinb 2 4,459 05-10-2021, 03:24 PM
Last Post: calinb
Brick Bricked? Pinebook Pro using Uboot-pbp hanmorten 8 14,476 06-24-2020, 10:33 AM
Last Post: hanmorten
  emmc image will not flash Uturn 9 17,209 04-04-2020, 07:02 AM
Last Post: jiyong
  Flashing image to EMMC Styles 12 17,701 01-17-2020, 08:48 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: