]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tegra: flesh out bootcmd
authorStephen Warren <swarren@nvidia.com>
Wed, 16 May 2012 06:21:00 +0000 (06:21 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:18 +0000 (14:07 +0200)
commitbea2674ccde5a495710adef62ebd5a294752f59d
treefc251c6dd7f90d43e26dbe5884ada4d2b2975899
parent07a84b7b1905f5b7464ad5746507306733eae964
tegra: flesh out bootcmd

This implements a useful bootcmd for Tegra. The boot order is:

* If USB enabled, USB storage
* Internal MMC (SD card or eMMC)
* If networking is enabled, BOOTP/TFTP

When booting from USB or MMC, the boot script is assumed to be in
partition 1 (although this may be overridden via the rootpart variable),
both ext2 and FAT filesystems are supported, the boot script may exist
in either / or /boot, and the boot script may be named boot.scr.uimg or
boot.scr.

When booting over the network, it is assumed that boot.scr.uimg exists
on the TFTP server. There is less flexibility here since those setting
up network booting are expected to need less hand-holding.

In all cases, it is expected that the initial file loaded is a U-Boot
image containing a script that will load the kernel, load any required
initrd, load any required DTB, and finally bootm the kernel.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/harmony.h
include/configs/medcom.h
include/configs/paz00.h
include/configs/plutux.h
include/configs/seaboard.h
include/configs/tegra2-common-post.h [new file with mode: 0644]
include/configs/tegra2-common.h
include/configs/ventana.h
include/configs/whistler.h