Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem: Setting Uboot custom version does not apply defconfig
@ 2023-06-25 12:33 Kilian Zinnecker via buildroot
  2023-06-25 13:02 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Kilian Zinnecker via buildroot @ 2023-06-25 12:33 UTC (permalink / raw)
  To: buildroot

Hello,

I am having issues using the custom uboot version feature: When setting a 
custom uboot version value and a particular uboot defconfig, buildroot seems to 
NOT apply the uboot defconfig properly, i.e. there is no .config in the uboot 
build folder. This is the error I get (further below my settings):


>>> uboot 2023.07-rc4 Patching
for p in  ; do if test -d $p ; then PATH=/home/zinnecker/buildroot-test/
buildroot/output/host/bin:$PATH support/scripts/apply-patches.sh  /home/
zinnecker/buildroot-test/buildroot/output/build/uboot-2023.07-rc4 $p \*.patch 
|| exit 1 ; els
e PATH=/home/zinnecker/buildroot-test/buildroot/output/host/bin:$PATH support/
scripts/apply-patches.sh  /home/zinnecker/buildroot-test/buildroot/output/
build/uboot-2023.07-rc4 `dirname $p` `basename $p` || exit 1; fi done
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[5]: *** [scripts/kconfig/Makefile:75: syncconfig] Error 1
make[4]: *** [Makefile:576: syncconfig] Error 2
make[3]: *** No rule to make target 'include/config/auto.conf', needed by 
'include/config/uboot.release'.  Stop.
make[2]: *** [Makefile:558: __build_one_by_one] Error 2
make[1]: *** [boot/uboot/uboot.mk:553: /home/zinnecker/buildroot-test/
buildroot/output/build/uboot-2023.07-rc4/.stamp_dotconfig] Error 2
make: *** [Makefile:82: _all] Error 2


What I did: I want to use a fairly new uboot ("2023.07-rc4") because it 
features a defconfig for a particular board ("rock5b-rk3588_defconfig"). I 
therefore use the following settings in my buildroot board defconfig / .config:

BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.07-rc4"
BR2_TARGET_UBOOT_USE_DEFCONFIG=y
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock5b-rk3588"

The particular version of uboot features the particular defconfig. Also, with 
theses settings the uboot version 2023.07-rc4 is downloaded and the rock5b-
rk3588_defconfig is present in buildroot/output/build/uboot-2023.07-rc4/
configs/. However, as said previously, it seems like the rock5b-rk3588_defconfig 
is not applied. I don't know whether I am doing something wrong here, or 
whether it is a bug. I appreciate all help.

Best regards,
Kilian


_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-25 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-25 12:33 [Buildroot] Problem: Setting Uboot custom version does not apply defconfig Kilian Zinnecker via buildroot
2023-06-25 13:02 ` Yann E. MORIN
2023-06-25 14:31   ` Kilian Zinnecker via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox