fw_setenv is not working

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

fw_setenv is not working

2,534件の閲覧回数
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,455件の閲覧回数
dave_bush
Contributor I

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

0 件の賞賛
返信

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