Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: mike.looijm...@topic.nl
W: www.topic.nl
Please consider the environment before printing this e-mail
On 16-05-2024 13:34, Ross Burton wrote:
On 16 May 2024, at 12:03, Mike Looijmans via lists.openembedded.org
<mike.looijmans=topic...@lists.openembedded.org> wrote:
Using scartgap branch, trying to create a kernel recipe for a custom LS1028
machine.
The recipe in meta-freescale for the ls1028ardb is hopelessly outdated and
produces a 5.10 kernel.
So for my custom board based on the ls1028 I want to create a recipe that
builds a mainline kernel (I don't need GPU or fancy things that require
firmware or special drivers, so mainline should be fine).
I started out trying to get linux-yocto to build for my board, so copied the
"skeleton" recipe, adjusted a bit (add COMPATIBLE_MACHINE and a defconfig).
But when I then run "bitbake -c menuconfig virtual/kernel" I always get this
message:
ERROR: linux-yocto-*-6.6+git-r0 do_menuconfig: do_menuconfig is disabled,
please check KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.
I tried starting with a copy of recipes like linux-fscl, same error. Always.
(note: I've run "menuconfig" a million times by now, for dozens of boards, so
it's not the system).
I tried adding
KCONFIG_CONFIG_ENABLE_MENUCONFIG="true"
to my recipe, but that also had no effect.
The log file also contains no information whatsoever.
What's the real issue?
cml1.bbclass has this:
KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= “true"
…
if not bb.utils.to_boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG")):
bb.fatal("do_menuconfig is disabled, please check
KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.”)
So if you’re seeing that message then _something_ is assigning that variable to
false. Use bitbake-getvar to identify what that is.
Interesting, that points to "uboot-config.bbclass:147" which sets it to false.
I'm not building u-boot here, I'm building the kernel?
$ bitbake-getvar -r linux-fslc KCONFIG_CONFIG_ENABLE_MENUCONFIG
#
# $KCONFIG_CONFIG_ENABLE_MENUCONFIG [3 operations]
# set /.../oe-core/meta/classes-recipe/cml1.bbclass:35
# [_defaultval] "true"
# set uboot-config.bbclass:147
[__anon_148__..._oe_core_meta_classes_recipe_uboot_config_bbclass]
# "false"
# set uboot-config.bbclass:147
[__anon_148__..._oe_core_meta_classes_recipe_uboot_config_bbclass]
# "false"
# pre-expansion value:
# "false"
KCONFIG_CONFIG_ENABLE_MENUCONFIG="false"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199483):
https://lists.openembedded.org/g/openembedded-core/message/199483
Mute This Topic: https://lists.openembedded.org/mt/106132236/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-