Skip to contentSkip to conversation

unable to find u-boot config file in existing BSP

yocto Ron Eggler 2 participants 2 messages Nov 26, 2022 – Nov 30, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ron Eggler

author
#1 lore raw
Quoted 5 lines · Mistyron via lists.yoctoproject.org

Hi,

I'm interested in extracting the u-boot config from an existing BSP. It does compile u-boot but I cannot find the config file and I definitely can invoke bitbake u-boot separately, i.e. there must be a .config file somewhere.

I did find the location of the bbapppends:

$ bitbake-layers show-appends | grep boot
u-boot_2021.10.bb:
/home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend 

u-boot_2021.10.bb (skipped):
/home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend

but searching in /home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/ for "*config*" did not yield any results.

Quoted 18 lines

Background: I want to be able to compile u-boot separately with make, outside of Yocto and re-use the same configuration. Can anyone give me any hints?

Thanks,

Ron

Signature · 9 lines
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58635):https://lists.yoctoproject.org/g/yocto/message/58635
Mute This Topic:https://lists.yoctoproject.org/mt/95262552/7254380
Group Owner:[email protected]
Unsubscribe:https://lists.yoctoproject.org/g/yocto/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 16 lines · Mistyron

On 11/25/22 13:43, Mistyron via lists.yoctoproject.org wrote:

Hi,

I'm interested in extracting the u-boot config from an existing BSP. It does compile u-boot but I cannot find the config file and I definitely can invoke bitbake u-boot separately, i.e. there must be a .config file somewhere.

I did find the location of the bbapppends:

$ bitbake-layers show-appends | grep boot
u-boot_2021.10.bb:
  /home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend
u-boot_2021.10.bb (skipped):
  /home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/u-boot_2021.10.bbappend
Quoted 4 lines

but searching in /home/yocto/rzv_vlp_v3.0.0/build/../meta-renesas/recipes-rzg2l/recipes-bsp/u-boot/ for "*config*" did not yield any results.

Background: I want to be able to compile u-boot separately with make, outside of Yocto and re-use the same configuration. Can anyone give me any hints?

.config should be in build tree of u-boot, when you do bitbake u-boot, please look into the builddir of u-boot under work folder

Quoted 20 lines

Thanks,

Ron

--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#58637): https://lists.yoctoproject.org/g/yocto/message/58637
Mute This Topic: https://lists.yoctoproject.org/mt/95262552/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-