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
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>
5 years ago
..
apm821xx treewide: kernel config: remove runtime options 5 years ago
ar7 kernel: bump 4.9 to 4.9.194 5 years ago
ar71xx ar71xx: indicate upgrade using system LED 5 years ago
arc770 treewide: remove kmod-usb-core from DEVICE_PACKAGES 5 years ago
archs38 treewide: remove kmod-usb-core from DEVICE_PACKAGES 5 years ago
armvirt armvirt: fix overlay support by updating to f2fs/ext4 based overlays 5 years ago
at91 at91: disable legacy PTYs and virtual terminals 5 years ago
ath25 ath25: split up DEVICE_TITLE 5 years ago
ath79 ath79: rename ATH_SOC to SOC 5 years ago
bcm53xx bcm53xx: sysupgrade: support Luxul NAND devices 5 years ago
brcm47xx brcm47xx: add switch configuration for WNR3500L 5 years ago
brcm63xx kernel: bump 4.19 to 4.19.85 5 years ago
brcm2708 brcm2708: switch to cypress-nvram package 5 years ago
cns3xxx kernel: bump 4.19 to 4.19.86 5 years ago
gemini kernel: bump 4.19 to 4.19.88 5 years ago
generic kernel: generic: add missing config symbol to 4.19 5 years ago
imx6 imx6: install-dtb as separate IMAGE 5 years ago
ipq40xx ipq40xx: add support for Aruba AP-303 5 years ago
ipq806x ipq806x: switch to 4.19 kernel version 5 years ago
ixp4xx ixp4xx: remove CONFIG_LEGACY_PTY from kernel config 5 years ago
kirkwood kirkwood: remove CONFIG_LEGACY_PTY from kernel config 5 years ago
lantiq kernel: bump 4.19 to 4.19.88 5 years ago
layerscape kernel: bump 4.14 to 4.14.158 5 years ago
malta malta: remove CONFIG_LEGACY_PTY from kernel config 5 years ago
mediatek kernel: bump 4.19 to 4.19.88 5 years ago
mpc85xx mpc85xx: add support for Enterasys WS-AP3710i 5 years ago
mvebu kernel: bump 4.19 to 4.19.88 5 years ago
mxs treewide: kernel config: remove runtime options 5 years ago
octeon octeon: fix sysupgrade 5 years ago
octeontx octeontx: fix thunderx BGX underflow irq name 5 years ago
omap omap: switch from uEnv.txt to generic distro booting 5 years ago
orion orion: replace backticks by $(...) 5 years ago
oxnas kernel: bump 4.14 to 4.14.158 5 years ago
pistachio pistachio: split up DEVICE_TITLE 5 years ago
ramips ramips: fix USB LED for Belkin F9K1109v1 5 years ago
rb532 rb532: split up DEVICE_TITLE 5 years ago
samsung samsung: split up DEVICE_TITLE 5 years ago
sunxi sunxi: rename SUNXI_SOC to SOC 5 years ago
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 5 years ago
uml uml: remove CONFIG_LEGACY_PTY from kernel config 5 years ago
x86 kernel: bump 4.19 to 4.19.84 5 years ago
zynq treewide: kernel config: remove runtime options 5 years ago
Makefile