All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Asfak Rahman <asfak.rahman@outlook.com>
Cc: "meta-ti@yoctoproject.org" <meta-ti@yoctoproject.org>
Subject: Re: How to create multiple uboot images in one recipe
Date: Tue, 26 Jun 2018 12:37:53 -0400	[thread overview]
Message-ID: <20180626163752.GF3163@beryl> (raw)
In-Reply-To: <HE1P190MB0233E90101C59E7E782813A9954A0@HE1P190MB0233.EURP190.PROD.OUTLOOK.COM>

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


      reply	other threads:[~2018-06-26 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 11:43 How to create multiple uboot images in one recipe Asfak Rahman
2018-06-26 16:37 ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180626163752.GF3163@beryl \
    --to=denys@ti.com \
    --cc=asfak.rahman@outlook.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.