Building uboot with environment variables preset in buildroot

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

Building uboot with environment variables preset in buildroot

2,628 次查看
czur
Contributor III

Hi All,

This is related to presetting the uboot environment variable rather than having to go in to uboot prompt and changing the environment. 

I have built uboot for imx6sx board using the config mx6sxsabresd, I see that the default dtb file used by it is set "imx6sx-sdb", I wanted to change this to "imx6sx-sdb-lcdif1", apart from this I also want to change mmcargs to configure by display driver. how do I do this in buildroot environment?

Thanks for the input.

0 项奖励
回复
1 回复

2,206 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Arun Kamath,

Uboot performs a detection of the board to select the appropriate device tree. However, you can set the device tree you want to use as part of the boot arguments:

setenv fdt_file <DEVICE TREE>

You can find more details on how to setup the boot arguments for different configurations on the i.MX Linux User’s Guide, which is available as part of the BSP documentation.

I hope this helps!

Regards,

0 项奖励
回复