From: Ulf Samuelsson Date: Sun, 22 Apr 2007 23:27:17 +0200 Subject: [U-Boot-Users] Proposal for patch to configurenetwork parameters References: <20070420231212.14A98352650@atlas.denx.de> <02d201c783a5$a2a65240$01c4af0a@Glamdring> <462BBDF2.5080608@freescale.com> Message-ID: <002601c78525$41ecf180$01c4af0a@Glamdring> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Ulf Samuelsson 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. > > (Frankly, though, I'm also having a hard time understanding what Ulf is > saying). > Yes, I have a command "defenv" which will reinitialize a board to "factory default" environment.. One of the environment variables "config" is a command which will download a board specific configuration script "autoscript." from the server and run it using "autoscr". . The board specific configuration can contain the real ethernet MAC address and other stuff, but the default environment .must set a prelmininary ethernet address to allow the server communication to be set up. Best Regards Ulf Samuelsson