1 --- a/include/configs/iconnect.h
2 +++ b/include/configs/iconnect.h
4 #define CONFIG_ENV_IS_NOWHERE
6 #define CONFIG_ENV_SIZE 0x20000
7 -#define CONFIG_ENV_OFFSET 0x80000
8 +#define CONFIG_ENV_OFFSET 0xe0000
11 * Default environment variables
13 #define CONFIG_BOOTCOMMAND \
14 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
15 - "ubi part rootfs; " \
17 "ubifsmount ubi:rootfs; " \
18 "ubifsload 0x800000 ${kernel}; " \
20 + "ubifsload 0x700000 ${fdt}; " \
22 + "fdt addr 0x700000; fdt resize; fdt chosen; " \
23 + "bootz 0x800000 - 0x700000"
25 #define CONFIG_MTDPARTS \
26 - "mtdparts=orion_nand:" \
27 - "0x80000@0x0(uboot)," \
28 - "0x20000@0x80000(uboot_env)," \
29 - "-@0xa0000(rootfs)\0"
30 + "mtdparts=orion_nand:" \
31 + "0xe0000@0x0(uboot)," \
32 + "0x20000@0xe0000(uboot_env)," \
33 + "0x100000@0x100000(second_stage_uboot)," \
34 + "-@0x200000(root)\0"
36 #define CONFIG_EXTRA_ENV_SETTINGS \
37 "console=console=ttyS0,115200\0" \
38 "mtdids=nand0=orion_nand\0" \
39 "mtdparts="CONFIG_MTDPARTS \
40 - "kernel=/boot/uImage\0" \
41 - "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
42 + "kernel=/boot/zImage\0" \
43 + "fdt=/boot/iconnect.dtb\0" \
44 + "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
47 * Ethernet driver configuration