openwrt/target/linux/ath79
David Bauer bf81a92171 ath79: create Aruba AP-105 APBoot compatible image
Alter the Aruba AP-105 image generation process so OpenWrt can be loaded
with the vendor Aruba APBoot.

This works by prepending the OpenWrt LZMA loader to the uImage and
jumping directly to the loader. Aruba does not offer bootm on these
boards.

This approach keeps compatibility to devices which had their U-Boot
replaced. Both bootloaders can boot the same image.

The same modification is most likely also possible for the Aruba AP-175.

With this patch, new installations do not require replacing the
bootloader and can be performed from the serial console without opening
the case.

Installation
------------

1. Attach to the serial console of the AP-105.
   Interrupt autoboot and change the U-Boot env.

   $ setenv apb_rb_openwrt "setenv ipaddr 192.168.1.1;
     setenv serverip 192.168.1.66;
     netget 0x84000000 ap105.bin; go 0x84000040"
   $ setenv apb_fb_openwrt "cp.b 0xbf040000 0x84000000 0x10000;
     go 0x84000040"
   $ setenv bootcmd "run apb_fb_openwrt"
   $ saveenv

2. Load the OpenWrt initramfs image on the device using TFTP.
   Place the initramfs image as "ap105.bin" in the TFTP server
   root directory, connect it to the AP and make the server reachable
   at 192.168.1.66/24.

   $ run apb_rb_openwrt

3. Once OpenWrt booted, transfer the sysupgrade image to the device
   using scp and use sysupgrade to install the firmware.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit e11d00d44c)
2023-04-18 12:08:45 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:53 +02:00
dts ath79: Fix glinet ar300m usb not working 2023-04-02 22:07:28 +02:00
files ath79: add support for reset key on MikroTik RB912UAG-2HPnD 2022-01-19 16:40:12 +01:00
generic ath79: add support to TrendNet TEW-673GRU 2022-11-11 20:56:38 +01:00
image ath79: create Aruba AP-105 APBoot compatible image 2023-04-18 12:08:45 +02:00
mikrotik ath79: add support for RouterBOARD mAP 2022-06-30 10:05:25 +02:00
nand ath79: add LTE led for GL.iNet GL-XE300 2023-02-03 11:49:18 +01:00
patches-5.10 ath79: Refresh patches 2023-04-01 19:46:06 +02:00
tiny ath79: add low_mem to tiny image 2022-10-05 21:50:01 +02:00
config-5.10 kernel: mtd: backport SafeLoader parser 2022-10-27 12:34:19 +02:00
Makefile ath79: switch to Kernel 5.10 2021-12-21 21:38:52 +01:00
modules.mk