Building uboot with environment variables preset in buildroot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Building uboot with environment variables preset in buildroot

1,816件の閲覧回数
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 返信

1,394件の閲覧回数
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 件の賞賛
返信