U-Boot / mmcblkXboot0
#2
At present, both "mmcblkXboot0" & "mmcblkXboot1" serve no purpose. Our U-Boot is located directly on the normal eMMC storage. Basically U-Boot starts at sector 64, for 3 sections, (8MB, 4MB & 4MB), and then normal partitions can start after that.

Below is an example where I've created reserved partitions entries for U-Boot. Followed by "/boot", swap and "/". (Note that U-Boot expects "/boot" to be the first partition, so I have it installled that way.)
Code:
Device            Start       End  Sectors  Size Type
/dev/mmcblk1p1    32768    557055   524288  256M Microsoft basic data
/dev/mmcblk1p2       64     16383    16320    8M Linux reserved
/dev/mmcblk1p3    16384     24575     8192    4M Linux reserved
/dev/mmcblk1p4    24576     32767     8192    4M Linux reserved
/dev/mmcblk1p5   557056   8945663  8388608    4G Linux swap
/dev/mmcblk1p6  8945664  65544144 56598481   27G Linux root (ARM-64)

This means that the exact same U-Boot code and layout works for SD cards as it does for eMMCs. And also SPI flash as well.
--
Arwen Evenstar
Princess of Rivendale


Messages In This Thread
U-Boot / mmcblkXboot0 - by stefan.schumacher - 03-22-2020, 07:18 AM
RE: U-Boot / mmcblkXboot0 - by Arwen - 03-22-2020, 11:51 AM
RE: U-Boot / mmcblkXboot0 - by wdt - 03-22-2020, 05:02 PM
RE: U-Boot / mmcblkXboot0 - by Arwen - 03-24-2020, 06:30 AM
RE: U-Boot / mmcblkXboot0 - by z4v4l - 03-23-2020, 12:34 AM
RE: U-Boot / mmcblkXboot0 - by wdt - 03-24-2020, 09:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  uboot wont boot to SD card after upgrade jbradley419 7 833 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 293 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,230 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 701 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 589 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,879 08-03-2023, 03:30 PM
Last Post: tophneal
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 803 07-13-2023, 01:50 PM
Last Post: PaulQ
  New Pinebook pro won’t boot Generaltuxenburg 4 1,948 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)