[U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

Tom Rini trini at ti.com
Tue Aug 6 23:42:31 CEST 2013


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: <http://lists.denx.de/pipermail/u-boot/attachments/20130806/adba832c/attachment.pgp>


More information about the U-Boot mailing list