Building uboot with environment variables preset in buildroot

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

Building uboot with environment variables preset in buildroot

1,864 Views
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 Kudos
Reply
1 Reply

1,442 Views
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 Kudos
Reply