netifd: add flow steering mode to the packet steering script
[openwrt/openwrt.git] / package / boot / uboot-kirkwood / patches / 130-ib62x0.patch
1 --- a/include/configs/ib62x0.h
2 +++ b/include/configs/ib62x0.h
3 @@ -39,21 +39,15 @@
4 */
5 #define CONFIG_BOOTCOMMAND \
6 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
7 - "ubi part root; " \
8 - "ubifsmount ubi:rootfs; " \
9 - "ubifsload 0x800000 ${kernel}; " \
10 - "ubifsload 0x700000 ${fdt}; " \
11 - "ubifsumount; " \
12 - "fdt addr 0x700000; fdt resize; fdt chosen; " \
13 - "bootz 0x800000 - 0x700000"
14 + "ubi part ubi; " \
15 + "ubi read 0x800000 kernel; " \
16 + "bootm 0x800000"
17
18 #define CONFIG_EXTRA_ENV_SETTINGS \
19 "console=console=ttyS0,115200\0" \
20 "mtdids=nand0=orion_nand\0" \
21 - "mtdparts="CONFIG_MTDPARTS_DEFAULT \
22 - "kernel=/boot/zImage\0" \
23 - "fdt=/boot/ib62x0.dtb\0" \
24 - "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
25 + "mtdparts="CONFIG_MTDPARTS_DEFAULT "\0" \
26 + "bootargs_root=\0"
27
28 /*
29 * Ethernet driver configuration
30 --- a/configs/ib62x0_defconfig
31 +++ b/configs/ib62x0_defconfig
32 @@ -26,7 +26,7 @@ CONFIG_CMD_EXT2=y
33 CONFIG_CMD_FAT=y
34 CONFIG_CMD_JFFS2=y
35 CONFIG_CMD_MTDPARTS=y
36 -CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),-@0x100000(root)"
37 +CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:0xe0000@0x0(uboot),0x20000@0xe0000(uboot_env),0x100000@0x100000(second_stage_uboot),-@0x200000(ubi)"
38 CONFIG_CMD_UBI=y
39 CONFIG_ISO_PARTITION=y
40 CONFIG_OF_CONTROL=y