
With this patch series, U-Boot binary u-boot.bin (or u-boot-with-spl.bin when SPL is used) for QorIQ pre-PBL platforms can be directly copied to SD card without need to process binary via external formatting tools.
Tested on P2020 based board with SPL booting and also direct U-Boot booting without SPL.
Depends on other powerpc mpc85xx patches: http://patchwork.ozlabs.org/project/uboot/list/?series=293592&state=*
When using SPL, also following mmc fsl_esdhc_spl patches are required: http://patchwork.ozlabs.org/project/uboot/list/?series=293276&state=*
And when using SPL and u-boot-with-spl.bin is stored on non-zero sector then also following patch is required: http://patchwork.ozlabs.org/project/uboot/patch/20220404163311.5853-1-pali@k...
Pali Rohár (2): powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector board: freescale: p1_p2_rdb_pc: Calculate offsets for eSDHC boot sector
arch/powerpc/cpu/mpc85xx/Kconfig | 53 +++++++++++++++ arch/powerpc/cpu/mpc85xx/start.S | 86 +++++++++++++++++++++++++ arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 5 ++ arch/powerpc/cpu/mpc85xx/u-boot.lds | 5 ++ include/configs/p1_p2_rdb_pc.h | 7 +- 5 files changed, 155 insertions(+), 1 deletion(-)