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
  uboot wont boot to SD card after upgrade jbradley419 7 1,258 01-19-2024, 02:29 PM
Last Post: wdt
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,433 09-19-2023, 08:48 AM
Last Post: dachalife
  Pinebook Pro won't turn on after flashing image Idaho 2 1,216 02-21-2023, 02:31 PM
Last Post: Idaho
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 4,507 05-11-2021, 01:53 PM
Last Post: wdt
  Latest PBP Factory Image? calinb 2 2,991 05-10-2021, 03:24 PM
Last Post: calinb
Brick Bricked? Pinebook Pro using Uboot-pbp hanmorten 8 10,538 06-24-2020, 10:33 AM
Last Post: hanmorten
  emmc image will not flash Uturn 9 12,706 04-04-2020, 07:02 AM
Last Post: jiyong
  Flashing image to EMMC Styles 12 12,706 01-17-2020, 08:48 AM
Last Post: tophneal
  Bionic image boot from SD mamboman777 9 9,755 01-17-2020, 06:39 AM
Last Post: pete
  Changed the bootsplash image - Kernel messages still showing Twix166 7 8,227 01-16-2020, 05:51 PM
Last Post: Arwen

Forum Jump:


Users browsing this thread: 1 Guest(s)