unable to find u-boot config file in existing BSP


Mistyron <ron.eggler@...>
 

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.
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

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


Mistyron <ron.eggler@...>
 


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

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?

Thanks,

Ron

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




Khem Raj
 

On Fri, Nov 25, 2022 at 11:00 PM Mistyron <ron.eggler@...> wrote:


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

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


Thanks,

Ron

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