aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/qualcommax/image
diff options
context:
space:
mode:
authorKristian Skramstad <kristian+github@83.no>2023-10-01 16:28:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-10-28 19:49:18 +0200
commit5e33fdfc47eeb3620536baaa1de13fbd2e6b5d62 (patch)
tree0d494012d3a4b37f90a2013daa9d4b618074c22d /target/linux/qualcommax/image
parentf9e6218b82b3d2827e3d781ebc0c4eea59bf8bb6 (diff)
downloadupstream-5e33fdfc47eeb3620536baaa1de13fbd2e6b5d62.tar.gz
upstream-5e33fdfc47eeb3620536baaa1de13fbd2e6b5d62.tar.bz2
upstream-5e33fdfc47eeb3620536baaa1de13fbd2e6b5d62.zip
qualcommax: ipq807x: add support for Netgear WAX630
``` Specifications: * CPU: Qualcomm IPQ8074A, SoC Version: 2.0, Quad core 1651 MHz * RAM: 1 GiB of DDR3 466 MHz * Flash: NAND 512 MiB (Winbond W29N04GZ) * 6 RGB LEDs: Power, LAN1, LAN2, 2.4GHz, 5GHz H and 5GHz L * UART: One 4-pin populated header next to the heatsink and a chip. GND RXD TXD, beginning from the external antennas. 115200n8. Lan: * One 100/1000/2.5GBASE-T Gigabit Ethernet 802.3bt/at * One 100/1000 Gigabit Ethernet Wlan: * 4x4 in 2.4GHz : 802.11b/g/n/ax * 4x4 in 5.0GHz L: 802.11a/n/ac/ax * 4x4 in 5.0GHz H: 802.11a/n/ac/ax * OFDM and OFDMA * Bidir and MU-MIMO * Internal antenna 2.86/4.41/4.98 dBi (2.4GHz/5GHz L/5GHz H) Power: * 802.3bt/at 30.1W * DC 12V/3.5A Mounting: Wall and ceiling ``` ``` 1. Download the OpenWrt initramfs image. Copy the image to a TFTP server 2. Connect to the console on the AP, and connect the LAN port to your LAN 3. Stop auto boot to get to U-boot shell, interrupt the autoboot process by pressing '0' when prompted 4. Set active_fw in env 4. Set active_fw in env # setenv active_fw 1 5. Transfer the initramfs image with TFTP # setenv serverip 192.168.1.10 (IP of TFTP server host) # setenv ipaddr 192.168.1.1 (IP used by the router for getting the image, must be in the same subnet as the TFTP host) # tftpboot openwrt-qualcommax-ipq807x-netgear_wax630-initramfs-uImage.itb 6. Reboot and load the image # bootm 7. SCP factory image to the AP # scp openwrt-qualcommax-ipq807x-netgear_wax630-squashfs-factory.ubi root@192.168.1.1:/tmp/ 8. Connect to device using SSH (use the LAN port) 9. Flash squashfs-factory.ubi from within the initramfs instance of OpenWRT Before you flash, please check your mtd partitions where mtdX is the right mtd rootfs partition. # cat /proc/mtd (To check MTD partitions) # ubiformat /dev/mtd18 -y -f /tmp/openwrt-qualcommax-ipq807x-netgear_wax630-squashfs-factory.ubi 10. Set active_fw to 0 # /usr/sbin/fw_setenv active_fw 0 11. Reboot the AP and your done # reboot ``` Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Diffstat (limited to 'target/linux/qualcommax/image')
-rw-r--r--target/linux/qualcommax/image/ipq807x.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/qualcommax/image/ipq807x.mk b/target/linux/qualcommax/image/ipq807x.mk
index c0f15f3c839..f288dae6d85 100644
--- a/target/linux/qualcommax/image/ipq807x.mk
+++ b/target/linux/qualcommax/image/ipq807x.mk
@@ -23,6 +23,16 @@ define Device/UbiFit
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
+define Build/wax6xx-netgear-tar
+ mkdir $@.tmp
+ mv $@ $@.tmp/nand-ipq807x-apps.img
+ md5sum $@.tmp/nand-ipq807x-apps.img | cut -c 1-32 > $@.tmp/nand-ipq807x-apps.md5sum
+ echo $(DEVICE_MODEL) > $@.tmp/metadata.txt
+ echo $(DEVICE_MODEL)"_V9.9.9.9" > $@.tmp/version
+ tar -C $@.tmp/ -cf $@ .
+ rm -rf $@.tmp
+endef
+
define Device/buffalo_wxr-5950ax12
$(call Device/FitImage)
DEVICE_VENDOR := Buffalo
@@ -146,6 +156,21 @@ define Device/netgear_wax620
endef
TARGET_DEVICES += netgear_wax620
+define Device/netgear_wax630
+ $(call Device/FitImage)
+ $(call Device/UbiFit)
+ DEVICE_VENDOR := Netgear
+ DEVICE_MODEL := WAX630
+ DEVICE_DTS_CONFIG := config@hk01
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ SOC := ipq8074
+ IMAGES := ui-factory.tar factory.ubi sysupgrade.bin
+ IMAGE/ui-factory.tar := append-ubi | wax6xx-netgear-tar
+ DEVICE_PACKAGES += kmod-spi-gpio ipq-wifi-netgear_wax630
+endef
+TARGET_DEVICES += netgear_wax630
+
define Device/prpl_haze
$(call Device/FitImage)
$(call Device/EmmcImage)