qualcommax: ipq50xx: add support for GL.iNET GL-B3000
Add support for GL.iNET (AX3000) B3000.
Speficiations:
* SoC: Qualcomm IPQ5018 (64-bit dual-core ARM Cortex-A53 @ 1.0Ghz)
* Memory: Winbond W634GU6NQB-11 (512 MiB DDR3-933)
* Serial Port: 3v3 TTL 115200n8
* Wi-Fi: IPQ5018 (2x2 2.4 Ghz 802.11b/g/n/ax)
* Wi-Fi: QCN6102 (2x2:2 5 Ghz 802.11an/ac/ax)
* Ethernet: IPQ5018 integrated virtual switch connected to an external
QCA8337 switch (3 Ports 10/100/1000 GBASE-T)
* Flash: Winbond W25N01GWZEIG (128 MiB)
* LEDs: 1x single-color blue LED (GPIO 24 Active High)
1x single-color white LED (GPIO 23 Active High)
* Buttons: 1x Reset (GPIO 27 Active Low)
Flash Instructions:
*** The .img files are now universal ! ***
Openwrt --> openwrt-qualcommax-ipq50xx-glinet_gl-b3000-squashfs-factory.img
GL.iNet OEM --> openwrt-b3000-4.5.18-0731-1722397535.img
Either file can be flashed, in any of the available upgrade options, in both Firmwares.
Pick a file .. pick a method .. and SEND IT !!
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17903
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
963d320086
commit
3307fe8ee4
@@ -502,6 +502,34 @@ define Build/kernel-bin
|
||||
cp $< $@
|
||||
endef
|
||||
|
||||
define Build/gl-qsdk-factory
|
||||
$(eval GL_NAME := $(call param_get_default,type,$(1),$(DEVICE_NAME)))
|
||||
$(eval GL_IMGK := $(KDIR_TMP)/$(DEVICE_IMG_PREFIX)-squashfs-factory.img)
|
||||
$(eval GL_ITS := $(KDIR_TMP)/$(GL_NAME).its)
|
||||
$(eval GL_UBI := "ubi")
|
||||
|
||||
$(CP) $(BOOT_SCRIPT) $(KDIR_TMP)/
|
||||
$(shell mv $(GL_IMGK) $(GL_IMGK).tmp)
|
||||
|
||||
$(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \
|
||||
$(GL_ITS) \
|
||||
$(GL_UBI) \
|
||||
$(GL_IMGK) \
|
||||
$(BOOT_SCRIPT)
|
||||
|
||||
sed -i "s/rootfs_size/`wc -c $(GL_IMGK) | \
|
||||
cut -d " " -f 1 | xargs printf "0x%x"`/g" $(BOOT_SCRIPT);
|
||||
|
||||
PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f \
|
||||
$(GL_ITS) \
|
||||
$(GL_IMGK)
|
||||
|
||||
$(RM) \
|
||||
$(GL_ITS) \
|
||||
$(GL_IMGK).tmp \
|
||||
$(KDIR_TMP)/$(notdir $(BOOT_SCRIPT))
|
||||
endef
|
||||
|
||||
define Build/linksys-image
|
||||
let \
|
||||
size="$$(stat -c%s $@)" \
|
||||
|
||||
Reference in New Issue
Block a user