46a6ab561f8a6be59baaa910459b8d6c16a68745
[openwrt/openwrt.git] / package / boot / uboot-kirkwood / patches / 150-goflexhome.patch
1 --- a/include/configs/goflexhome.h
2 +++ b/include/configs/goflexhome.h
3 @@ -87,20 +87,18 @@
4 */
5 #define CONFIG_BOOTCOMMAND \
6 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
7 - "ubi part root; " \
8 - "ubifsmount ubi:root; " \
9 - "ubifsload 0x800000 ${kernel}; " \
10 - "bootm 0x800000"
11 + "ubi part ubi; " \
12 + "ubi read 0x800000 kernel; " \
13 + "bootm 0x800000"
14
15 #define CONFIG_MTDPARTS \
16 - "mtdparts=orion_nand:1m(uboot),6M(uImage),-(root)\0"
17 + "mtdparts=orion_nand:1m(uboot),255m(ubi)\0"
18
19 #define CONFIG_EXTRA_ENV_SETTINGS \
20 "console=console=ttyS0,115200\0" \
21 "mtdids=nand0=orion_nand\0" \
22 "mtdparts="CONFIG_MTDPARTS \
23 - "kernel=/boot/uImage\0" \
24 - "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
25 + "bootargs_root=\0"
26
27 /*
28 * Ethernet Driver configuration