Handling of environment settings
Until now, custom environment settings were just defined in the board config file. All that had to be done is to edit the file, recompile the u-boot and flash it to the target.
Now, however, this approach is not longer acceptable. This means, that environment must be either set manually on the target or maintained and flashed as a separate blob, which is considerably less convenient.
So, two question here:
1. Is there a tool already which takes an environment description in some form and produces a flashable blob?
2. If not, is there some extra include file which is considered volatile and can hold user-defined environment settings?
Dear Alex Dubov,
Quoted 4 lines · In message <[email protected]> you wrote:
Until now, custom environment settings were just defined in the board config file. All that had to be done is to edit the file, recompile the u-boot and flash it to the target.
Sounds a bit cumbersome...
Quoted 3 lines
Now, however, this approach is not longer acceptable. This means, that environment must be either set manually on the target or maintained and flashed as a separate blob, which is considerably less convenient.
either ... or ...? There are many alternative approaches.
Quoted 3 lines
So, two question here:
1. Is there a tool already which takes an environment description in some form and produces a flashable blob?
Yes, several, actually.
If you insist on a binary blob, tools/envcrc has a --binary option to export the embedded environment as a binary blob.
However, I'd recommend to put your environment settings into a text file and create a script file from it, which you can then load and run on the target.
Quoted 2 lines
2. If not, is there some extra include file which is considered volatile and can hold user-defined environment settings?
No.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Minds are like parachutes - they only function when open.