[OE-core] [oe-core][PATCH v2] u-boot: extend UBOOT_CONFIG format to support different binary name

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Jun 16 00:20:45 UTC 2016


On Wed, Jun 15, 2016 at 12:01 PM,  <ting.liu at nxp.com> wrote:
> From: Ting Liu <ting.liu at nxp.com>
>
> When using UBOOT_CONFIG format, the final u-boot binary for each config
> may have different names. Extend UBOOT_CONFIG format to support different
> binary to be copied.
>
> The new format is supposed to be compatible with old one as ${UBOOT_BINARY}
> is copied by default, and images,binary can be empty.
>
> An example format to specify it, in the machine, is:
> 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"
>
> Signed-off-by: Ting Liu <ting.liu at nxp.com>

Wow !!! This is great! :-)

I see no problem with the patch; I did not test it though so I won't
ack it until I do a runtime test. If someone gets there before me I am
fine in applying it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list