1. 28 Feb, 2020 2 commits
  2. 24 Feb, 2020 1 commit
  3. 20 Dec, 2019 1 commit
    • David Bauer's avatar
      ipq40xx: add support for Aruba AP-303 · 102c8c55
      David Bauer authored
      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
      To enable a full list of commands in the U-Boot "help" command, execute
      the literal "diag" command.
      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 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; setenv serverip;
           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: default avatarDavid Bauer <mail@david-bauer.net>