U-Boot with direct NVMe boot support for eMMC/SPI Flash
#25
FWIW
http://opensource.rock-chips.com/wiki_Rockusb

Maskrom mode

If there is no bootable firmware found on board, the SoC will run Rockusb driver automatically, we call it Bootrom mode or Maskrom mode.

If firmware is at somewhere of the board, in order to get into this mode, we can do something to prevent cpu read the firmware successful:

   for SD-card, unplug the SD-card;
   for eMMC, short the eMMC clock to GND;
   for NAND, short the data line or clock line;
   for SPI, short the spi signal to GND;
   By "reboot bootrom" command in U-Boot and Kernel, WIP.
   erase bootable region with non-bootable data in eMMC or other media devices

ayufan has some descrition for rock64
https://github.com/ayufan-rock64/linux-b...ash-spi.md
should be (almost ?) same with pinebookpro not tested and not wrapped my mind around this

currently reading/following/whatever the whole thread
anyway of this
u-boot supports boot script, so it's possible to check for a bootable device/partition/network

I don't know if u-boot can use/supports a watchdog as barebox does
It's a nice feature

You should check the partition size first
  Reply


Messages In This Thread
RE: U-Boot with direct NVMe boot support for eMMC/SPI Flash - by ElektromAn - 12-03-2019, 03:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  swap eMMC advice jceaser 2 565 10-23-2025, 09:59 PM
Last Post: Der Geist der Maschine
  Need new eMMC Karsten1 2 2,628 10-23-2025, 09:38 AM
Last Post: jceaser
  Bonk to boot biketool 2 741 10-21-2025, 09:08 AM
Last Post: biketool
  3 days in, slow/stuck or no boot. lgmpbp2 34 20,812 06-11-2025, 08:53 AM
Last Post: lgmpbp2
  upgrading u-boot--what version? where to get it? bsammon 14 13,412 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 10,040 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 3,286 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 4,392 10-23-2024, 03:49 AM
Last Post: chaylengordon
  Unable to boot? YossiS 4 2,879 09-04-2024, 10:35 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 6,640 01-19-2024, 02:29 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)