[U-Boot] [RFC 00/11] SYSFW Loader for TI K3 family SoCs using FS Loader

Andreas Dannenberg dannenberg at ti.com
Thu May 16 20:54:43 UTC 2019


This series provides an alternative solution to the previously posted
series titled "System Firmware Loader for TI K3 family SoCs" [1] using
the existing FS loader driver rather than extending the SPL loader
framework like the original patch series. Unlike the original series,
it does not support eMMC/SD partition/sector based RAW loading, and
it is larger in size.

It is only provided to support the discussion around to the initial
series posted as "System Firmware Loader for TI K3 family SoCs" and
is not intended to supersede this series, hence it is labeled as
"RFC".

The interesting pieces are really in patches 04/11 (extension of
FS loader to allow using platform data so one does not have to use
either ENV or DTS), and 05/11 which implementes the usage of FS
loader, including the required sequence of MMC initialization steps
inspired by how SPL does it.

[1] https://lists.denx.de/pipermail/u-boot/2019-May/thread.html#368461

Regards,
Andreas


Andreas Dannenberg (10):
  mmc: k3_arasan: Allow driver to probe without PDs specified
  spl: Allow skipping clearing BSS during relocation
  spl: mmc: Export function to get device index
  misc: fs_loader: Allow initializing blkdev using platform data
  arm: K3: Introduce System Firmware loader framework
  armV7R: K3: am654: Allow using SPL BSS pre-relocation
  armv7R: K3: am654: Use full malloc implementation in SPL
  armV7R: K3: am654: Load SYSFW binary and config from boot media
  configs: am65x_evm_r5: All sysfw to be loaded via MMC
  configs: am65x_hs_evm_r5: All sysfw to be loaded via MMC

Lokesh Vutla (1):
  armv7R: dts: k3: am654: Update for loading SYSFW from MMC

 arch/arm/dts/k3-am654-r5-base-board.dts      |  24 ++
 arch/arm/lib/crt0.S                          |   3 +
 arch/arm/mach-k3/Kconfig                     |  22 ++
 arch/arm/mach-k3/Makefile                    |   3 +
 arch/arm/mach-k3/am6_init.c                  |  34 ++-
 arch/arm/mach-k3/include/mach/sysfw-loader.h |  12 +
 arch/arm/mach-k3/sysfw-loader.c              | 296 +++++++++++++++++++
 board/ti/am65x/Kconfig                       |   1 +
 common/spl/Kconfig                           |  13 +
 common/spl/spl_mmc.c                         |   2 +-
 configs/am65x_evm_r5_defconfig               |   6 +-
 configs/am65x_hs_evm_r5_defconfig            |   6 +-
 drivers/misc/fs_loader.c                     |  17 +-
 drivers/mmc/k3_arsan_sdhci.c                 |  16 +-
 include/configs/am65x_evm.h                  |  28 +-
 include/fs_loader.h                          |   4 +
 include/spl.h                                |   2 +
 17 files changed, 472 insertions(+), 17 deletions(-)
 create mode 100644 arch/arm/mach-k3/include/mach/sysfw-loader.h
 create mode 100644 arch/arm/mach-k3/sysfw-loader.c

-- 
2.17.1



More information about the U-Boot mailing list