[OpenWrt-Devel] [PATCH] uboot-imx6: bump to 2020.04 release
Petr Štetiar
ynezz at true.cz
Tue Apr 14 17:53:03 EDT 2020
Refreshed all patches, run tested on apalis.
Cc: Vladimir Vid <vladimir.vid at sartura.hr>
Cc: Tim Harvey <tharvey at gateworks.com>
Cc: Koen Vandeputte <koen.vandeputte at ncentric.com>
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
package/boot/uboot-imx6/Makefile | 4 ++--
...is_imx6_defconfig-enable-some-useful-commands.patch | 6 ++----
.../patches/110-mx6cuboxi-mmc-fallback.patch | 4 ++--
.../111-mx6cuboxi_defconfig-force-mmc-boot.patch | 10 +++++-----
4 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/package/boot/uboot-imx6/Makefile b/package/boot/uboot-imx6/Makefile
index 3f6bb1c5de10..79acd4abf742 100644
--- a/package/boot/uboot-imx6/Makefile
+++ b/package/boot/uboot-imx6/Makefile
@@ -7,10 +7,10 @@
include $(TOPDIR)/rules.mk
-PKG_VERSION:=2020.01
+PKG_VERSION:=2020.04
PKG_RELEASE:=1
-PKG_HASH:=aa453c603208b1b27bd03525775a7f79b443adec577fdc6e8f06974025a135f1
+PKG_HASH:=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk
diff --git a/package/boot/uboot-imx6/patches/0001-apalis_imx6_defconfig-enable-some-useful-commands.patch b/package/boot/uboot-imx6/patches/0001-apalis_imx6_defconfig-enable-some-useful-commands.patch
index 18ad2d66d326..10ed918e7734 100644
--- a/package/boot/uboot-imx6/patches/0001-apalis_imx6_defconfig-enable-some-useful-commands.patch
+++ b/package/boot/uboot-imx6/patches/0001-apalis_imx6_defconfig-enable-some-useful-commands.patch
@@ -14,11 +14,9 @@ Signed-off-by: Petr Štetiar <ynezz at true.cz>
configs/apalis_imx6_defconfig | 5 +++++
1 file changed, 5 insertions(+)
-diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig
-index 0d11ab53d663..bbb3ec1aa554 100644
--- a/configs/apalis_imx6_defconfig
+++ b/configs/apalis_imx6_defconfig
-@@ -43,6 +43,7 @@ CONFIG_CMD_GPIO=y
+@@ -44,6 +44,7 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_GPT=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
@@ -26,7 +24,7 @@ index 0d11ab53d663..bbb3ec1aa554 100644
CONFIG_CMD_USB=y
CONFIG_CMD_USB_SDP=y
CONFIG_CMD_USB_MASS_STORAGE=y
-@@ -52,6 +53,10 @@ CONFIG_CMD_PMIC=y
+@@ -53,6 +54,10 @@ CONFIG_CMD_PMIC=y
CONFIG_CMD_REGULATOR=y
CONFIG_OF_CONTROL=y
CONFIG_DEFAULT_DEVICE_TREE="imx6-apalis"
diff --git a/package/boot/uboot-imx6/patches/110-mx6cuboxi-mmc-fallback.patch b/package/boot/uboot-imx6/patches/110-mx6cuboxi-mmc-fallback.patch
index 111e1b980918..9d490ddf7ea8 100644
--- a/package/boot/uboot-imx6/patches/110-mx6cuboxi-mmc-fallback.patch
+++ b/package/boot/uboot-imx6/patches/110-mx6cuboxi-mmc-fallback.patch
@@ -1,7 +1,7 @@
--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
-@@ -292,6 +292,12 @@ static void setup_iomux_enet(void)
- udelay(100);
+@@ -286,6 +286,12 @@ static void setup_iomux_enet(void)
+ gpio_free_list_nodev(&desc, 1);
}
+void board_boot_order(u32 *spl_boot_list)
diff --git a/package/boot/uboot-imx6/patches/111-mx6cuboxi_defconfig-force-mmc-boot.patch b/package/boot/uboot-imx6/patches/111-mx6cuboxi_defconfig-force-mmc-boot.patch
index 19b73e3c9f5d..4c3dc4ce20e8 100644
--- a/package/boot/uboot-imx6/patches/111-mx6cuboxi_defconfig-force-mmc-boot.patch
+++ b/package/boot/uboot-imx6/patches/111-mx6cuboxi_defconfig-force-mmc-boot.patch
@@ -13,11 +13,11 @@ Signed-off-by: Petr Štetiar <ynezz at true.cz>
--- a/configs/mx6cuboxi_defconfig
+++ b/configs/mx6cuboxi_defconfig
-@@ -6,6 +6,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
- CONFIG_SPL_LIBGENERIC_SUPPORT=y
- CONFIG_TARGET_MX6CUBOXI=y
+@@ -9,6 +9,7 @@ CONFIG_ENV_SIZE=0x2000
+ CONFIG_ENV_OFFSET=0xFE000
+ CONFIG_DM_GPIO=y
CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_FORCE_MMC_BOOT=y
CONFIG_SPL_SERIAL_SUPPORT=y
- CONFIG_ENV_SIZE=0x2000
- CONFIG_ENV_OFFSET=0xFE000
+ CONFIG_NR_DRAM_BANKS=1
+ CONFIG_SPL=y
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list