From: Wolfgang Denk Date: Mon, 05 Aug 2013 07:29:33 +0200 Subject: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank In-Reply-To: References: <1374786812-32303-1-git-send-email-dgilmore@fedoraproject.org> <51FA221D.5090006@denx.de> <51FA9891.9040000@gmail.com> <51FB786E.4010908@denx.de> Message-ID: <20130805052933.59F9B380495@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 Rob Herring, In message 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 ? > > I definitely agree that we should move this out of C code and support > standalone text files as input. IIRC, CONFIG_EXTRA_ENV_SETTINGS is > replaced by any separate environment. I think it also needs to support > being merged with a separate environment. Why would you ever want to compile this into U-Boot at all? Then any changes you need to make mean compiling and installing a new U-Boot, which is something you normally don't want to do. U-Boot is perfectly able to import such settings from text files (or text blobs stored somewhere, even attached to the U-Boot image, if you want), so just use the text files separately, instead of hard compiling them into the code. 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 If something is different, it's either better or worse, and usually both. - Larry Wall