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
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 503 05-11-2021, 01:53 PM
Last Post: wdt
  Latest PBP Factory Image? calinb 2 343 05-10-2021, 03:24 PM
Last Post: calinb
Brick Bricked? Pinebook Pro using Uboot-pbp hanmorten 8 3,260 06-24-2020, 10:33 AM
Last Post: hanmorten
  emmc image will not flash Uturn 10 3,706 04-12-2020, 06:38 PM
Last Post: D4RK
  Flashing image to EMMC Styles 12 4,463 01-17-2020, 08:48 AM
Last Post: tophneal
  Bionic image boot from SD mamboman777 9 2,762 01-17-2020, 06:39 AM
Last Post: pete
  Changed the bootsplash image - Kernel messages still showing Twix166 7 3,008 01-16-2020, 05:51 PM
Last Post: Arwen
  Command line flashing script with media verification, xz image support Arglebargle 2 2,109 12-19-2019, 09:25 PM
Last Post: Arglebargle

Forum Jump:


Users browsing this thread: 1 Guest(s)