From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 18 Dec 2007 20:42:31 +0100 Subject: [U-Boot-Users] RFC: New U-boot image format In-Reply-To: Your message of "Tue, 18 Dec 2007 10:17:16 CST." <4767F28C.3030304@freescale.com> Message-ID: <20071218194231.8AADD248AC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <4767F28C.3030304@freescale.com> you wrote: > > > NAK. Using an envuironment variable is definitely not a good idea, > > and probably not sufficient. Assume the situation where you have > > "autostart" set to "yes" and use DHCP to download and start the > > image, or where you use "tftp" followed by a "bootm" command to do > > the same. In both cases there is no direct "hook" to do what you ask > > for - ther eis no sane place where the envrionment variable would be > > set (in the network code?) nor where it would be taken into account. > > If I have a plug-in for QE firmware blobs, couldn't the plug-in code just set > the environment variable anyway? What good would this do to you? If you run a "dhcp" command with autostart enabled, the image will immediately be autobooted - there will be no place for you to issue a command to do anything with your environment variable. Best regards, Wolfgang Denk -- 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 Horses just naturally have mohawk haircuts.