From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Kilian Zinnecker <kilian.zinnecker@mail.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] Problem: Setting Uboot custom version does not apply defconfig
Date: Sun, 25 Jun 2023 15:02:27 +0200 [thread overview]
Message-ID: <20230625130227.GL24952@scaer> (raw)
In-Reply-To: <5686076.DvuYhMxLoT@kilian-aisec>
Kilian, All,
On 2023-06-25 14:33 +0200, Kilian Zinnecker via buildroot spake thusly:
> 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"
Looks like it is working as expected here, with this defconfig:
BR2_aarch64=y
BR2_cortex_a76_a55=y
BR2_TOOLCHAIN_EXTERNAL=y
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_BOARD_DEFCONFIG="rock5b-rk3588"
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Note that the build fails much later, because it can't find
rockchip-tpl.bin; see tools/binman/missing-blob-help for some hint on
how to fix that.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-06-25 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2023-06-25 14:31 ` Kilian Zinnecker via buildroot
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=20230625130227.GL24952@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=kilian.zinnecker@mail.de \
/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.