2016-10-26 09:14:47 +00:00
|
|
|
--- a/include/configs/goflexhome.h
|
|
|
|
+++ b/include/configs/goflexhome.h
|
2018-03-13 16:25:20 +00:00
|
|
|
@@ -69,17 +69,15 @@
|
2016-03-14 17:06:16 +00:00
|
|
|
*/
|
|
|
|
#define CONFIG_BOOTCOMMAND \
|
|
|
|
"setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
|
|
|
|
- "ubi part root; " \
|
|
|
|
- "ubifsmount ubi:root; " \
|
|
|
|
- "ubifsload 0x800000 ${kernel}; " \
|
2016-10-26 09:14:47 +00:00
|
|
|
+ "ubi part ubi; " \
|
|
|
|
+ "ubi read 0x800000 kernel; " \
|
2017-10-11 17:19:06 +00:00
|
|
|
"bootm 0x800000"
|
2016-03-14 17:06:16 +00:00
|
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
|
|
"console=console=ttyS0,115200\0" \
|
|
|
|
"mtdids=nand0=orion_nand\0" \
|
2018-03-13 16:25:20 +00:00
|
|
|
"mtdparts="CONFIG_MTDPARTS_DEFAULT \
|
2016-03-14 17:06:16 +00:00
|
|
|
- "kernel=/boot/uImage\0" \
|
|
|
|
- "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
|
|
|
|
+ "bootargs_root=\0"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Ethernet Driver configuration
|
2018-03-13 16:25:20 +00:00
|
|
|
--- a/configs/goflexhome_defconfig
|
|
|
|
+++ b/configs/goflexhome_defconfig
|
|
|
|
@@ -21,7 +21,7 @@ CONFIG_CMD_EXT4=y
|
|
|
|
CONFIG_CMD_FAT=y
|
|
|
|
CONFIG_CMD_JFFS2=y
|
|
|
|
CONFIG_MTDIDS_DEFAULT="nand0=orion_nand"
|
|
|
|
-CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:1m(uboot),6M(uImage),-(root)"
|
|
|
|
+CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:1m(uboot),255m(ubi)"
|
|
|
|
CONFIG_CMD_UBI=y
|
|
|
|
CONFIG_ISO_PARTITION=y
|
|
|
|
CONFIG_ENV_IS_IN_NAND=y
|