[openwrt/openwrt] uboot-mvebu: update to v2020.10-rc4

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 18 16:41:53 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ae2e521b34ca3504e7f32898dcd7e1c71707d206

commit ae2e521b34ca3504e7f32898dcd7e1c71707d206
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Wed Aug 19 17:54:58 2020 +0200

    uboot-mvebu: update to v2020.10-rc4
    
    TODO: switch to release v2020.10 once released.
    
    Remove one merged patch, refresh the rest.
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 package/boot/uboot-mvebu/Makefile                  |  4 +-
 .../100-add_support_for_macronix_mx25u12835f.patch |  4 +-
 ...bu_armada-37xx.h_increase_max_gunzip_size.patch |  2 +-
 .../patches/210-link-libcrypto-static.patch        |  8 ++--
 ...DPU-switch-default-PHY-speed-to-3.125Gbit.patch | 43 ----------------------
 5 files changed, 9 insertions(+), 52 deletions(-)

diff --git a/package/boot/uboot-mvebu/Makefile b/package/boot/uboot-mvebu/Makefile
index 6a1cd3379e..8db3c1272d 100644
--- a/package/boot/uboot-mvebu/Makefile
+++ b/package/boot/uboot-mvebu/Makefile
@@ -8,10 +8,10 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
-PKG_VERSION:=2019.04
+PKG_VERSION:=2020.10-rc4
 PKG_RELEASE:=1
 
-PKG_HASH:=76b7772d156b3ddd7644c8a1736081e55b78828537ff714065d21dbade229bef
+PKG_HASH:=0a7bdd2c7df2c14daf2730fcf3277fd917aadfaae935529e29c7412314bbf260
 
 include $(INCLUDE_DIR)/u-boot.mk
 include $(INCLUDE_DIR)/package.mk
diff --git a/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch b/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch
index 79b1b66e76..f1a292694d 100644
--- a/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch
+++ b/package/boot/uboot-mvebu/patches/100-add_support_for_macronix_mx25u12835f.patch
@@ -1,7 +1,7 @@
 --- a/drivers/mtd/spi/spi-nor-ids.c
 +++ b/drivers/mtd/spi/spi-nor-ids.c
-@@ -136,6 +136,7 @@ const struct flash_info spi_nor_ids[] =
- 	{ INFO("mx25u1635e",  0xc22535, 0, 64 * 1024,  32, SECT_4K) },
+@@ -151,6 +151,7 @@ const struct flash_info spi_nor_ids[] =
+ 	{ INFO("mx25u3235f",  0xc22536, 0, 4 * 1024,  1024, SECT_4K) },
  	{ INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
  	{ INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) },
 +	{ INFO("mx25u12835f", 0xc22538, 0, 64 * 1024, 256, SECT_4K) },
diff --git a/package/boot/uboot-mvebu/patches/120-mvebu_armada-37xx.h_increase_max_gunzip_size.patch b/package/boot/uboot-mvebu/patches/120-mvebu_armada-37xx.h_increase_max_gunzip_size.patch
index 580270a70f..c543e5126a 100644
--- a/package/boot/uboot-mvebu/patches/120-mvebu_armada-37xx.h_increase_max_gunzip_size.patch
+++ b/package/boot/uboot-mvebu/patches/120-mvebu_armada-37xx.h_increase_max_gunzip_size.patch
@@ -9,5 +9,5 @@ This is required in order to boot itb images.
  #define CONFIG_SYS_SDRAM_BASE	0x00000000
 +#define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */
  
- #define CONFIG_NR_DRAM_BANKS	1
+ /* auto boot */
  
diff --git a/package/boot/uboot-mvebu/patches/210-link-libcrypto-static.patch b/package/boot/uboot-mvebu/patches/210-link-libcrypto-static.patch
index ee6c73f469..eb0b05e4c6 100644
--- a/package/boot/uboot-mvebu/patches/210-link-libcrypto-static.patch
+++ b/package/boot/uboot-mvebu/patches/210-link-libcrypto-static.patch
@@ -3,10 +3,10 @@ needed dependencies are added too.
 
 --- a/tools/Makefile
 +++ b/tools/Makefile
-@@ -145,7 +145,7 @@ endif
- # MXSImage needs LibSSL
- ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),)
- HOSTLOADLIBES_mkimage += \
+@@ -158,7 +158,7 @@ ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CON
+ HOSTCFLAGS_kwbimage.o += \
+ 	$(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "")
+ HOSTLDLIBS_mkimage += \
 -	$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
 +	$(shell pkg-config --libs --static libssl libcrypto 2> /dev/null || echo "-lssl -lpthread -lcrypto")
  
diff --git a/package/boot/uboot-mvebu/patches/220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch b/package/boot/uboot-mvebu/patches/220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch
deleted file mode 100644
index 0e10b2c767..0000000000
--- a/package/boot/uboot-mvebu/patches/220-arm-dts-uDPU-switch-default-PHY-speed-to-3.125Gbit.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/arch/arm/dts/armada-3720-uDPU.dts
-+++ b/arch/arm/dts/armada-3720-uDPU.dts
-@@ -109,11 +109,11 @@
- &comphy {
- 	phy0 {
- 		phy-type = <PHY_TYPE_SGMII1>;
--		phy-speed = <PHY_SPEED_1_25G>;
-+		phy-speed = <PHY_SPEED_3_125G>;
- 	};
-         phy1 {
-                 phy-type = <PHY_TYPE_SGMII0>;
--                phy-speed = <PHY_SPEED_1_25G>;
-+                phy-speed = <PHY_SPEED_3_125G>;
-         };
- 
-         phy2 {
-@@ -125,22 +125,16 @@
- &eth0 {
- 	pinctrl-0 = <&pcie_pins>;
- 	status = "okay";
--	phy-mode = "sgmii";
-+	phy-mode = "sgmii-2500";
-+	managed = "in-band-status";
- 	phy = <&ethphy0>;
--	fixed-link {
--		speed = <1000>;
--		full-duplex;
--	};
- };
- 
- &eth1 {
- 	status = "okay";
--	phy-mode = "sgmii";
-+	phy-mode = "sgmii-2500";
-+	managed = "in-band-status";
- 	phy = <&ethphy1>;
--	fixed-link {
--		speed = <1000>;
--		full-duplex;
--	};
- };
- 
- &i2c0 {



More information about the lede-commits mailing list