IMX6 u-boot argument overwriting

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

IMX6 u-boot argument overwriting

Jump to solution
1,436 Views
jasonl
Contributor II

Hello there,

I am making a custom image with ext4 format. However, the default u-boot argument in the emmc is: "sdargs rootfstype=ext3". Is there anyway can overwrite the u-boot argument from sd card like the uEnv.txt, but not touching the u-boot?

Thanks,

Jason

Labels (2)
0 Kudos
1 Solution
1,022 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may add  / modify U-boot boot environment variables, using U-boot command setenv.

Please look at "i.MX_Linux_User's_Guide.pdf" in NXP Linux documentation for examples.

https://www.nxp.com/webapp/Download?colCode=L4.9.11_1.0.0_LINUX_DOCS 

i.MX 6 / i.MX 7 Series Software and Development Tool|NXP 

Have a great day,
Yuri

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

View solution in original post

0 Kudos
1 Reply
1,023 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may add  / modify U-boot boot environment variables, using U-boot command setenv.

Please look at "i.MX_Linux_User's_Guide.pdf" in NXP Linux documentation for examples.

https://www.nxp.com/webapp/Download?colCode=L4.9.11_1.0.0_LINUX_DOCS 

i.MX 6 / i.MX 7 Series Software and Development Tool|NXP 

Have a great day,
Yuri

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

0 Kudos