2014-02-15 23:53:07 +00:00
|
|
|
--- a/include/configs/ib62x0.h
|
|
|
|
+++ b/include/configs/ib62x0.h
|
2017-10-11 17:19:06 +00:00
|
|
|
@@ -49,27 +49,22 @@
|
2016-12-22 14:07:38 +00:00
|
|
|
*/
|
|
|
|
#define CONFIG_BOOTCOMMAND \
|
|
|
|
"setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
|
|
|
|
- "ubi part root; " \
|
|
|
|
- "ubifsmount ubi:rootfs; " \
|
|
|
|
- "ubifsload 0x800000 ${kernel}; " \
|
|
|
|
- "ubifsload 0x700000 ${fdt}; " \
|
|
|
|
- "ubifsumount; " \
|
|
|
|
- "fdt addr 0x700000; fdt resize; fdt chosen; " \
|
|
|
|
- "bootz 0x800000 - 0x700000"
|
|
|
|
+ "ubi part ubi; " \
|
|
|
|
+ "ubi read 0x800000 kernel; " \
|
|
|
|
+ "bootm 0x800000"
|
|
|
|
|
|
|
|
#define CONFIG_MTDPARTS \
|
2014-02-15 23:53:07 +00:00
|
|
|
"mtdparts=orion_nand:" \
|
|
|
|
"0xe0000@0x0(uboot)," \
|
|
|
|
"0x20000@0xe0000(uboot_env)," \
|
|
|
|
- "-@0x100000(root)\0"
|
|
|
|
+ "0x100000@0x100000(second_stage_uboot)," \
|
2016-12-22 14:07:38 +00:00
|
|
|
+ "-@0x200000(ubi)\0"
|
2014-02-15 23:53:07 +00:00
|
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
|
|
"console=console=ttyS0,115200\0" \
|
2016-12-22 14:07:38 +00:00
|
|
|
"mtdids=nand0=orion_nand\0" \
|
2014-02-15 23:53:07 +00:00
|
|
|
"mtdparts="CONFIG_MTDPARTS \
|
2016-12-22 14:07:38 +00:00
|
|
|
- "kernel=/boot/zImage\0" \
|
|
|
|
- "fdt=/boot/ib62x0.dtb\0" \
|
2014-02-15 23:53:07 +00:00
|
|
|
- "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
|
2016-12-22 14:07:38 +00:00
|
|
|
+ "bootargs_root=\0"
|
2014-02-15 23:53:07 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Ethernet driver configuration
|