fw_setenv is not working

cancel
Showing results for 
Search instead for 
Did you mean: 

fw_setenv is not working

1,361 Views
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

0 Kudos
2 Replies

282 Views
dave_bush
Contributor I

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

0 Kudos

282 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos