mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-19 10:35:31 +00:00
s1300-emmc: add gl-metadata
Signed-off-by: Dongming Han <handongming@gl-inet.com>
This commit is contained in:
parent
fa5a8c301e
commit
3411012c57
@ -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 <handongming@gl-inet.com>
|
From: Dongming Han <handongming@gl-inet.com>
|
||||||
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
|
Subject: [PATCH] ipq40xx: add support for gl-s1300-emmc
|
||||||
|
|
||||||
Signed-off-by: Dongming Han <handongming@gl-inet.com>
|
Signed-off-by: Dongming Han <handongming@gl-inet.com>
|
||||||
@ -9,9 +9,9 @@ Signed-off-by: Dongming Han <handongming@gl-inet.com>
|
|||||||
.../ipq40xx/base-files/etc/board.d/02_network | 9 +
|
.../ipq40xx/base-files/etc/board.d/02_network | 9 +
|
||||||
.../base-files/lib/upgrade/platform.sh | 2 +
|
.../base-files/lib/upgrade/platform.sh | 2 +
|
||||||
.../boot/dts/qcom-ipq4029-gl-s1300-emmc.dts | 412 ++++++++++++++++++
|
.../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 +-
|
.../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
|
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
|
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";
|
+ qcom,ath10k-calibration-variant = "GL-S1300-EMMC";
|
||||||
+};
|
+};
|
||||||
diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
|
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
|
--- a/target/linux/ipq40xx/image/generic.mk
|
||||||
+++ b/target/linux/ipq40xx/image/generic.mk
|
+++ b/target/linux/ipq40xx/image/generic.mk
|
||||||
@@ -106,6 +106,17 @@ define Build/qsdk-ipq-app-gpt
|
@@ -106,6 +106,17 @@ define Build/qsdk-ipq-app-gpt
|
||||||
@ -530,7 +530,7 @@ index cf89409b17..03b03e7e3c 100644
|
|||||||
define Build/SenaoFW
|
define Build/SenaoFW
|
||||||
-$(STAGING_DIR_HOST)/bin/mksenaofw \
|
-$(STAGING_DIR_HOST)/bin/mksenaofw \
|
||||||
-n $(BOARD_NAME) -r $(VENDOR_ID) -p $(1) \
|
-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
|
endef
|
||||||
TARGET_DEVICES += glinet_gl-b2200
|
TARGET_DEVICES += glinet_gl-b2200
|
||||||
|
|
||||||
@ -544,7 +544,8 @@ index cf89409b17..03b03e7e3c 100644
|
|||||||
+ IMAGES := emmc.img sysupgrade.tar
|
+ IMAGES := emmc.img sysupgrade.tar
|
||||||
+ IMAGE/emmc.img := qsdk-ipq-app-gpt2 |\
|
+ IMAGE/emmc.img := qsdk-ipq-app-gpt2 |\
|
||||||
+ pad-to 17k | append-kernel |\
|
+ 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
|
+ IMAGE/sysupgrade.tar := sysupgrade-tar | append-gl-metadata
|
||||||
+ DEVICE_PACKAGES := ipq-wifi-glinet_gl-s1300 \
|
+ DEVICE_PACKAGES := ipq-wifi-glinet_gl-s1300 \
|
||||||
+ kmod-fs-ext4 kmod-mmc kmod-spi-dev mkf2fs e2fsprogs kmod-fs-f2fs
|
+ kmod-fs-ext4 kmod-mmc kmod-spi-dev mkf2fs e2fsprogs kmod-fs-f2fs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user