ImmortalWrt/target/linux/ath79
Martin Kennedy 90ad13c763 ath79: create APBoot-compatible image for Aruba AP-175
As was done in commit e11d00d44c ("ath79: create Aruba AP-105 APBoot
compatible image"), alter the Aruba AP-175 image generation process so
OpenWrt can be loaded with the vendor Aruba APBoot. Since the
remainder of the explanation and installation process is identical,
continuing the quote from that commit:

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.

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-175.
   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 ap175.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 "ap175.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: Martin Kennedy <hurricos@gmail.com>
2023-04-24 10:44:49 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: add support for Alcatel HH40V 2023-04-23 19:32:18 +02:00
files treewide: strip useless default n Kconfig lines 2023-02-03 12:50:15 +01:00
generic ath79: add support for Alcatel HH40V 2023-04-23 19:32:18 +02:00
image ath79: create APBoot-compatible image for Aruba AP-175 2023-04-24 10:44:49 +02:00
mikrotik ath79: mikrotik: update kernel on NAND using Yafut 2023-04-18 13:53:04 +02:00
nand ath79: add support for GL.iNet GL-X1200 2023-02-25 14:31:42 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.177 2023-04-08 15:32:01 +02:00
patches-5.15 kernel: backport eth_addr_add() 2023-03-21 06:16:50 +01:00
tiny treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
config-5.10 kernel: mtd: backport SafeLoader parser 2022-10-19 07:07:14 +02:00
config-5.15 kernel: mtd: backport SafeLoader parser 2022-10-19 07:07:14 +02:00
Makefile ath79: switch to 5.15 as default kernel 2022-09-24 13:04:24 +02:00
modules.mk