[U-Boot-Users] Proposal for patch to configurenetwork parameters

Wolfgang Denk wd at denx.de
Sun Apr 22 22:25:23 CEST 2007


In message <462BBDF2.5080608 at freescale.com> you wrote:
>
> > No, I think you need to understand my situation.
> > I want to develop a building system which I can ship to multiple persons
> > Each person will need a customized set of environment variables.
> 
> Is there a way to build an flash-able image that contains all the 
> environment variables?  You could then take this image, write it to 
> flash, and the next time U-Boot boots, it will have the new environment 
> variables.

Yes, ther eis. There are actually many possible  solutions.

Example 1: You can put all settings you want in a  script,  create  a
script  image  from  it,  and place this in the flash sector directly
following the U-Boot image (which means you can just cat  the  images
and write them to flash in a single programming operation). Have your
default  bootcmd run this script using the autoscr command. Note that
the script can then also define a new bootcmd setting.

Example 2: You can put your U-Boot environment in the flash sector(s)
directly following the U-Boot image ...

Etc.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Heavier than air flying machines are impossible.
                    -- Lord Kelvin, President, Royal Society, c. 1895




More information about the U-Boot mailing list