From 3411012c57d2c4be805b2e63b7f4fa9e911c9555 Mon Sep 17 00:00:00 2001 From: Dongming Han Date: Wed, 11 Jan 2023 15:44:11 +0800 Subject: [PATCH] s1300-emmc: add gl-metadata Signed-off-by: Dongming Han --- ...01-ipq40xx-add-support-for-gl-s1300-emmc.patch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/patches-22.03.2/0401-ipq40xx-add-support-for-gl-s1300-emmc.patch b/patches-22.03.2/0401-ipq40xx-add-support-for-gl-s1300-emmc.patch index cc0a988..5bc2698 100644 --- a/patches-22.03.2/0401-ipq40xx-add-support-for-gl-s1300-emmc.patch +++ b/patches-22.03.2/0401-ipq40xx-add-support-for-gl-s1300-emmc.patch @@ -1,6 +1,6 @@ -From fe57f2b44ee73af99177d0659ce65e6a178dcc8f Mon Sep 17 00:00:00 2001 +From 37c2155c18b34cc87e684065621008afdc41cb7c Mon Sep 17 00:00:00 2001 From: Dongming Han -Date: Mon, 9 Jan 2023 14:25:58 +0800 +Date: Wed, 11 Jan 2023 15:39:46 +0800 Subject: [PATCH] ipq40xx: add support for gl-s1300-emmc Signed-off-by: Dongming Han @@ -9,9 +9,9 @@ Signed-off-by: Dongming Han .../ipq40xx/base-files/etc/board.d/02_network | 9 + .../base-files/lib/upgrade/platform.sh | 2 + .../boot/dts/qcom-ipq4029-gl-s1300-emmc.dts | 412 ++++++++++++++++++ - target/linux/ipq40xx/image/generic.mk | 28 ++ + target/linux/ipq40xx/image/generic.mk | 29 ++ .../901-arm-boot-add-dts-files.patch | 3 +- - 6 files changed, 460 insertions(+), 2 deletions(-) + 6 files changed, 461 insertions(+), 2 deletions(-) create mode 100644 target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-s1300-emmc.dts diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds @@ -509,7 +509,7 @@ index 0000000000..1ba67cdea0 + qcom,ath10k-calibration-variant = "GL-S1300-EMMC"; +}; diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk -index cf89409b17..03b03e7e3c 100644 +index cf89409b17..3637c50e08 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -106,6 +106,17 @@ define Build/qsdk-ipq-app-gpt @@ -530,7 +530,7 @@ index cf89409b17..03b03e7e3c 100644 define Build/SenaoFW -$(STAGING_DIR_HOST)/bin/mksenaofw \ -n $(BOARD_NAME) -r $(VENDOR_ID) -p $(1) \ -@@ -587,6 +598,23 @@ define Device/glinet_gl-b2200 +@@ -587,6 +598,24 @@ define Device/glinet_gl-b2200 endef TARGET_DEVICES += glinet_gl-b2200 @@ -544,7 +544,8 @@ index cf89409b17..03b03e7e3c 100644 + IMAGES := emmc.img sysupgrade.tar + IMAGE/emmc.img := qsdk-ipq-app-gpt2 |\ + pad-to 17k | append-kernel |\ -+ pad-to 32785k | append-rootfs ++ pad-to 32785k | append-rootfs |\ ++ append-gl-metadata + IMAGE/sysupgrade.tar := sysupgrade-tar | append-gl-metadata + DEVICE_PACKAGES := ipq-wifi-glinet_gl-s1300 \ + kmod-fs-ext4 kmod-mmc kmod-spi-dev mkf2fs e2fsprogs kmod-fs-f2fs