Menuconfig activation with latest scarthgap yocto-sdk?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Menuconfig activation with latest scarthgap yocto-sdk?

4,451 Views
lukipedio
Contributor I

How do I enable menuconfig task in yocto-sdk for Lasyerscaper processo (ls1028a)?

I am using https://github.com/nxp-qoriq/yocto-sdk/blob/scarthgap/ls-6.6.52-2.2.0.xml.

When launching:

bitbake -c menuconfig virtual/kernel

I get the following message:
ERROR: linux-qoriq-6.6.52+git-r0 do_menuconfig: do_menuconfig is disabled, please check KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.

I have tried to insert:

KCONFIG_CONFIG_ENABLE_MENUCONFIG = "true"
in either conf/local.conf or at the conf/machine/<machine>.conf

but I always get the error message.

I see there is a check in the cml1.bbclass in poky/meta that checks for this variable definition.

By default, this variable seems not defined.

 

0 Kudos
Reply
9 Replies

3,623 Views
lukipedio
Contributor I

Hi @LFGP ,

  any change someone working with Layerscape giving us a way to easiliy use menuconfig?

 

0 Kudos
Reply

3,983 Views
lukipedio
Contributor I

Hi @LFGP ,

   any update on this topic?

   How can I access menuconfig, if the bitbake recipe doesn't work?

Thanks,

Luca

0 Kudos
Reply

3,969 Views
lukipedio
Contributor I

Hi @LFGP ,

   the solution is:

1) Use devshell, like in:

MACHINE=<machine_name> bitbake -c devshell virtual/kernel
and then:
make menuconfig

2) Hack uboot-config.bbclass here:

# Disable menuconfig for multiple configs
d.setVar('KCONFIG_CONFIG_ENABLE_MENUCONFIG', "false") # set it to true

I don't know if the hack solution is recommended, but devshell is a way to bypass limitation imposed by SDK.

0 Kudos
Reply

4,430 Views
LFGP
NXP TechSupport
NXP TechSupport
dear @lukipedio,

there had have some reported issues with the latest Scarthgap yocto-sdk on Layerscape, I suggest you to use the LLDP 6.1.55 instead of.
In any case, I will do the test on my side. In the meanwhile please do the next:
>> Set the next variable in local.conf
KCONFIG_CONFIG_ENABLE_MENUCONFIG = "1"
#try with 1 instead true
>> develop the next commands
bitbake -c clean virtual/kernel
bitbake -c menuconfig virtual/kernel

please let me know the results
BR
LFGP

0 Kudos
Reply

3,981 Views
lukipedio
Contributor I
I have a MACHINE defined in my own meta-layer.
There is a MACHINEOVERRIDES in my machine configuration:
MACHINEOVERRIDES =. "ls1028ardb:"
 
I have added the following lines to my conf/local.conf:

# Force enable kernel menuconfig (nuclear option)
KCONFIG_CONFIG_ENABLE_MENUCONFIG:<machine_name>:forcevariable = "1"

# Also force this setting
KERNEL_MENUCONFIG:<machine_name>:forcevariable = "1"

# Override for dig2lite specifically  
KCONFIG_CONFIG_ENABLE_MENUCONFIG:<machine_name>:forcevariable = "1"

And then I have tried:
bitbake -c clean virtual/kernel
MACHINE=<machine_name> bitbake -c menuconfig virtual/kernel
MACHINE=ls1028ardb bitbake -c menuconfig virtual/kernel

and both fail with:
linux-qoriq-6.6.52+git-r0 do_menuconfig: do_menuconfig is disabled, please check KCONFIG_CONFIG_ENABLE_MENUCONFIG variable.
 
0 Kudos
Reply

4,410 Views
lukipedio
Contributor I

Hi @LFGP,

 

   I have added:

KCONFIG_CONFIG_ENABLE_MENUCONFIG = "1"

  to my conf/local.conf as suggested.

   But I am still getting the same error.

   

 

 

 

    

0 Kudos
Reply

4,361 Views
LFGP
NXP TechSupport
NXP TechSupport
Dear @lukipedio

I have made the test and I got the same errors as you.
Even enabling the menuconfig in the local.conf file.
Please use the LLDP.
I will send the errors to the apps team.
0 Kudos
Reply

4,288 Views
lukipedio
Contributor I
What do you exactly mean by "please use the LLDP".
I am currently using the LLDP indeed. Probably you mean use the "stable" Mickledore version of it?
0 Kudos
Reply

4,283 Views
LFGP
NXP TechSupport
NXP TechSupport
dear @lukipedio,

yes, that's what I mean.

8^)
BR
LFGP
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2122318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMenuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2122318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHow%20do%20I%20enable%20menuconfig%20task%20in%20yocto-sdk%20for%20Lasyerscaper%20processo%20(ls1028a)%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20using%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fyocto-sdk%2Fblob%2Fscarthgap%2Fls-6.6.52-2.2.0.xml%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-qoriq%2Fyocto-sdk%2Fblob%2Fscarthgap%2Fls-6.6.52-2.2.0.xml%3C%2FA%3E.%3C%2FP%3E%3CP%3EWhen%20launching%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Ebitbake%20-c%20menuconfig%20virtual%2Fkernel%3CBR%20%2F%3E%3CBR%20%2F%3EI%20get%20the%20following%20message%3A%3CBR%20%2F%3EERROR%3A%20linux-qoriq-6.6.52%2Bgit-r0%20do_menuconfig%3A%20do_menuconfig%20is%20disabled%2C%20please%20check%20KCONFIG_CONFIG_ENABLE_MENUCONFIG%20variable.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tried%20to%20insert%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EKCONFIG_CONFIG_ENABLE_MENUCONFIG%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3E%22true%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Ein%20either%20conf%2Flocal.conf%20or%20at%20the%20conf%2Fmachine%2F%3CMACHINE%3E.conf%3CBR%20%2F%3E%3CBR%20%2F%3Ebut%20I%20always%20get%20the%20error%20message.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FMACHINE%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EI%20see%20there%20is%20a%20check%20in%20the%20cml1.bbclass%20in%20poky%2Fmeta%20that%20checks%20for%20this%20variable%20definition.%3CBR%20%2F%3E%3CBR%20%2F%3EBy%20default%2C%20this%20variable%20seems%20not%20defined.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176644%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176644%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203371%22%20target%3D%22_blank%22%3E%40LFGP%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20any%20change%20someone%20working%20with%20Layerscape%20giving%20us%20a%20way%20to%20easiliy%20use%20menuconfig%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203371%22%20target%3D%22_blank%22%3E%40LFGP%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3Bthe%20solution%20is%3A%3C%2FP%3E%3CP%3E1)%20Use%20devshell%2C%20like%20in%3A%3C%2FP%3E%3CP%3EMACHINE%3D%3CMACHINE_NAME%3E%20bitbake%20-c%20devshell%20virtual%2Fkernel%3CBR%20%2F%3Eand%20then%3A%3CBR%20%2F%3Emake%20menuconfig%3C%2FMACHINE_NAME%3E%3C%2FP%3E%3CP%3E2)%20Hack%20uboot-config.bbclass%20here%3A%3C%2FP%3E%3CP%3E%23%20Disable%20menuconfig%20for%20multiple%20configs%3CBR%20%2F%3Ed.setVar('KCONFIG_CONFIG_ENABLE_MENUCONFIG'%2C%20%22false%22)%20%23%20set%20it%20to%20true%3C%2FP%3E%3CP%3EI%20don't%20know%20if%20the%20hack%20solution%20is%20recommended%2C%20but%20devshell%20is%20a%20way%20to%20bypass%20limitation%20imposed%20by%20SDK.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148405%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148405%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EI%20have%20a%20MACHINE%20defined%20in%20my%20own%20meta-layer.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EThere%20is%20a%20MACHINEOVERRIDES%20in%20my%20machine%20configuration%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EMACHINEOVERRIDES%3C%2FSPAN%3E%3CSPAN%3E%20%3D.%20%3C%2FSPAN%3E%3CSPAN%3E%22ls1028ardb%3A%22%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EI%20have%20added%20the%20following%20lines%20to%20my%20conf%2Flocal.conf%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CBR%20%2F%3E%23%20Force%20enable%20kernel%20menuconfig%20(nuclear%20option)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EKCONFIG_CONFIG_ENABLE_MENUCONFIG%3A%3CMACHINE_NAME%3E%3A%3C%2FMACHINE_NAME%3E%3C%2FSPAN%3E%3CSPAN%3Eforcevariable%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3E%221%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CSPAN%3E%23%20Also%20force%20this%20setting%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EKERNEL_MENUCONFIG%3A%3CMACHINE_NAME%3E%3A%3C%2FMACHINE_NAME%3E%3C%2FSPAN%3E%3CSPAN%3Eforcevariable%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3E%221%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CSPAN%3E%23%20Override%20for%20dig2lite%20specifically%20%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EKCONFIG_CONFIG_ENABLE_MENUCONFIG%3A%3CMACHINE_NAME%3E%3A%3C%2FMACHINE_NAME%3E%3C%2FSPAN%3E%3CSPAN%3Eforcevariable%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3E%221%22%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20then%20I%20have%20tried%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Ebitbake%20-c%20clean%20virtual%2Fkernel%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMACHINE%3D%3CMACHINE_NAME%3E%26nbsp%3Bbitbake%20-c%20menuconfig%20virtual%2Fkernel%3CBR%20%2F%3EMACHINE%3Dls1028ardb%26nbsp%3Bbitbake%20-c%20menuconfig%20virtual%2Fkernel%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20both%20fail%20with%3A%3CBR%20%2F%3Elinux-qoriq-6.6.52%2Bgit-r0%20do_menuconfig%3A%20do_menuconfig%20is%20disabled%2C%20please%20check%20KCONFIG_CONFIG_ENABLE_MENUCONFIG%20variable.%3CBR%20%2F%3E%3C%2FMACHINE_NAME%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203371%22%20target%3D%22_blank%22%3E%40LFGP%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3Bany%20update%20on%20this%20topic%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BHow%20can%20I%20access%20menuconfig%2C%20if%20the%20bitbake%20recipe%20doesn't%20work%3F%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ELuca%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2125897%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2125897%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251701%22%20target%3D%22_blank%22%3E%40lukipedio%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3Eyes%2C%20that's%20what%20I%20mean.%3CBR%20%2F%3E%3CBR%20%2F%3E8%5E)%3CBR%20%2F%3EBR%3CBR%20%2F%3ELFGP%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2125630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2125630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWhat%20do%20you%20exactly%20mean%20by%20%22please%20use%20the%20LLDP%22.%3CBR%20%2F%3EI%20am%20currently%20using%20the%20LLDP%20indeed.%20Probably%20you%20mean%20use%20the%20%22stable%22%20Mickledore%20version%20of%20it%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2125035%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2125035%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251701%22%20target%3D%22_blank%22%3E%40lukipedio%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20made%20the%20test%20and%20I%20got%20the%20same%20errors%20as%20you.%3CBR%20%2F%3EEven%20enabling%20the%20menuconfig%20in%20the%20local.conf%20file.%3CBR%20%2F%3EPlease%20use%20the%20LLDP.%3CBR%20%2F%3EI%20will%20send%20the%20errors%20to%20the%20apps%20team.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2122881%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2122881%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203371%22%20target%3D%22_blank%22%3E%40LFGP%3C%2FA%3E%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BI%20have%20added%3A%3C%2FP%3E%3CP%3E%3CSPAN%3EKCONFIG_CONFIG_ENABLE_MENUCONFIG%20%3D%20%221%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20to%20my%20conf%2Flocal.conf%20as%20suggested.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BBut%20I%20am%20still%20getting%20the%20same%20error.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2122703%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Menuconfig%20activation%20with%20latest%20scarthgap%20yocto-sdk%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2122703%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251701%22%20target%3D%22_blank%22%3E%40lukipedio%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3Ethere%20had%20have%20some%20reported%20issues%20with%20the%20latest%20Scarthgap%20yocto-sdk%20on%20Layerscape%2C%20I%20suggest%20you%20to%20use%20the%20LLDP%206.1.55%20instead%20of.%3CBR%20%2F%3EIn%20any%20case%2C%20I%20will%20do%20the%20test%20on%20my%20side.%20In%20the%20meanwhile%20please%20do%20the%20next%3A%3CBR%20%2F%3E%26gt%3B%26gt%3B%20Set%20the%20next%20variable%20in%20local.conf%3CBR%20%2F%3E%20%20%20%20%20%20%20KCONFIG_CONFIG_ENABLE_MENUCONFIG%20%3D%20%221%22%3CBR%20%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23try%20with%201%20instead%20true%3CBR%20%2F%3E%26gt%3B%26gt%3B%20develop%20the%20next%20commands%20%3CBR%20%2F%3E%20%20%20%20%20%20%20%20%20bitbake%20-c%20clean%20virtual%2Fkernel%3CBR%20%2F%3E%20%20%20%20%20%20%20%20%20%20bitbake%20-c%20menuconfig%20virtual%2Fkernel%3CBR%20%2F%3E%3CBR%20%2F%3Eplease%20let%20me%20know%20the%20results%3CBR%20%2F%3EBR%3CBR%20%2F%3ELFGP%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E