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
  Cant boot into an OS trashtendenz 3 693 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,777 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 401 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,735 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,320 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 637 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,758 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,473 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 1,057 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,946 09-19-2023, 08:48 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 2 Guest(s)