Boot process
#3
Is there a trick to logging into the wiki?  I thought it was just the forum username/password, but that doesn't work.

As I understand the boot process, per some conversations on IRC and experimenting:

The mask ROM code runs first.  This searches for a uboot binary in SPI, on eMMC, and finally on the SD card.  It will execute the first one it finds - which is why if you screw up the eMMC, the SD card doesn't work.

The uboot path then loads the remaining bits as needed, and will look for a kernel to boot - in a configurable, and perhaps different, order.  Typically these search for the SD card first, but it's not guaranteed.

The safe way to mess around is to have nothing on the eMMC (either wipe the first... oh, 16MB ought to do it, or just remove/disable it), and do all your work on the SD card.  At this point, you can't screw up anything you can't fix trivially in an external machine.  You'll probably want to enable the UART while you're inside and build an adapter for boot messages.


Messages In This Thread
Boot process - by bero - 06-14-2020, 07:51 AM
RE: Boot process - by Arwen - 06-14-2020, 12:13 PM
RE: Boot process - by bero - 06-14-2020, 04:18 PM
RE: Boot process - by Arwen - 06-14-2020, 04:38 PM
RE: Boot process - by matosys - 06-14-2020, 04:57 PM
RE: Boot process - by Syonyk - 06-14-2020, 02:24 PM
RE: Boot process - by 65a - 06-19-2020, 11:28 PM
RE: Boot process - by CLC - 08-01-2020, 10:13 AM
RE: Boot process - by CLC - 08-02-2020, 01:32 AM
RE: Boot process - by wdt - 08-01-2020, 12:13 PM
RE: Boot process - by wdt - 08-02-2020, 12:38 PM
RE: Boot process - by as400 - 08-06-2020, 01:55 AM
RE: Boot process - by cefre00 - 10-27-2020, 02:26 AM
RE: Boot process - by cefre00 - 10-27-2020, 07:46 AM
RE: Boot process - by wdt - 10-27-2020, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,344 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 1,396 11-23-2023, 07:37 AM
Last Post: KC9UDX
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,033 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Emergency Mode Boot Hotkey? jiacovelli 20 4,732 06-02-2023, 01:32 PM
Last Post: wdt
  Tow Boot install help Paulie420 7 3,878 11-24-2022, 10:24 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 2,027 10-31-2022, 10:14 AM
Last Post: wdt
  Bootloader: SD card boot quirks crazyquark 1 1,098 10-04-2022, 12:27 PM
Last Post: elitegamercody
  Fresh Manjaro does not boot from eMMC pentamassiv 7 4,632 08-18-2022, 11:47 AM
Last Post: Bemo
  PBP won’t boot from eMMC after Debian update / Tow-Boot installer won’t boot from SD Pino64 21 10,648 05-12-2022, 05:00 AM
Last Post: Pino64
  Broken eMMC boot annahellrothsparent 3 2,516 04-28-2022, 07:31 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)