From 097f350aebc542963c7208af4973ff17e01ce76e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20B=C3=B6hler?= Date: Sat, 1 Apr 2023 21:57:22 +0200 Subject: ath79: add support for Alcatel HH40V MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Alcatel HH40V is a CAT4 LTE router used by various ISPs. Specifications ============== SoC: QCA9531 650MHz RAM: 128MiB Flash: 32MiB SPI NOR LAN: 1x 10/100MBit WAN: 1x 10/100MBit LTE: MDM9607 USB 2.0 (rndis configuration) WiFi: 802.11n (SoC integrated) MAC address assignment ====================== There are three MAC addresses stored in the flash ROM, the assignment follows stock. The MAC on the label is the WiFi MAC address. Installation (TFTP) =================== 1. Connect serial console 2. Configure static IP to 192.168.1.112 3. Put OpenWrt factory.bin file as firmware-system.bin 4. Press Power + WPS and plug in power 5. Keep buttons pressed until TFTP requests are visible 6. Wait for the system to finish flashing and wait for reboot 7. Bootup will fail as the kernel offset is wrong 8. Run "setenv bootcmd bootm 0x9f150000" 9. Reset board and enjoy OpenWrt Installation (without UART) =========================== Installation without UART is a bit tricky and requires several steps too long for the commit message. Basic steps: 1. Create configure backup 2. Patch backup file to enable SSH 3. Login via SSH and configure the new bootcmd 3. Flash OpenWrt factory.bin image manually (sysupgrade doesn't work) More detailed instructions will be provided on the Wiki page. Tested by: Christian Heuff Signed-off-by: Andreas Böhler --- target/linux/ath79/image/generic.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ath79/image/generic.mk') diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index dda74f04f4..ecc46bc6b1 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -246,6 +246,18 @@ define Device/adtran_bsap1840 endef TARGET_DEVICES += adtran_bsap1840 +define Device/alcatel_hh40v + SOC := qca9531 + DEVICE_VENDOR := Alcatel + DEVICE_MODEL := HH40V + DEVICE_PACKAGES := kmod-usb2 kmod-usb-serial-option kmod-usb-net-rndis + IMAGE_SIZE := 14976k + IMAGES += factory.bin + IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \ + append-rootfs | pad-rootfs +endef +TARGET_DEVICES += alcatel_hh40v + define Device/airtight_c-75 SOC := qca9550 DEVICE_VENDOR := AirTight Networks -- cgit v1.2.3