Skip to content

arm: mvebu: Fix eMMC boot

Pali Rohár u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v1 RFC2 patches 28 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tools: kwboot: Fix MMC partitions documentationtools/kwboot.c+6 -30 replies
2/4mmc: Read eMMC partition access bits before card resetdrivers/mmc/mmc.c+28 -30 replies
3/4arm: mvebu: spl: Load proper U-Boot from correct eMMC partitionarch/arm/mach-mvebu/spl.c+8 -20 replies
4/4arm: mvebu: clearfog: Update eMMC/SD/SATA instructionsboard/solidrun/clearfog/README+10 -109 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMartin Rowe
1/4
2/4
3/4
4/4T-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 u-boot-mvebu 0/4] arm: mvebu: Fix eMMC boot

Boot configuration stored in EXT_CSD[179] register is completely ignored by BootROM:
https://lore.kernel.org/u-boot/CAOAjy5SYPPzWKok-BSGYwZwcKOQt_aZPgh6FTbrFd3F=8DM5ZQ@mail.gmail.com/

Instead eMMC partition use for booting has to be extracted from Partition access bits:
https://lore.kernel.org/u-boot/CAOAjy5SNrLJ=JAKf96Nf7HkFBXWbZLmWAhEs6nEEHS6UEhQbJw@mail.gmail.com/

Reflect this eMMC booting in documentation and in the code.

This patch series does not address 5 minutes timeout as nobody reacted to the email:
https://lore.kernel.org/u-boot/20230401164345.iwfu7nd5jgbjtpzl@pali/

Pali Rohár (4):
tools: kwboot: Fix MMC partitions documentation
mmc: Read eMMC partition access bits before card reset
arm: mvebu: spl: Load proper U-Boot from correct eMMC partition
arm: mvebu: clearfog: Update eMMC/SD/SATA instructions

 arch/arm/mach-mvebu/spl.c      | 10 ++++++++--
 board/solidrun/clearfog/README | 20 ++++++++++----------
 drivers/mmc/mmc.c              | 31 ++++++++++++++++++++++++++++---
 tools/kwboot.c                 |  9 ++++++---
 4 files changed, 52 insertions(+), 18 deletions(-)
Signature · 1 line
2.20.1