From d6f66dd88e5d833f88fa4b6e056499ec7644ff7c Mon Sep 17 00:00:00 2001 From: Daniele Castro Date: Mon, 2 Dec 2019 16:13:44 +0100 Subject: brcm63xx: add support for ADB P.DG A4001N A-000-1A1-AX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ADB P.DG A4001N A-000-1A1-AX a.k.a. Telecom Italia ADSL2+ Wi-Fi N (AGPWI) has the same PCB as the OpenWrt's ADB P.DG A4001N1 with LEDs connected to different GPIO PINs in active low configuration. OpenWrt's ADB P.DG A4001N image is made for the ADB P.DG A4001N A-000-1A1-AE. It has different LEDs configuration and flash size/layout w.r.t the ADB P.DG A4001N A-000-1A1-AX. Hardware: * Board ID: 96328avng * SoC: Broadcom BCM6328 * RAM DDR2-800: 32 Mbyte - winbond W9725G6KB-25 * Serial flash: 16 Mbyte - MXIC MX25L 12845EMI-10G * Ethernet: 4x Ethernet 10/100 baseT * Wifi 2.4GHz: Broadcom Corporation BCM43224/5 Wireless Network Adapter (rev 01) * LEDs: 2x Power, 2x ADSL, 2x Internet, 2x Wi-Fi, 2x Service * Buttons: 1x Reset, 1x WPS (named WiFi/LED) * UART: 1x TTL 115200n8, TX NC RX, on J5 connector (short R192 and R193) NC GND NC Installation via CFE: * Stock CFE has to be overwriten with one for 96328avng boards that can upload .bin images with no signature check (cfe-A4001N-V0000_96328avng.bin) * connect a serial port to the board * Stop the boot process after power on by pressing enter * set static IP 192.168.1.2 and subnet mask 255.255.255.0 * navigate to http://192.168.1.1/ * upload the OpenWrt image file Signed-off-by: Daniele Castro Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm63xx/base-files/etc/board.d/01_leds | 6 ++++++ target/linux/bcm63xx/base-files/etc/board.d/02_network | 1 + target/linux/bcm63xx/base-files/etc/uci-defaults/09_fix_crc | 1 + 3 files changed, 8 insertions(+) (limited to 'target/linux/bcm63xx/base-files') diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds index 907a425d16..91d67f0c0b 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds @@ -21,6 +21,12 @@ adb,a4001n1) ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0" ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1" ;; +adb,pdg-a4001n-a-000-1a1-ax) + ucidef_set_led_netdev "lan" "LAN" "$model:green:internet" "eth0.1" + ucidef_set_led_netdev "wan" "WAN" "$model:green:adsl" "eth0.2" + ucidef_set_led_netdev "wlan0" "WIFI" "$model:green:wifi" "wlan0" + ucidef_set_led_usbdev "usb" "USB" "$model:green:service" "1-1" + ;; adb,av4202n) ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0" ;; diff --git a/target/linux/bcm63xx/base-files/etc/board.d/02_network b/target/linux/bcm63xx/base-files/etc/board.d/02_network index a3788adac2..784af29cb4 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm63xx/base-files/etc/board.d/02_network @@ -20,6 +20,7 @@ t-com,speedport-w-500v) ;; adb,a4001n1|\ adb,a4001n|\ +adb,pdg-a4001n-a-000-1a1-ax|\ adb,av4202n|\ brcm,bcm963281tan|\ brcm,bcm96328avng|\ diff --git a/target/linux/bcm63xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/bcm63xx/base-files/etc/uci-defaults/09_fix_crc index 813b51fb52..3fcf40434f 100644 --- a/target/linux/bcm63xx/base-files/etc/uci-defaults/09_fix_crc +++ b/target/linux/bcm63xx/base-files/etc/uci-defaults/09_fix_crc @@ -14,6 +14,7 @@ case "$(board_name)" in actiontec,r1000h|\ adb,a4001n|\ adb,a4001n1|\ + adb,pdg-a4001n-a-000-1a1-ax|\ brcm,bcm96328avng|\ brcm,bcm963281tan|\ bt,voyager-2110|\ -- cgit v1.2.3