fw_setenv is not working

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

fw_setenv is not working

2,305 次查看
karthikeyanraju
Contributor III

Hello All,

 

I am using sabre-sd board and imx6q yocto bsp. I am trying to set environment from user space. I have generated fw_printenv and fw_setenv. fw_printenv is working perfectly.

 

I can able to set environment using fw_setenv and i can able to view it using fw_printenv from userspace.

But my problem is that, if i reboot the board I cant get the changed environments done from user space.

 

I have tried this commands also,

 

echo 0 > /sys/block/mmcblk2/force_ro

echo 1 > /sys/block/mmcblk2/force_ro

 

I have enclosed my patch files also.

Need Help to resolve this issue.

Thank you.

Original Attachment has been moved to: env_config.patch.zip

Original Attachment has been moved to: env.patch.zip

标记 (3)
0 项奖励
回复
2 回复数

1,226 次查看
dave_bush
Contributor I

I am having the same issue ... has anyone come up with a solve for this?

0 项奖励
回复

1,226 次查看
igorpadykov
NXP Employee
NXP Employee

Hi  Karthikeyan

please check

fw_printenv and fw_setenv [ANSWERED] - Variscite Forums 

Boot flash access from Linux - Boundary Devices 

i.MX6 Linux: fw_printenv/fw_setenv problems 

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

0 项奖励
回复