fw_setenv is not working

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

fw_setenv is not working

2,192 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

1,113 Views
dave_bush
Contributor I

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

0 Kudos

1,113 Views
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 Kudos