Skip to content

mvebu: clearfog: add support for emmc boot

Josua Mayer u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- New defconfigs for environment location are skipped in this version, pending further research if it can be auto-detected.

- invert logic of if statement allowing it to compile both with, and without CONFIG_SUPPORT_EMMC_BOOT defined. Reported by Stefan Roese with turris_mox_defconfig, thanks!

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: mvebu: allow additional 4096 offset for bootable mmc imagearch/arm/mach-mvebu/spl.c+3 -22 replies
2/2cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096cmd/mvebu/bubt.c+9 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStefan Roese
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] mvebu: clearfog: add support for emmc boot

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

Changes since v1:

- New defconfigs for environment location are skipped in this version, pending further research if it can be auto-detected.

- invert logic of if statement allowing it to compile both with, and without CONFIG_SUPPORT_EMMC_BOOT defined. Reported by Stefan Roese with turris_mox_defconfig, thanks!

Josua Mayer (2):
arm: mvebu: allow additional 4096 offset for bootable mmc image
cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096

 arch/arm/mach-mvebu/spl.c |  5 +++--
 cmd/mvebu/bubt.c          | 11 +++++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.35.3