aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorAlberto Bursi <alberto.bursi@outlook.it>2017-02-06 08:08:26 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-09 12:26:48 +0100
commita9d347c11c34e48d17e1a4902a56d1f2f577bfab (patch)
tree735df4bafa63c7601e5145abc98fa69076908c55 /package/boot
parenta6ef5933f818a9598209968cb772810e36a320f4 (diff)
downloadupstream-a9d347c11c34e48d17e1a4902a56d1f2f577bfab.tar.gz
upstream-a9d347c11c34e48d17e1a4902a56d1f2f577bfab.tar.bz2
upstream-a9d347c11c34e48d17e1a4902a56d1f2f577bfab.zip
uboot-kirkwood: fix goflexhome/net bootcommand
Goflexhome/net use uImage, and to boot an uImage the u-boot must use bootm command, not bootz. Fixes the "i cannot boot LEDE with this u-boot" issue that I found out myself with my goflexnet. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-kirkwood/patches/150-goflexhome.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-kirkwood/patches/150-goflexhome.patch b/package/boot/uboot-kirkwood/patches/150-goflexhome.patch
index 7f66eb93d5..46a6ab561f 100644
--- a/package/boot/uboot-kirkwood/patches/150-goflexhome.patch
+++ b/package/boot/uboot-kirkwood/patches/150-goflexhome.patch
@@ -10,7 +10,7 @@
- "bootm 0x800000"
+ "ubi part ubi; " \
+ "ubi read 0x800000 kernel; " \
-+ "bootz 0x800000"
++ "bootm 0x800000"
#define CONFIG_MTDPARTS \
- "mtdparts=orion_nand:1m(uboot),6M(uImage),-(root)\0"