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
  upgrading u-boot--what version? where to get it? bsammon 14 4,934 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 4,212 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 462 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 1,133 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 7,304 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 938 09-04-2024, 10:35 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 3,312 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 842 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 4,817 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 2,019 12-13-2023, 08:17 PM
Last Post: trillobite

Forum Jump:


Users browsing this thread: 1 Guest(s)