openwrt/target/linux
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
..
apm821xx kernel: bump 5.10 to 5.10.165 2023-01-28 20:08:14 +01:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
ath79 ath79: create Aruba AP-105 APBoot compatible image 2023-04-18 12:08:45 +02:00
bcm27xx kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
bcm47xx kernel: bump 5.10 to 5.10.169 2023-03-27 18:57:41 +02:00
bcm53xx kernel: bump 5.10 to 5.10.165 2023-01-28 20:08:14 +01:00
bcm63xx kernel: bump 5.10 to 5.10.163 2023-01-28 20:07:11 +01:00
bcm4908 bcm4908: include usbport trigger 2023-03-27 09:03:24 +02:00
bmips kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic kernel: backport fix for recently introduced UBI bug 2023-04-15 03:32:41 +01:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx kernel: bump 5.10 to 5.10.176 2023-03-27 18:59:53 +02:00
ipq806x kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-12-27 08:05:23 +01:00
lantiq lantiq: fix lzma-loader for Netgear DGN 3500(B) 2023-04-02 23:01:44 +02:00
layerscape layerscape: Fix SPI-NOR issues with vendor patches 2022-11-29 22:53:39 +01:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
mpc85xx mpc85xx: add support for Watchguard Firebox T10 2023-03-10 00:13:29 +01:00
mvebu kernel: bump 5.10 to 5.10.163 2023-01-28 20:07:11 +01:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon octeon: fix imagebuilder generation by introducing generic target 2022-10-23 14:21:03 +02:00
octeontx kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
qoriq qoriq: fix typo in FEATURES 2022-11-11 16:25:29 +02:00
ramips ramips: define remapping-range for DAP-X1860 2023-04-08 18:10:34 +02:00
realtek kernel: bump 5.10 to 5.10.166 2023-02-05 20:43:19 +01:00
rockchip kernel: bump 5.10 to 5.10.159 2022-12-15 01:26:25 +01:00
sunxi sunxi: fix typo in device packages for MarsBoard A10 2022-12-22 00:14:30 +01:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml uml: fix 5.10 build 2023-01-03 01:24:21 +01:00
x86 x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE 2023-03-27 18:58:01 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:45:03 +02:00