[PATCH v2 u-boot-mvebu 0/4] arm: mvebu: Fix eMMC boot

Pali Rohár pali at kernel.org
Thu Apr 13 22:57:46 CEST 2023


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(-)

-- 
2.20.1



More information about the U-Boot mailing list