diff mbox

[LEDE-DEV] package/boot/uboot-kirkwood: fix default bootcmd for Seagate Dockstar

Message ID trinity-e05deef1-9cf6-4038-8f34-358cb28fcba1-1477382245954@3capp-gmx-bs50
State Accepted
Headers show

Commit Message

p.wassi@gmx.at Oct. 25, 2016, 7:57 a.m. UTC
From: Paul Wassi <p.wassi@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@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 mbox

Patch

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 \