
On Armada 388 booting from eMMC is different to SD-Card in two major ways:
- Environment location - Sectors scanned by Boot-ROM
This patchset first makes it possible to select offset 4096 for eMMC partition. Here U-Boot can be placed to avoid conflict conflict with MBR.
Secondly the bubt command is updated to use LBA-4096 for eMMC data partition only, keeping previous values for SD and boot0/1 unchanged
Finally 3 new defconfigs are added - one for each bootable eMMC partition, selecting correct offset, and environment partition.
Josua Mayer (3): arm: mvebu: allow additional 4096 offset for bootable mmc image cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096 arm: mvebu: clearfog: Add defconfigs for eMMC booting
arch/arm/mach-mvebu/spl.c | 5 +- cmd/mvebu/bubt.c | 9 ++- configs/clearfog_emmcboot0_defconfig | 82 ++++++++++++++++++++++++++++ configs/clearfog_emmcboot1_defconfig | 82 ++++++++++++++++++++++++++++ configs/clearfog_emmcdata_defconfig | 82 ++++++++++++++++++++++++++++ 5 files changed, 256 insertions(+), 4 deletions(-) create mode 100644 configs/clearfog_emmcboot0_defconfig create mode 100644 configs/clearfog_emmcboot1_defconfig create mode 100644 configs/clearfog_emmcdata_defconfig