U-Boot on SPI flash - discussion
#5
(11-30-2019, 04:07 PM)zaius Wrote:
(11-29-2019, 04:18 PM)Arwen Wrote: If the new U-Boot image fails in such a way we can't work around the problems easily, we install a SD card that has a special signature our stage 1 code recognizes. If stage 1 sees this, it changes the U-Boot image selection to the other one, (aka old U-Boot image), and proceeds to boot.

Discussion anyone?

I would suggest if the stage 1 code recognizes an SD then it boots from that.  It seems more robust than looking for a special signature, and doesn't require an SD that has a special signature, or a working boot image on the SPI.

We already have that, nothing to be added. Any bootable SD card installed during power on / reset will cause the eMMC U-Boot to transfer booting to the SD card. That was an update to U-Boot a few weeks ago. We would then use the SD card's OS to fix the U-Boot of the eMMC.

My thought was allow continuing to boot to the eMMC or NVMe. Fix it from there, which may have the tools and U-Boot images. Of course, if we booted from SD card, we can mount an eMMC or NVMe file system, and get access to the tools & U-Boot images.

Perhaps something simpler. If the SPI stage 1 sees a bootable SD card, boot off it. If the SPI stage 1 sees a non-bootable SD card, then try the alternate SPI U-Boot image. That gets us the simplicity you were looking for, and fault tolerance I was looking for.
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
U-Boot on SPI flash - discussion - by Arwen - 11-29-2019, 04:18 PM
RE: U-Boot on SPI flash - discussion - by Arwen - 11-29-2019, 07:45 PM
RE: U-Boot on SPI flash - discussion - by zaius - 11-30-2019, 04:07 PM
RE: U-Boot on SPI flash - discussion - by Arwen - 11-30-2019, 04:25 PM
RE: U-Boot on SPI flash - discussion - by zaius - 12-01-2019, 11:21 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-01-2019, 11:51 AM
RE: U-Boot on SPI flash - discussion - by zaius - 12-02-2019, 06:26 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-02-2019, 10:34 AM
RE: U-Boot on SPI flash - discussion - by xalius - 12-02-2019, 11:09 AM
RE: U-Boot on SPI flash - discussion - by zaius - 12-02-2019, 02:01 PM
RE: U-Boot on SPI flash - discussion - by xalius - 12-02-2019, 02:17 PM
RE: U-Boot on SPI flash - discussion - by pcm720 - 12-02-2019, 10:12 PM
RE: U-Boot on SPI flash - discussion - by Wizzard - 12-03-2019, 12:48 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-03-2019, 06:11 AM
RE: U-Boot on SPI flash - discussion - by pcm720 - 12-03-2019, 06:18 AM
RE: U-Boot on SPI flash - discussion - by Wizzard - 12-03-2019, 06:25 AM
RE: U-Boot on SPI flash - discussion - by hmuller - 01-06-2020, 08:53 PM
RE: U-Boot on SPI flash - discussion - by hmuller - 09-16-2020, 08:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  uboot wont boot to SD card after upgrade jbradley419 7 834 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 294 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,231 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 702 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 590 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,184 09-19-2023, 08:48 AM
Last Post: dachalife
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,880 08-03-2023, 03:30 PM
Last Post: tophneal
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 806 07-13-2023, 01:50 PM
Last Post: PaulQ
  New Pinebook pro won’t boot Generaltuxenburg 4 1,949 06-14-2023, 07:20 AM
Last Post: KC9UDX
Tongue Yet another Pinebook Pro won't boot thread pinemouth 4 2,442 05-20-2023, 01:02 AM
Last Post: jackwilson

Forum Jump:


Users browsing this thread: 1 Guest(s)