summaryrefslogtreecommitdiff
path: root/package/boot/uboot-imx6/patches
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-08-29 23:06:31 +0000
committerLuka Perkov <luka@openwrt.org>2013-08-29 23:06:31 +0000
commite29acfd8e91be431c183d87624af842f78506392 (patch)
treea93a87458ae4d6b929fdde9422dcca8c2a7e7606 /package/boot/uboot-imx6/patches
parentcdd6361649ea85092d4bd2acd6405203d0d9a0ae (diff)
downloadmtk-20170518-e29acfd8e91be431c183d87624af842f78506392.zip
mtk-20170518-e29acfd8e91be431c183d87624af842f78506392.tar.gz
mtk-20170518-e29acfd8e91be431c183d87624af842f78506392.tar.bz2
uboot-imx6: update to v2013.07
Update includes upstream support for Wandboard Quad too. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37858
Diffstat (limited to 'package/boot/uboot-imx6/patches')
-rw-r--r--package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch2
-rw-r--r--package/boot/uboot-imx6/patches/110-wandboard-owrt-env.patch (renamed from package/boot/uboot-imx6/patches/110-wandboard-owrt-env-patch)17
2 files changed, 11 insertions, 8 deletions
diff --git a/package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch b/package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch
index f4fb2c6..f847c5a 100644
--- a/package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch
+++ b/package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch
@@ -1,6 +1,6 @@
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
-@@ -206,4 +206,7 @@
+@@ -242,4 +242,7 @@
#define CONFIG_CMD_CACHE
#endif
diff --git a/package/boot/uboot-imx6/patches/110-wandboard-owrt-env-patch b/package/boot/uboot-imx6/patches/110-wandboard-owrt-env.patch
index e14f563..6869c85 100644
--- a/package/boot/uboot-imx6/patches/110-wandboard-owrt-env-patch
+++ b/package/boot/uboot-imx6/patches/110-wandboard-owrt-env.patch
@@ -1,19 +1,22 @@
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
-@@ -47,7 +47,7 @@
-
- #undef CONFIG_CMD_IMLS
+@@ -51,7 +51,7 @@
+ #define CONFIG_CMD_BMODE
+ #define CONFIG_CMD_SETEXPR
-#define CONFIG_BOOTDELAY 5
+#define CONFIG_BOOTDELAY 3
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)
-@@ -83,13 +83,15 @@
+@@ -103,15 +103,18 @@
#if defined(CONFIG_MX6DL)
#define CONFIG_DEFAULT_FDT_FILE "imx6dl-wandboard.dtb"
+#define CONFIG_OWRT_NAME "openwrt-imx6dl-wandboard-uImage.itb"
+ #elif defined(CONFIG_MX6Q)
+ #define CONFIG_DEFAULT_FDT_FILE "imx6q-wandboard.dtb"
++#define CONFIG_OWRT_NAME "openwrt-imx6q-wandboard-uImage.itb"
#elif defined(CONFIG_MX6S)
#define CONFIG_DEFAULT_FDT_FILE "imx6s-wandboard.dtb"
+#define CONFIG_OWRT_NAME "openwrt-imx6s-wandboard-uImage.itb"
@@ -26,7 +29,7 @@
"console=ttymxc0\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
-@@ -103,11 +105,11 @@
+@@ -139,11 +142,11 @@
"mmcargs=setenv bootargs console=${console},${baudrate} " \
"root=${mmcroot}\0" \
"loadbootscript=" \
@@ -41,7 +44,7 @@
"mmcboot=echo Booting from mmc ...; " \
"run mmcargs; " \
"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
-@@ -122,30 +124,6 @@
+@@ -158,30 +161,6 @@
"fi; " \
"else " \
"bootm; " \
@@ -72,7 +75,7 @@
"fi;\0"
#define CONFIG_BOOTCOMMAND \
-@@ -155,10 +133,10 @@
+@@ -191,10 +170,10 @@
"else " \
"if run loaduimage; then " \
"run mmcboot; " \