From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 02 Aug 2013 11:14:22 +0200 Subject: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank In-Reply-To: <51FA9891.9040000@gmail.com> References: <1374786812-32303-1-git-send-email-dgilmore@fedoraproject.org> <51FA221D.5090006@denx.de> <51FA9891.9040000@gmail.com> Message-ID: <51FB786E.4010908@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 Hi Rob, Dennis, On 01/08/2013 19:19, Rob Herring wrote: > You both are missing the point. This patch doesn't address the problem, > but does highlight it. I am aware of it - I have already pointed out that we get many patches that have increased the default environment to something hard to maintain. This patch makes it more obvious. > The distros want to get out of having to know the > u-boot environment details for every single board and need some level of > standardization across platforms. The distros should only have to > specify "boot the kernel at path/name X on device Y." They should not > need to know what address to load the kernel to, but only that > $kernel_addr_r is already setup. Variables are the first step. The > second step is standardizing the boot commands. I understand the point - but is the way to hard code together with u-boot the right way ? Do we have some other possibilities to do this ? 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 ? Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================