From: Tom Rini Date: Tue, 6 Aug 2013 17:42:31 -0400 Subject: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank In-Reply-To: <20130806112222.2b84df43@adria.ausil.us> References: <51FA221D.5090006@denx.de> <51FA9891.9040000@gmail.com> <51FB786E.4010908@denx.de> <20130805052933.59F9B380495@gemini.denx.de> <20130806113751.957DA380DF0@gemini.denx.de> <20130806112222.2b84df43@adria.ausil.us> Message-ID: <20130806214231.GO5164@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: [snip] > The only way I could see having us write a file to disk with the > environment working is if all boards implement standard variable to > define the memory locations and that is compiled into the u-boot binary. > > some variables that would need to be compiled in > > fdt_addr > fdt_addr_r Why two? > kernel_addr_r > ramdisk_addr_r > pxefile_addr_r > scr_addr_r > uenv_addr_r > > this should allow for for people to use boot.scr uEnv.txt or > pxe/extlinux This is what I think we need to work towards. A board opting into this standard must set CONFIG_CMD_A/B/C (or maybe we add a CONFIG_SUPPORT_GENERIC_LINUX_DISTRO that does this in one of the fallback files, whatever) and provide the following variables PLUS a, and this needs some thinking I think, auto-boot tries to load said file from ... ? We cannot provide a built-in environment that works for every distro and case, we want the distro to tell us things it knows, and we'll tell it what it can't easily know. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: