diff options
author | Damien Mascord <tusker@tusker.org> | 2020-12-07 13:01:38 +1100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-12-07 14:22:00 +0100 |
commit | b9971db7c365c0145faf1db2e78ee48cee4b643d (patch) | |
tree | e4ba27a14a26d6ba0c31579115a880c676245589 /target/linux/ath79/image/generic.mk | |
parent | cb38170f4cd57ee028ab7b270f395cd1ee8adf00 (diff) | |
download | upstream-b9971db7c365c0145faf1db2e78ee48cee4b643d.tar.gz upstream-b9971db7c365c0145faf1db2e78ee48cee4b643d.tar.bz2 upstream-b9971db7c365c0145faf1db2e78ee48cee4b643d.zip |
ath79: add support for Belkin F9J1108v2 (AC1750 DB Wi-Fi)
This device is the non-US build of the F9K1115 v2, with a different
firmware magic.
Specifications:
SoC: QCA9558
CPU: 720 MHz
Flash: 16 MiB NOR
RAM: 128 MiB
WiFi 2.4 GHz: QCA9558-AT4A 3x3 MIMO 802.11b/g/n
WiFi 5 GHz: QCA9880-2R4E 3x3 MIMO 802.11a/n/ac
Ethernet: 4x LAN and 1x WAN (all 1gbps)
USB: 1 x USB 2.0 (lower), 1 x USB 3.0 (upper)
MAC addresses based on OEM firmware:
Interface Address Location
--------- ------- --------
lan *:5A sometimes in 0x6
wan *:5B 0x0
2.4Ghz *:5A 0x1002
5Ghz As per mini PCIe EEPROM
Flashing instructions:
The factory.bin can be flashed via the Belkin web UI or via the uboot
http upgrade page.
Once the factory.bin has been written, sysupgrade.bin will work as usual.
Signed-off-by: Damien Mascord <tusker@tusker.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
[wrap commit message/code, adjust label-mac-device, whitespace fixes,
merge block in 02_network]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/image/generic.mk')
-rw-r--r-- | target/linux/ath79/image/generic.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 614f9ff0b2..d5fbd89c26 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -50,6 +50,24 @@ define Build/cybertan-trx -rm $@-empty.bin endef +define Build/edimax-headers + $(eval edimax_magic=$(word 1,$(1))) + $(eval edimax_model=$(word 2,$(1))) + + $(STAGING_DIR_HOST)/bin/edimax_fw_header -M $(edimax_magic) -m $(edimax_model)\ + -v $(VERSION_DIST)$(firstword $(subst +, , $(firstword $(subst -, ,$(REVISION))))) \ + -n "uImage" \ + -i $(KDIR)/loader-$(DEVICE_NAME).uImage \ + -o $@.uImage + $(STAGING_DIR_HOST)/bin/edimax_fw_header -M $(edimax_magic) -m $(edimax_model)\ + -v $(VERSION_DIST)$(firstword $(subst +, , $(firstword $(subst -, ,$(REVISION))))) \ + -n "rootfs" \ + -i $@ \ + -o $@.rootfs + cat $@.uImage $@.rootfs > $@ + rm -rf $@.uImage $@.rootfs +endef + # This needs to make /tmp/_sys/sysupgrade.tgz an empty file prior to # sysupgrade, as otherwise it will implant the old configuration from # OEM firmware when writing rootfs from factory.bin @@ -363,6 +381,27 @@ define Device/avm_fritzdvbc endef TARGET_DEVICES += avm_fritzdvbc +define Device/belkin_f9j1108-v2 + SOC := qca9558 + DEVICE_VENDOR := Belkin + DEVICE_MODEL := F9J1108 v2 (AC1750 DB Wi-Fi) + IMAGE_SIZE := 14464k + DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-usb2 \ + kmod-usb3 kmod-usb-ledtrig-usbport + LOADER_TYPE := bin + LOADER_FLASH_OFFS := 0x50000 + COMPILE := loader-$(1).bin loader-$(1).uImage + COMPILE/loader-$(1).bin := loader-okli-compile + COMPILE/loader-$(1).uImage := append-loader-okli $(1) | pad-to 64k | \ + lzma | uImage lzma + KERNEL := kernel-bin | append-dtb | lzma | uImage lzma -M 0x4f4b4c49 + IMAGES += factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs | check-size | \ + edimax-headers F9J1108v1 BR-6679BAC | pad-to $$$$(BLOCKSIZE) +endef +TARGET_DEVICES += belkin_f9j1108-v2 + define Device/buffalo_bhr-4grv $(Device/buffalo_common) SOC := ar7242 |