RE: [U-Boot-Users] Editing u-boot parameters from Linux using MTD

Has anybody converted the environment code from u-boot into a Linux application that can change the u-boot parameters through the MTD layer?
We are using two busybox applets: setenv and printenv
I have attached two files that do all the real work. These files could be converted into stand alone application.
------------------\----------------------\---------------------------- Jon Diekema | | Smiths Aerospace (616) 241-8310 | | 3290 Patterson Avenue, SE jon.diekema@smiths-aerospace.com \ Grand Rapids, MI 49512
****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ******************************************

In message BC1D6832B887974A8A4BE71B8E34E051D24573@cossmgmbx03.email.corp.tld you wrote:
Linux application that can change the u-boot parameters through the MTD layer?
We are using two busybox applets: setenv and printenv
That's the old stuff from our SELF package.
I have attached two files that do all the real work. These files could be converted into stand alone application.
The new stuff in tools/env is IMHO better, as more flexible (run-time configurable, includes support for redundand environment sectors, etc.)
Best regards,
Wolfgang Denk
participants (2)
-
Diekema, Jon (AGRE)
-
Wolfgang Denk