difos/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts
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
..
qcom-ipq4018-a42.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4018-ap120c-ac.dts ipq40xx: add ath10k-calibration-variant in AP120C-AC DTS 2019-03-08 19:28:31 +01:00
qcom-ipq4018-ea6350v3.dts ipq40xx: ea6350v3: 4.19: enable pseudo rng support 2019-02-14 16:56:15 +01:00
qcom-ipq4018-eap1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4018-ens620ext.dts ipq40xx: Fix reboot on EnGenius ENS620EXT 2019-05-11 16:37:11 +02:00
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: add label MAC address for Netgear EX6100v2/EX6150v2 2019-10-27 14:03:43 +01:00
qcom-ipq4018-ex6100v2.dts ipq40xx: remove qcom,ipq4019 on all devices 2018-12-27 14:30:45 +01:00
qcom-ipq4018-ex6150v2.dts ipq40xx: remove qcom,ipq4019 on all devices 2018-12-27 14:30:45 +01:00
qcom-ipq4018-fritz4040.dts ipq40xx: add label MAC address for FritzBox 4040 2019-10-15 18:13:54 +02:00
qcom-ipq4018-jalapeno.dts ipq40xx: use DTSI for Jalapeno 2019-11-30 00:53:36 +01:00
qcom-ipq4018-jalapeno.dtsi ipq40xx: use DTSI for Jalapeno 2019-11-30 00:53:36 +01:00
qcom-ipq4018-meshpoint-one.dts ipq40xx: add support for Crisis Innovation Lab MeshPoint.One 2019-11-30 00:53:36 +01:00
qcom-ipq4018-nbg6617.dts ipq40xx: convert to device-tree based USB LED trigger 2018-12-27 14:36:23 +01:00
qcom-ipq4018-rt-ac58u.dts ipq40xx: convert to device-tree based USB LED trigger 2018-12-27 14:36:23 +01:00
qcom-ipq4018-wre6606.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4019-a62.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 2019-01-26 17:10:19 +01:00
qcom-ipq4019-ap.dk04.1-c1.dts ipq40xx: Add files for 4.19 2018-12-27 14:06:38 +01:00
qcom-ipq4019-ap.dk04.1.dtsi ipq40xx: 4.19: Enable pseudo random number generator 2018-12-27 14:30:45 +01:00
qcom-ipq4019-fritzbox-7530.dts ipq40xx: fix FRITZBox 7530 NAND controller node 2019-03-13 16:25:34 +01:00
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-10-23 01:17:28 +02:00
qcom-ipq4019-fritzrepeater-3000.dts ipq40xx: add support for AVM FRITZ!Repeater 3000 2019-03-13 16:25:35 +01:00
qcom-ipq4019-linksys_ea8300.dts ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
qcom-ipq4019-map-ac2200.dts ipq40xx: limit frequencies for Asus Lyra 2019-03-13 16:25:35 +01:00
qcom-ipq4019-qxwlan-e2600ac-c1.dts ipq40xx: add support for Qxwlan E2600AC C1 and C2 2019-02-28 11:26:11 +01:00
qcom-ipq4019-qxwlan-e2600ac-c2.dts ipq40xx: add support for Qxwlan E2600AC C1 and C2 2019-02-28 11:26:11 +01:00
qcom-ipq4019-qxwlan-e2600ac.dtsi ipq40xx: add support for Qxwlan E2600AC C1 and C2 2019-02-28 11:26:11 +01:00
qcom-ipq4019-unielec-u4019-32m.dts ipq40xx: Add support for Unielec U4019 2019-10-21 12:28:03 +02:00
qcom-ipq4019-unielec-u4019.dtsi ipq40xx: u4019: use reset-gpios instead of phy-reset-gpio 2019-11-07 22:51:37 +01:00
qcom-ipq4019-wpj419.dts ipq40xx: wpj419: use reset-gpios property for phy reset 2019-11-07 22:51:37 +01:00
qcom-ipq4028-wpj428.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4029-ap-303.dts ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00
qcom-ipq4029-gl-b1300.dts ipq40xx: dts: Unify naming of gpio-led nodes 2019-01-24 15:53:03 +01:00
qcom-ipq4029-mr33.dts ipq40xx: 4.19: fix pcie wifi unit-address of the MR33 and A62 2019-01-26 17:10:19 +01:00