AnsweredAssumed Answered

Creating LS1021A u-boot image to use with SD card

Question asked by rahulr on Jan 5, 2017
Latest reply on Jan 9, 2017 by chris warth

I am trying to prepare an SD card to boot LS1021A-TWR development board. The QorIQ-SDK (rev. 2) asks to program u-boot-with-spl-pbl-sd.bin to the SD card. When I run bitbake fsl-image-minimal, I get the following u-boot images.

u-boot.bin
u-boot-lpuart.bin
u-boot-ls1021atwr.bin
u-boot-nor.bin
u-boot-qspi.bin
u-boot-sdcard-ifc.bin
u-boot-sdcard-qspi.bin
u-boot-secure-boot.bin

 

How do I build u-boot-with-spl-pbl-sd.bin?

 

These are my u-boot settings in ls1021atwr.conf.

UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
UBOOT_CONFIG[nor] = "ls1021atwr_nor_config,,u-boot-dtb.bin"
UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config,,u-boot-dtb.bin"
UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config,,u-boot-dtb.bin"
UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"

Outcomes