From 6738b5e2ac80ec7bcaaa47edf20d9b479550ed8e Mon Sep 17 00:00:00 2001 From: Jan Alexander Date: Sat, 9 Jan 2021 11:33:34 +0100 Subject: uboot-envtools: add support for Aruba AP-303 and AP-365 Both devices use u-boot env variables to boot OpenWrt from its flash partition. Using u-boot envtools, it is possible to change the bootcmd back to the stock firmware partition directly from OpenWrt without attaching a serial cable or even physically accessing the device. Signed-off-by: Jan Alexander --- package/boot/uboot-envtools/files/ipq40xx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/boot/uboot-envtools/files') diff --git a/package/boot/uboot-envtools/files/ipq40xx b/package/boot/uboot-envtools/files/ipq40xx index 8a0de7a548..b24cbf979e 100644 --- a/package/boot/uboot-envtools/files/ipq40xx +++ b/package/boot/uboot-envtools/files/ipq40xx @@ -43,6 +43,12 @@ plasmacloud,pa1200 |\ plasmacloud,pa2200) ubootenv_add_uci_config "/dev/mtd5" "0x0" "0x10000" "0x10000" ;; +aruba,ap-303) + ubootenv_add_uci_config "/dev/mtd13" "0x0" "0x10000" "0x10000" + ;; +aruba,ap-365) + ubootenv_add_uci_config "/dev/mtd8" "0x0" "0x10000" "0x10000" + ;; buffalo,wtr-m2133hp) ubootenv_add_uci_config "/dev/mtd8" "0x0" "0x40000" "0x20000" ;; -- cgit v1.2.3