* How to create multiple uboot images in one recipe
@ 2018-06-25 11:43 Asfak Rahman
2018-06-26 16:37 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Asfak Rahman @ 2018-06-25 11:43 UTC (permalink / raw)
To: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
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?
BR,
Asfak
[-- Attachment #2: Type: text/html, Size: 2423 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to create multiple uboot images in one recipe
2018-06-25 11:43 How to create multiple uboot images in one recipe Asfak Rahman
@ 2018-06-26 16:37 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2018-06-26 16:37 UTC (permalink / raw)
To: Asfak Rahman; +Cc: meta-ti@yoctoproject.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-26 16:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 11:43 How to create multiple uboot images in one recipe Asfak Rahman
2018-06-26 16:37 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.