From ff43eecc8fd4179629712d83682707fed4ea37ba Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Sun, 30 May 2010 22:15:38 +0800 Subject: [PATCH] [uboot-xburst] when boot from sd card load kernel from ext2 parition. uboot will load "/boot/uImage" in the sd card first ext2 partition. then kernel will also boot to rootfs at sd card first ext2 partition. Signed-off-by: Xiangfu Liu --- package/uboot-xburst/files/include/configs/qi_lb60.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/uboot-xburst/files/include/configs/qi_lb60.h b/package/uboot-xburst/files/include/configs/qi_lb60.h index fbb035113..00b2da417 100644 --- a/package/uboot-xburst/files/include/configs/qi_lb60.h +++ b/package/uboot-xburst/files/include/configs/qi_lb60.h @@ -6,9 +6,9 @@ #define CONFIG_QI_LB60 1 #define CONFIG_BOOTARGS "mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait" -#define CONFIG_BOOTARGSFROMSD "mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p2 rw rootwait" +#define CONFIG_BOOTARGSFROMSD "mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p1 rw rootwait" #define CONFIG_BOOTCOMMAND "nand read 0x80600000 0x400000 0x200000;bootm" -#define CONFIG_BOOTCOMMANDFROMSD "mmc init; fatload mmc 0 0x80600000 uImage; bootm" +#define CONFIG_BOOTCOMMANDFROMSD "mmc init; ext2load mmc 0 0x80600000 /boot/uImage; bootm" /* SDRAM paramters */ #define SDRAM_BW16 1 /* Data bus width: 0-32bit, 1-16bit */