openwrt/target/linux
David Bauer 102c8c55f2 ipq40xx: add support for Aruba AP-303
Hardware
--------

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

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 ethernet port of the access point.

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=ttyMSM1,9600n8"
   $ setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1;
     ubi read 0x85000000 kernel; 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.

6. Flash OpenWrt:
   $ ubidetach -p /dev/mtd1
   $ ubiformat /dev/mtd1
   $ 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>
2019-12-20 17:48:52 +01:00
..
apm821xx treewide: kernel config: remove runtime options 2019-11-24 14:19:43 +01:00
ar7 kernel: bump 4.9 to 4.9.194 2019-09-24 12:52:05 +02:00
ar71xx ar71xx: indicate upgrade using system LED 2019-12-16 00:51:01 +01:00
arc770 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
archs38 treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
armvirt armvirt: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-09 20:14:17 +01:00
ath25 ath25: split up DEVICE_TITLE 2019-10-19 13:16:57 +02:00
ath79 ath79: rename ATH_SOC to SOC 2019-12-20 01:12:42 +01:00
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 2019-10-15 20:23:04 +02:00
brcm47xx brcm47xx: add switch configuration for WNR3500L 2019-12-08 00:21:36 +01:00
brcm63xx kernel: bump 4.19 to 4.19.85 2019-11-22 16:56:46 +01:00
brcm2708 brcm2708: switch to cypress-nvram package 2019-12-18 08:44:48 +01:00
cns3xxx kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
gemini kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00
generic kernel: generic: add missing config symbol to 4.19 2019-12-19 22:41:57 +01:00
imx6 imx6: install-dtb as separate IMAGE 2019-09-15 15:00:17 +00:00
ipq40xx ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00
ipq806x ipq806x: switch to 4.19 kernel version 2019-12-19 22:41:57 +01:00
ixp4xx ixp4xx: remove CONFIG_LEGACY_PTY from kernel config 2019-12-09 20:14:17 +01:00
kirkwood kirkwood: remove CONFIG_LEGACY_PTY from kernel config 2019-12-09 20:14:20 +01:00
lantiq kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00
layerscape kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-09 20:16:53 +01:00
mediatek kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00
mpc85xx mpc85xx: add support for Enterasys WS-AP3710i 2019-12-13 22:40:19 +01:00
mvebu kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00
mxs treewide: kernel config: remove runtime options 2019-11-24 14:19:43 +01:00
octeon octeon: fix sysupgrade 2019-11-30 20:19:12 +02:00
octeontx octeontx: fix thunderx BGX underflow irq name 2019-10-27 12:13:59 +01:00
omap omap: switch from uEnv.txt to generic distro booting 2019-11-20 10:46:19 +01:00
orion orion: replace backticks by $(...) 2019-09-29 00:46:13 +02:00
oxnas kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
pistachio pistachio: split up DEVICE_TITLE 2019-10-12 23:37:00 +02:00
ramips ramips: fix USB LED for Belkin F9K1109v1 2019-12-20 15:54:33 +01:00
rb532 rb532: split up DEVICE_TITLE 2019-10-19 13:16:57 +02:00
samsung samsung: split up DEVICE_TITLE 2019-09-11 15:17:09 +02:00
sunxi sunxi: rename SUNXI_SOC to SOC 2019-12-20 01:18:44 +01:00
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
uml uml: remove CONFIG_LEGACY_PTY from kernel config 2019-12-09 20:14:17 +01:00
x86 kernel: bump 4.19 to 4.19.84 2019-11-19 14:59:03 +01:00
zynq treewide: kernel config: remove runtime options 2019-11-24 14:19:43 +01:00
Makefile