aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-kirkwood/patches/110-dockstar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-kirkwood/patches/110-dockstar.patch')
-rw-r--r--package/boot/uboot-kirkwood/patches/110-dockstar.patch19
1 files changed, 10 insertions, 9 deletions
diff --git a/package/boot/uboot-kirkwood/patches/110-dockstar.patch b/package/boot/uboot-kirkwood/patches/110-dockstar.patch
index 07d65de174..46b838f30b 100644
--- a/package/boot/uboot-kirkwood/patches/110-dockstar.patch
+++ b/package/boot/uboot-kirkwood/patches/110-dockstar.patch
@@ -1,14 +1,14 @@
--- a/include/configs/dockstar.h
+++ b/include/configs/dockstar.h
-@@ -31,6 +31,7 @@
- * Commands configuration
- */
- #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
+@@ -19,6 +19,7 @@
+ #define CONFIG_KW88F6281 1 /* SOC Name */
+ #define CONFIG_MACH_DOCKSTAR /* Machine type */
+ #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
+#define CONFIG_SYS_MVFS
- #define CONFIG_CMD_ENV
- #define CONFIG_CMD_NAND
+
/*
-@@ -53,29 +54,29 @@
+ * Commands configuration
+@@ -45,29 +46,29 @@
* it has to be rounded to sector size
*/
#define CONFIG_ENV_SIZE 0x20000 /* 128k */
@@ -26,11 +26,12 @@
- "ubifsload 0x800000 ${kernel}; " \
- "ubifsload 0x1100000 ${initrd}; " \
- "bootm 0x800000 0x1100000"
+-
+-#define CONFIG_MTDPARTS "mtdparts=orion_nand:1m(uboot),-(root)\0"
+ "ubi part ubi; " \
+ "ubi read 0x800000 kernel; " \
+ "bootm 0x800000"
-
--#define CONFIG_MTDPARTS "mtdparts=orion_nand:1m(uboot),-(root)\0"
++
+#define CONFIG_MTDPARTS \
+ "mtdparts=orion_nand:" \
+ "0xe0000@0x0(uboot)," \