IMX6 u-boot argument overwriting

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

IMX6 u-boot argument overwriting

跳至解决方案
2,133 次查看
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

标签 (2)
0 项奖励
回复
1 解答
1,719 次查看
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 项奖励
回复
1 回复
1,720 次查看
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 项奖励
回复