openwrt/target/linux/ath79/image
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
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 09:20:59 +02:00
common-buffalo.mk ath79: use common device definition for Buffalo devices 2020-09-16 17:31:03 +02:00
common-mikrotik.mk ath79: mikrotik: use OpenWrt loader for initram image 2022-11-27 15:43:08 +01:00
common-netgear.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-senao.mk ath79: use lzma-loader for Senao initramfs images 2023-04-02 22:07:28 +02:00
common-tp-link.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-ubnt.mk ath79: move ubnt-xm to tiny 2022-10-05 21:50:01 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk ath79: add support for TP-Link Deco M4R v1 and v2 2022-05-17 21:14:46 +02:00
generic-ubnt.mk ath79: disable image building for Ubiquiti EdgeSwitch 8XP 2022-11-27 15:43:08 +01:00
generic.mk ath79: create Aruba AP-105 APBoot compatible image 2023-04-18 12:08:45 +02:00
Makefile ath79: image: don't depend on other COMPILE targets 2022-12-22 00:14:30 +01:00
mikrotik.mk ath79: add support for RouterBOARD mAP 2022-06-30 10:05:25 +02:00
nand.mk ath79: add LTE packages for GL-XE300 2023-02-03 11:49:18 +01:00
tiny-netgear.mk ath79: netgear: trim down uImage customisations 2020-11-25 16:33:49 +01:00
tiny-tp-link.mk ath79: tiny: Do not build TPLink WPA8630Pv2 by default 2023-04-02 22:25:49 +02:00
tiny-ubnt.mk ath79: move ubnt-xm to tiny 2022-10-05 21:50:01 +02:00
tiny.mk ath79: image: use 'kmod-usb-chipidea2' for AR933x devices 2022-02-21 22:22:30 +01:00