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
  Boot Order in Pinebook Pro food 14 19,297 1 hour ago
Last Post: noahclark
  Pinebook pro won't boot after bootloader installation jwensouls 4 8,700 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 11,638 12-11-2023, 03:47 AM
Last Post: calinb
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 6,469 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Emergency Mode Boot Hotkey? jiacovelli 20 20,306 06-02-2023, 01:32 PM
Last Post: wdt
  Tow Boot install help Paulie420 7 11,439 11-24-2022, 10:24 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 6,090 10-31-2022, 10:14 AM
Last Post: wdt
  Bootloader: SD card boot quirks crazyquark 1 3,317 10-04-2022, 12:27 PM
Last Post: elitegamercody
  Fresh Manjaro does not boot from eMMC pentamassiv 7 11,521 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 27,829 05-12-2022, 05:00 AM
Last Post: Pino64

Forum Jump:


Users browsing this thread: 1 Guest(s)