1 --- a/include/configs/iconnect.h
2 +++ b/include/configs/iconnect.h
4 #define CONFIG_ENV_SECT_SIZE 0x20000
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; " \
16 - "ubifsmount ubi:rootfs; " \
17 - "ubifsload 0x800000 ${kernel}; " \
19 + "ubi read 0x800000 kernel; " \
22 #define CONFIG_MTDPARTS \
23 - "mtdparts=orion_nand:" \
24 - "0x80000@0x0(uboot)," \
25 - "0x20000@0x80000(uboot_env)," \
26 - "-@0xa0000(rootfs)\0"
27 + "mtdparts=orion_nand:" \
28 + "0xe0000@0x0(uboot)," \
29 + "0x20000@0xe0000(uboot_env)," \
30 + "0x100000@0x100000(second_stage_uboot)," \
33 #define CONFIG_EXTRA_ENV_SETTINGS \
34 "console=console=ttyS0,115200\0" \
35 "mtdids=nand0=orion_nand\0" \
36 "mtdparts="CONFIG_MTDPARTS \
37 - "kernel=/boot/uImage\0" \
38 - "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
42 * Ethernet driver configuration
43 --- a/configs/iconnect_defconfig
44 +++ b/configs/iconnect_defconfig
45 @@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="iconnect => "
48 # CONFIG_CMD_SETEXPR is not set