* [PATCH 0/2] Add support for ASUS RT-AC3200 and ASUS RT-AC5300
@ 2024-04-28 16:12 Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 1/2] bcm53xx: add " Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 2/2] packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour Arınç ÜNAL
0 siblings, 2 replies; 3+ messages in thread
From: Arınç ÜNAL @ 2024-04-28 16:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Tom Brautaset, openwrt-devel, Arınç ÜNAL
Hello.
This patch series brings support for ASUS RT-AC3200 and ASUS RT-AC5300 on
OpenWrt.
Note to Rafał, please apply this after backporting the device tree patches
for these devices.
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
Arınç ÜNAL (2):
bcm53xx: add support for ASUS RT-AC3200 and ASUS RT-AC5300
packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour
package/utils/nvram/Makefile | 2 +-
package/utils/nvram/files/nvram-bcm53xx.init | 11 +++++++++--
target/linux/bcm53xx/image/Makefile | 16 ++++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
---
base-commit: 1b190dfd3ae2f9317c0dbca3123ed6c92701489c
change-id: 20240428-asus-rt-ac3200-ac5300-909fa1c42a37
Best regards,
--
Arınç ÜNAL <arinc.unal@arinc9.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] bcm53xx: add support for ASUS RT-AC3200 and ASUS RT-AC5300
2024-04-28 16:12 [PATCH 0/2] Add support for ASUS RT-AC3200 and ASUS RT-AC5300 Arınç ÜNAL
@ 2024-04-28 16:12 ` Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 2/2] packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour Arınç ÜNAL
1 sibling, 0 replies; 3+ messages in thread
From: Arınç ÜNAL @ 2024-04-28 16:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Tom Brautaset, openwrt-devel, Arınç ÜNAL
ASUS RT-AC3200 and ASUS RT-AC5300 are AC3200 and AC5300 routers,
respectively, featuring 5 Ethernet ports over the integrated Broadcom
switch.
ASUS RT-AC3200 hardware info:
* Processor: Broadcom BCM4709A0 dual-core @ 1.0 GHz
* Switch: BCM53012 in BCM4709A0
* DDR3 RAM: 256 MB
* Flash: 128 MB
* 2.4GHz: BCM43602 3x3 single chip 802.11b/g/n SoC
* 5GHz: BCM43602 3x3 two chips 802.11a/n/ac SoC
* Ports: 4 LAN Ports, 1 WAN Port
ASUS RT-AC5300 hardware info:
* Processor: Broadcom BCM4709C0 dual-core @ 1.4 GHz
* Switch: BCM53012 in BCM4709C0
* DDR3 RAM: 512 MB
* Flash: 128 MB
* 2.4GHz: BCM4366 4x4 single chip 802.11b/g/n SoC
* 5GHz: BCM4366 4x4 two chips 802.11a/n/ac SoC
* Ports: 4 LAN Ports, 1 WAN Port
Flashing instructions:
* Boot to CFE Recovery Mode by holding the reset button while power-on.
* Connect to the router with an ethernet cable.
* Set IPv4 address of the computer to 192.168.1.2 subnet 255.255.255.0.
* Head to http://192.168.1.1.
* Reset NVRAM.
* Upload the OpenWrt image.
CFE bootloader may reject flashing the image due to image integrity check.
In that case, follow the instructions below.
* Rename the OpenWrt image as firmware.trx.
* Run a TFTP server and make it serve the firmware.trx file.
* Run the URL below on a browser or curl.
http://192.168.1.1/do.htm?cmd=flash+-noheader+192.168.1.2:firmware.trx+flash0.trx
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
target/linux/bcm53xx/image/Makefile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index 88590c3755..a263e2caed 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -180,6 +180,22 @@ define Device/asus_rt-ac3100
endef
TARGET_DEVICES += asus_rt-ac3100
+define Device/asus_rt-ac3200
+ $(call Device/asus)
+ DEVICE_MODEL := RT-AC3200
+ DEVICE_PACKAGES := $(BRCMFMAC_43602A1) $(USB3_PACKAGES)
+ ASUS_PRODUCTID := RT-AC3200
+endef
+TARGET_DEVICES += asus_rt-ac3200
+
+define Device/asus_rt-ac5300
+ $(call Device/asus)
+ DEVICE_MODEL := RT-AC5300
+ DEVICE_PACKAGES := $(BRCMFMAC_4366B1) $(BRCMFMAC_4366C0) $(USB3_PACKAGES)
+ ASUS_PRODUCTID := RT-AC5300
+endef
+TARGET_DEVICES += asus_rt-ac5300
+
define Device/asus_rt-ac56u
$(call Device/asus)
DEVICE_MODEL := RT-AC56U
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour
2024-04-28 16:12 [PATCH 0/2] Add support for ASUS RT-AC3200 and ASUS RT-AC5300 Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 1/2] bcm53xx: add " Arınç ÜNAL
@ 2024-04-28 16:12 ` Arınç ÜNAL
1 sibling, 0 replies; 3+ messages in thread
From: Arınç ÜNAL @ 2024-04-28 16:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Tom Brautaset, openwrt-devel, Arınç ÜNAL
Add ASUS RT-AC3200 and ASUS RT-AC5300 to the set wireless LED behaviour
quirk. ASUS RT-AC3200's wireless chip is different than ASUS RT-AC5300's,
the environment variables for it are 0:ledbh10 and 1:ledbh10.
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
---
package/utils/nvram/Makefile | 2 +-
package/utils/nvram/files/nvram-bcm53xx.init | 11 +++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/package/utils/nvram/Makefile b/package/utils/nvram/Makefile
index 8547bfa2d6..ef65ae0cc2 100644
--- a/package/utils/nvram/Makefile
+++ b/package/utils/nvram/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=nvram
-PKG_RELEASE:=12
+PKG_RELEASE:=13
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
diff --git a/package/utils/nvram/files/nvram-bcm53xx.init b/package/utils/nvram/files/nvram-bcm53xx.init
index f47c944897..d17d301c45 100755
--- a/package/utils/nvram/files/nvram-bcm53xx.init
+++ b/package/utils/nvram/files/nvram-bcm53xx.init
@@ -19,16 +19,23 @@ clear_partialboots() {
set_wireless_led_behaviour() {
# set Broadcom wireless LED behaviour for both radios
- # 0:ledbh9 -> Behaviour of 2.4GHz LED
- # 1:ledbh9 -> Behaviour of 5GHz LED
+ # 0:ledbh9 -> Behaviour of 2.4GHz LED of Broadcom BCM4366
+ # 1:ledbh9 -> Behaviour of 5GHz LED of Broadcom BCM4366
+ # 0:ledbh10 -> Behaviour of 2.4GHz LED of Broadcom BCM43602
+ # 1:ledbh10 -> Behaviour of 5GHz LED of Broadcom BCM43602
# 0x7 makes the wireless LEDs on, when radios are enabled, and blink when there's activity
case $(board_name) in
asus,rt-ac3100|\
+ asus,rt-ac5300|\
asus,rt-ac88u)
COMMIT=1
nvram set 0:ledbh9=0x7 set 1:ledbh9=0x7
;;
+ asus,rt-ac3200)
+ COMMIT=1
+ nvram set 0:ledbh10=0x7 set 1:ledbh10=0x7
+ ;;
esac
}
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-28 16:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-28 16:12 [PATCH 0/2] Add support for ASUS RT-AC3200 and ASUS RT-AC5300 Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 1/2] bcm53xx: add " Arınç ÜNAL
2024-04-28 16:12 ` [PATCH 2/2] packages: nvram: add asus,rt-ac{3200,5300} to set_wireless_led_behaviour Arınç ÜNAL
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.