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.
openwrt/target/linux/ipq40xx/patches-4.19
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
..
070-v4.20-soc-qcom-spm-add-SCM-probe-dependency.patch
071-01-v4.20-ARM-dts-qcom-ipq4019-use-v2-of-the-kpss-bringup-mech.patch
071-02-ipq40xx-Fix-booting-secondary-cores.patch
072-v4.20-ARM-dts-qcom-ipq4019-add-cpu-operating-points-for-cp.patch ipq40xx: directly define voltage per opp 5 years ago
074-ARM-qcom-Add-IPQ4019-SoC-support.patch
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: directly define voltage per opp 5 years ago
080-ARM-dts-qcom-add-gpio-ranges-property.patch ipq40xx: directly define voltage per opp 5 years ago
081-clk-fix-apss-cpu-overclocking.patch
086-ipq40xx-fix-high-resolution-timer.patch ipq40xx: fix high resolution timer 5 years ago
181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: fix hw-crypto detection of qce driver 5 years ago
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.19 to 4.19.68 5 years ago
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch ipq40xx: add support for Aruba AP-303 5 years ago
700-net-add-qualcomm-mdio.patch ipq40xx: mdio: remove support for phy-reset-gpio 5 years ago
701-dts-ipq4019-add-mdio-node.patch ipq40xx: extend DT mdio node to be more accessible 5 years ago
702-dts-ipq4019-add-PHY-switch-nodes.patch ipq40xx: fix high resolution timer 5 years ago
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: decouple mdio-ipq40xx and ar40xx 5 years ago
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: abort ar40xx probe on missing PHYs 5 years ago
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: essedma: Fix dead lock 5 years ago
711-dts-ipq4019-add-ethernet-essedma-node.patch ipq40xx: fix high resolution timer 5 years ago
712-mr33-essedma.patch
713-essedma-alloc-skb-ip-align.patch
714-essedma-add-fix-for-memory-allocation.patch ipq40xx: essedma: Add fix for memory allocation issues 5 years ago
850-soc-add-qualcomm-syscon.patch
900-dts-ipq4019-ap-dk01.1.patch
901-arm-boot-add-dts-files.patch ipq40xx: add support for Aruba AP-303H 4 years ago
997-device_tree_cmdline.patch