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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

91 次查看
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 项奖励
回复
2 回复数

51 次查看
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 项奖励
回复

48 次查看
edwardtyrrell
Senior Contributor I

Hi @AldoG 

It's the imx7dsabresd.

Thanks.

 

0 项奖励
回复