mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-16 09:10:02 +00:00
update b1300
This commit is contained in:
parent
75971e675d
commit
f37c6e1ef0
38
patches-21.02.2/0028-b1300-adapt-to-sdk4.patch
Normal file
38
patches-21.02.2/0028-b1300-adapt-to-sdk4.patch
Normal file
@ -0,0 +1,38 @@
|
||||
From ca38448bae494d2ef2d1dd10cec0a9eb45d8f760 Mon Sep 17 00:00:00 2001
|
||||
From: Dongming Han <handongming@gl-inet.com>
|
||||
Date: Thu, 29 Sep 2022 20:56:58 +0800
|
||||
Subject: [PATCH] b1300: adapt to sdk4
|
||||
|
||||
---
|
||||
target/linux/ipq40xx/base-files/etc/board.d/02_network | 1 +
|
||||
target/linux/ipq40xx/image/generic.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
|
||||
index 6e66350043..a5f13039be 100755
|
||||
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
|
||||
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
|
||||
@@ -182,6 +182,7 @@ ipq40xx_setup_macs()
|
||||
lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base)
|
||||
label_mac="$lan_mac"
|
||||
;;
|
||||
+ glinet,gl-b1300|\
|
||||
glinet,gl-a1300)
|
||||
wan_mac=$(mtd_get_mac_binary ART 0)
|
||||
lan_mac=$(macaddr_add "$wan_mac" 1)
|
||||
diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
|
||||
index 0071677cfb..ee8d5b2853 100644
|
||||
--- a/target/linux/ipq40xx/image/generic.mk
|
||||
+++ b/target/linux/ipq40xx/image/generic.mk
|
||||
@@ -510,7 +510,7 @@ define Device/glinet_gl-b1300
|
||||
SOC := qcom-ipq4029
|
||||
KERNEL_SIZE := 4096k
|
||||
IMAGE_SIZE := 26624k
|
||||
- IMAGE/sysupgrade.bin := append-kernel |append-rootfs | pad-rootfs | append-metadata
|
||||
+ IMAGE/sysupgrade.bin := append-kernel |append-rootfs | pad-rootfs | append-gl-metadata
|
||||
endef
|
||||
TARGET_DEVICES += glinet_gl-b1300
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user