[U-Boot] [PATCH 2/2] lsxl: rework boot scripts

Tom Rini trini at ti.com
Wed Mar 12 22:32:34 CET 2014


On Wed, Mar 12, 2014 at 07:42:54PM +0100, Michael Walle wrote:

> Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb
> blob loading to all existing boot scripts, dtb filenames were taken from
> vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads
> a kernel and a ramdisk. Make this the default boot script. This should also
> restore the behaviour of the original bootloader.

How much memory do these platforms have?  Having just spent a bunch of
time issues about where to load what on TI platforms, I'm a little
worried about some of the locations:

> +	"kernel_addr=0x00100000\0"					\

Below 32MB which isn't optimal.

> +	"ramdisk_addr=0x00800000\0"					\
> +	"fdt_addr=0x007f0000\0"						\

This doesn't leave a whole lot of space for the kernel before
overwriting either of these.

> +	"bootcmd_legacy=ide reset "					\
> +		"&& ext2load ide ${hdpart} ${kernel_addr} "		\

Add CONFIG_CMD_FS_GENERIC and just 'load' here and elsewhere (incl
fatload).

-- 
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/20140312/bb444222/attachment.pgp>


More information about the U-Boot mailing list