[meta-ti] How to create multiple uboot images in one recipe
Denys Dmytriyenko
denys at ti.com
Tue Jun 26 09:37:53 PDT 2018
On Mon, Jun 25, 2018 at 11:43:11AM +0000, Asfak Rahman wrote:
> Hi,
>
>
> I am trying to build multiple uboot images and have them in yocto's deploy directory.
>
>
> I have created a .bbappend file and added following lines:
>
> UBOOT_CONFIG[sd] = "sd_config"
> UBOOT_CONFIG[nand] = "nand_config"
>
>
> Now, I can add "UBOOT_CONFIG=sd" or "UBOOT_CONFIG=emmc" to my local.conf.
>
> This works and I get one uboot image based on the added configuration in local.conf
>
>
> I tried to use a script that calls bitbake twice. During the second execution of bitbake, it deletes all files that were built previously.
>
> Yes, I am using RM_OLD_IMAGE = "1" to clean old images and I want to keep such setting.
>
>
> How to build both of the uboot images(sd and nand) at once?
UBOOT_CONFIG = "sd nand"
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/conf/machine/am335x-hs-evm.conf
--
Denys
More information about the meta-ti
mailing list