summaryrefslogtreecommitdiff
path: root/package/boot
diff options
context:
space:
mode:
authorAlberto Bursi <alberto.bursi@outlook.it>2017-02-06 08:08:26 +0100
committerJo-Philipp Wich <jo@mein.io>2017-02-19 21:00:19 +0100
commit4d1ab84f1e3b69575eb1c52dfe0defb5375ddb4f (patch)
treeacdcc86c8b0c40f737e5c88845d99dbc29227c98 /package/boot
parentcdeb2322eab605639f1545a2eee0625424cedf03 (diff)
downloadmtk-20170518-4d1ab84f1e3b69575eb1c52dfe0defb5375ddb4f.zip
mtk-20170518-4d1ab84f1e3b69575eb1c52dfe0defb5375ddb4f.tar.gz
mtk-20170518-4d1ab84f1e3b69575eb1c52dfe0defb5375ddb4f.tar.bz2
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 7f66eb9..46a6ab5 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"