This set of boot cmds from Stephen Warren provides a simple default for booting a linux kernel and DT from mmc (eMMC or SD-Card, in that order). Tested on Seaboard w/an SD card.
Signed-off-by: Tom Warren <twar...@nvidia.com> --- V2: Use /boot.scr instead of boot.scr.uimg include/configs/tegra2-common.h | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 068ce88..a7f06d2 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -140,9 +140,15 @@ "stderr=serial\0" #define CONFIG_EXTRA_ENV_SETTINGS \ - "console=ttyS0,115200n8\0" \ - "mem=" TEGRA2_SYSMEM "\0" \ - "smpflag=smp\0" \ + "bootdelay=2\0" \ + "bootcmd=run mmc1_boot ; run mmc0_boot\0" \ + "mmc0_boot=setenv devnum 0; run mmc_boot;\0" \ + "mmc1_boot=setenv devnum 1; run mmc_boot;\0" \ + "mmc_boot=setenv devtype mmc;mmc dev ${devnum};run scr_boot;\0" \ + "scriptaddr=0x400000\0" \ + "script=/boot.scr\0" \ + "scr_boot=ext2load ${devtype} ${devnum}:1 ${scriptaddr} ${script};" \ + "source ${scriptaddr};\0" \ TEGRA2_DEVICE_SETTINGS #define CONFIG_LOADADDR 0x408000 /* def. location for kernel */ -- 1.7.0.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot