You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Bauer c6e972c877 ipq40xx: add support for Aruba AP-303H
The Aruba AP-303H is the hospitality version of the Aruba AP-303 with a
POE-passthrough enabled ethernet switch instead of a sigle PHY.

Hardware
--------

SoC:   Qualcomm IPQ4029
RAM:   512M DDR3
FLASH: - 128MB SPI-NAND (Macronix)
       - 4MB SPI-NOR (Macronix MX25R3235F)
TPM:   Atmel AT97SC3203
BLE:   Texas Instruments CC2540T
       attached to ttyMSM1
ETH:   Qualcomm QCA8075
LED:   WiFi (amber / green)
       System (red / green /amber)
       PSE (green)
BTN:   Reset
USB:   USB 2.0

To connect to the serial console, you can solder to the labled pads next
to the USB port or use your Aruba supplied UARt adapter.

Do NOT plug a standard USB cable into the Console labled USB-port!
Aruba/HPE simply put UART on the micro-USB pins. You can solder yourself
an adapter cable:

VCC - NC
 D+ - TX
 D- - RX
GND - GND

The console setting in bootloader and OS is 9600 8N1. Voltage level is
3.3V.

To enable a full list of commands in the U-Boot "help" command, execute
the literal "diag" command.

Installation
------------

1. Get the OpenWrt initramfs image. Rename it to ipq40xx.ari and put it
   into the TFTP server root directory. Configure the TFTP server to
   be reachable at 192.168.1.75/24. Connect the machine running the TFTP
   server to the E0 (!) ethernet port of the access point, as it only
   tries to pull from the WAN port.

2. Connect to the serial console. Interrupt autobooting by pressing
   Enter when prompted.

3. Configure the bootargs and bootcmd for OpenWrt.
   $ setenv bootargs_openwrt "setenv bootargs console=ttyMSM0,9600n8"
   $ setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1;
     ubi read 0x85000000 kernel; set fdt_high 0x87000000;
     bootm 0x85000000"
   $ setenv ramboot_openwrt "run bootargs_openwrt;
     setenv ipaddr 192.168.1.105; setenv serverip 192.168.1.75;
     netget; set fdt_high 0x87000000; bootm"
   $ setenv bootcmd "run nandboot_openwrt"
   $ saveenv

4. Load OpenWrt into RAM:
   $ run ramboot_openwrt

5. After OpenWrt booted, transfer the OpenWrt sysupgrade image to the
   /tmp folder on the device. You will need to plug into E1-E3 ports of
   the access point to reach OpenWrt, as E0 is the WAN port of the
   device.

6. Flash OpenWrt:
   $ ubidetach -p /dev/mtd16
   $ ubiformat /dev/mtd16
   $ sysupgrade -n /tmp/openwrt-sysupgrade.bin

To go back to the stock firmware, simply reset the bootcmd in the
bootloader to the original value:

  $ setenv bootcmd "boot"
  $ saveenv

Signed-off-by: David Bauer <mail@david-bauer.net>
4 years ago
..
qcom-ipq4018-a42.dts ipq40xx: dts: Unify naming of gpio-led nodes 5 years ago
qcom-ipq4018-ap120c-ac.dts ipq40xx: add ath10k-calibration-variant in AP120C-AC DTS 5 years ago
qcom-ipq4018-cs-w3-wd1200g-eup.dts ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP 4 years ago
qcom-ipq4018-ea6350v3.dts ipq40xx: ea6350v3: 4.19: enable pseudo rng support 5 years ago
qcom-ipq4018-eap1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 5 years ago
qcom-ipq4018-ens620ext.dts ipq40xx: Fix reboot on EnGenius ENS620EXT 5 years ago
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: add label MAC address for Netgear EX6100v2/EX6150v2 5 years ago
qcom-ipq4018-ex6100v2.dts ipq40xx: remove qcom,ipq4019 on all devices 5 years ago
qcom-ipq4018-ex6150v2.dts ipq40xx: remove qcom,ipq4019 on all devices 5 years ago
qcom-ipq4018-fritzbox-4040.dts ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4018-jalapeno.dts ipq40xx: use DTSI for Jalapeno 5 years ago
qcom-ipq4018-jalapeno.dtsi ipq40xx: use DTSI for Jalapeno 5 years ago
qcom-ipq4018-meshpoint-one.dts ipq40xx: add support for Crisis Innovation Lab MeshPoint.One 5 years ago
qcom-ipq4018-nbg6617.dts ipq40xx: convert to device-tree based USB LED trigger 5 years ago
qcom-ipq4018-rt-ac58u.dts ipq40xx: fix usbport trigger on the RT-AC58U with USB 2.0 devices 4 years ago
qcom-ipq4018-wre6606.dts ipq40xx: dts: Unify naming of gpio-led nodes 5 years ago
qcom-ipq4019-a62.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 5 years ago
qcom-ipq4019-ap.dk04.1-c1.dts
qcom-ipq4019-ap.dk04.1.dtsi ipq40xx: 4.19: Enable pseudo random number generator 5 years ago
qcom-ipq4019-e2600ac-c1.dts ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-e2600ac-c2.dts ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-e2600ac.dtsi ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-ea8300.dts ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-fritzbox-7530.dts ipq40xx: fix FRITZBox 7530 NAND controller node 5 years ago
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: add support for AVM FRITZ!Repeater 1200 5 years ago
qcom-ipq4019-fritzrepeater-3000.dts ipq40xx: add support for AVM FRITZ!Repeater 3000 5 years ago
qcom-ipq4019-map-ac2200.dts ipq40xx: limit frequencies for Asus Lyra 5 years ago
qcom-ipq4019-u4019-32m.dts ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-u4019.dtsi ipq40xx: build DEVICE_DTS based on SOC and device name 4 years ago
qcom-ipq4019-wpj419.dts ipq40xx: wpj419: use reset-gpios property for phy reset 5 years ago
qcom-ipq4028-wpj428.dts ipq40xx: dts: Unify naming of gpio-led nodes 5 years ago
qcom-ipq4029-ap-303.dts ipq40xx: add support for Aruba AP-303 4 years ago
qcom-ipq4029-ap-303h.dts ipq40xx: add support for Aruba AP-303H 4 years ago
qcom-ipq4029-gl-b1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 5 years ago
qcom-ipq4029-mr33.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 5 years ago