u-boot 2025.04 setting CONFIG_SYS_DEVICE_NULLDEV - where and how! Yocto 6.12.20

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

u-boot 2025.04 setting CONFIG_SYS_DEVICE_NULLDEV - where and how! Yocto 6.12.20

76 Views
edwardtyrrell
Senior Contributor I

Hi All,

We're having great difficulty in setting a few of the u-boot build configuration parameters in particular CONFIG_SYS_DEVICE_NULLDEV=y which needs to be off i.e. # CONFIG_SYS_DEVICE_NULLDEV is not set    

BTW The build is Yocto 6.12.20 and apparently there is an issue in not being able to use bitbake u-boot-imx -c menuconfig; which we can't. After fixing the KCONFIG_CONFIG_ENABLE_MENUCONFIG error the pop-up menuconfig window still fails. 

 

My actual question is where can I set CONFIG_SYS_DEVICE_NULLDEV (without using the GUI menuconfig as above)? I have tried a number of config files within tmp/work/imx7dsabresd-poky-linux-gnueabi/u-boot-imx but after compiling and deploying all the contents within the config files get overwritten.  Where is the source for these CONFIG settings? I've grep'd the entire build but cannot find a reliable file to change so the 'changes' are passed on to the autogenerated configs. 

 A number of the config files state "Automatically generated file; DO NOT EDIT." what and where are these files being generated?

 

Kind regards.

 

0 Kudos
Reply
2 Replies

36 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share for which device are you trying to enable this Config?
Also, are you looking for only building Uboot?

Best regards/Saludos,
Aldo.

0 Kudos
Reply

33 Views
edwardtyrrell
Senior Contributor I

Hi @AldoG 

It's the imx7dsabresd.

Thanks.

 

0 Kudos
Reply