It's not working to modify configs/mx6dlsabresd_defconfig in u-boot-imx

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

It's not working to modify configs/mx6dlsabresd_defconfig in u-boot-imx

2,548 Views
wangtsungli
Contributor IV

Hi Community,

I'm using Yocto Project to build my image.

My platform is i.MX6 Dual Lite sabre-SD.

I tried to modify .cfg file to match my new ROM as below.

CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/CustomizeROM.cfg,MX6DL,SYS_USE_SPINOR"
CONFIG_ARM=y
CONFIG_TARGET_MX6SABRESD=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SYS_MALLOC_F_LEN=0x400
CONFIG_DM=y
CONFIG_DM_THERMAL=y

But after I "bitbake -C compile u-boot-imx", the .config file which located under git/mx6dlsabresd_config/ still not changing.

Why is this happening?

Did I miss anything?

Labels (5)
0 Kudos
Reply
2 Replies

2,274 Views
igorpadykov
NXP Employee
NXP Employee

Hi tsung

for uboot porting one can use Chapter 3 Porting U-Boot attached Porting Guide.

Could you clarify meaning "my new ROM", why uboot should be changed for it.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,274 Views
wangtsungli
Contributor IV

According to my hardware designed, we use different DDR.

So we need to tune a new parameter for my board and create a new cfg file.

After I "bitbake u-boot-imx", it will generate .config file under "u-boot-imx/XXX/git/mx6dlsabresd_config".

I tried to modify mx6dlsabresd_defconfig to change the cfg file to the one that I tuned.

However, it still generates the old .config under "u-boot-imx/XXX/git/mx6dlsabresd_config".

I think Chapter 3 did not help me solve the problem.

My main point is how can I regenerate the .config while I "bitbake u-boot-imx"?

Do I need to execute any command like distclean before I run "bitbake u-boot-imx"?

I tried to run "make distclean" and "make mrproper".

After these two commands are done, I run "bitbake -C compile u-boot-imx" to rebuild my uboot.

Fortunately, its success to generate the new .config file.

The content of .config is as below.

pastedImage_1.png

I finally succeeded to redirect the cfg file.

But what I concerned is the way that I regenerate the file is not formal.

I rather use bitbake command to be done all the process.

What parameter I should take after bitbake command?

0 Kudos
Reply