From de2f888024ac58c6137959ea91f65cb6ad098df3 Mon Sep 17 00:00:00 2001 From: Markus Scheck Date: Thu, 21 Mar 2019 16:43:27 +0100 Subject: ath79: add support for OCEDO Ursus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SOC: Qualcomm Atheros QCA9558 RAM: 128MB FLASH: 16MB (Macronix MX25L12845EMI-10G) WLAN1: QCA9558 2.4GHz 802.11bgn 3SS WLAN2: QCA9880 5GHz 802.11ac 3SS LED: Power, LAN1, LAN2, 2.4GHz, 5GHz Serial:Next to SPI Flash, Pinout is 3V3 - GND - TX - RX (Square Pin is 3V3) The Serial setting is 115200-8-N-1 INSTALLATION: 1. Serve an OpenWrt ramdisk image named "ursus.bin". Set your IP-address to 192.168.100.8/24. 2. Connect to the serial. Power up the device and interrupt the boot process. 3. Set the correct bootcmd with > setenv bootcmd run bootcmd_1 > saveenv 4. Run > tftpboot 0x81000000 ursus.bin > bootm 0x81000000 5. Wait for OpenWrt to boot up. 6. Transfer OpenWrt sysupdate image and flash via sysupgrade. Signed-off-by: Markus Scheck Tested-by: David Bauer [whitespace fix, renamed LED labels and SoC type fix] Signed-off-by: Petr Štetiar --- target/linux/ath79/base-files/etc/board.d/02_network | 3 ++- target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/base-files') diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index e0b777da73..e399210b2b 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -79,7 +79,8 @@ ath79_setup_interfaces() ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; devolo,dvl1200e|\ - devolo,dvl1750e) + devolo,dvl1750e|\ + ocedo,ursus) ucidef_set_interface_lan "eth0 eth1" ;; dlink,dir-825-b1) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 8766862bb6..bfddb5f1c3 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -119,7 +119,8 @@ case "$FIRMWARE" in ath10kcal_extract "art" 20480 2116 ath10kcal_patch_mac_crc $(mtd_get_mac_text board_data 2176) ;; - ocedo,koala) + ocedo,koala|\ + ocedo,ursus) ath10kcal_extract "art" 20480 2116 ath10kcal_patch_mac $(mtd_get_mac_binary art 12) ;; -- cgit v1.2.3