From: Wolfgang Denk Date: Sun, 04 Aug 2013 21:53:31 +0200 Subject: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank In-Reply-To: <51FB786E.4010908@denx.de> References: <1374786812-32303-1-git-send-email-dgilmore@fedoraproject.org> <51FA221D.5090006@denx.de> <51FA9891.9040000@gmail.com> <51FB786E.4010908@denx.de> Message-ID: <20130804195331.26B69380480@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 Dear Stefano, In message <51FB786E.4010908@denx.de> you wrote: > > Maybe can be mkenvimage a solution (tools/mkenvimage) ? It creates an > environment image from a simple ASCII text. The resulting image could be > concatenated together with u-boot and in CONFIG_EXTRA_ENV_SETTINGS we > could have for all boards a way to load it. Only a first idea, but as we > recognize the issue, any idea to solve it ? There is a ton of options, all way better than hardcoding any such settings into the common default environment - "env import" allows to easily import variable settings in a number of formats (including plain text), so you can just dedicate some storage speace, either on a raw device (like an address / offset range in NOR / NAND flash, or some sectors on a block device, or a file in a file system, or whatever. We never should extend the default environment into such a pile of stuff. 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 I am not now, nor have I ever been, a member of the demigodic party. -- Dennis Ritchie