Date:2010-05-30 16:15:38 (4 years 4 months ago)
Author:Xiangfu Liu
Commit:ff43eecc8fd4179629712d83682707fed4ea37ba
Message:[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 <xiangfu@sharism.cc>
Files: package/uboot-xburst/files/include/configs/qi_lb60.h (1 diff)

Change Details

package/uboot-xburst/files/include/configs/qi_lb60.h
66#define CONFIG_QI_LB60 1
77
88#define CONFIG_BOOTARGS "mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait"
9#define CONFIG_BOOTARGSFROMSD "mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p2 rw rootwait"
9#define CONFIG_BOOTARGSFROMSD "mem=32M console=tty0 console=ttyS0,57600n8 rootfstype=ext2 root=/dev/mmcblk0p1 rw rootwait"
1010#define CONFIG_BOOTCOMMAND "nand read 0x80600000 0x400000 0x200000;bootm"
11#define CONFIG_BOOTCOMMANDFROMSD "mmc init; fatload mmc 0 0x80600000 uImage; bootm"
11#define CONFIG_BOOTCOMMANDFROMSD "mmc init; ext2load mmc 0 0x80600000 /boot/uImage; bootm"
1212
1313/* SDRAM paramters */
1414#define SDRAM_BW16 1 /* Data bus width: 0-32bit, 1-16bit */

Archive Download the corresponding diff file



interactive