[LEDE-DEV] [PATCH] package/boot/uboot-kirkwood: fix default bootcmd for Seagate Dockstar
p.wassi at gmx.at
p.wassi at gmx.at
Tue Oct 25 00:57:25 PDT 2016
From: Paul Wassi <p.wassi at gmx.at>
Fix the default value for the 'bootcmd' environment variable.
Therefore make the default bootcmd work for buildbot's images.
Signed-off-by: Paul Wassi <p.wassi at gmx.at>
---
The images generated for Dockstar (and probably other devices as well)
have an _uncompressed_ uImage. The bootcmd is 'bootz' at the moment (for zImage),
the device will fail to boot. Subsitute 'bootz' with 'bootm' and it will load fine.
This patch is meant to be applied to my previous patch for 2016.09.01 !
boot/uboot-kirkwood/patches/110-dockstar.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -rupN a/package/boot/uboot-kirkwood/patches/110-dockstar.patch b/package/boot/uboot-kirkwood/patches/110-dockstar.patch
--- a/package/boot/uboot-kirkwood/patches/110-dockstar.patch
+++ b/package/boot/uboot-kirkwood/patches/110-dockstar.patch
@@ -28,7 +28,7 @@
- "bootm 0x800000 0x1100000"
+ "ubi part ubi; " \
+ "ubi read 0x800000 kernel; " \
-+ "bootz 0x800000"
++ "bootm 0x800000"
-#define CONFIG_MTDPARTS "mtdparts=orion_nand:1m(uboot),-(root)\0"
+#define CONFIG_MTDPARTS \
More information about the Lede-dev
mailing list