aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorJan Alexander <jan@nalx.net>2021-01-09 11:33:34 +0100
committerDavid Bauer <mail@david-bauer.net>2021-01-14 01:04:02 +0100
commit6738b5e2ac80ec7bcaaa47edf20d9b479550ed8e (patch)
tree47033a54a1f78217eee3374320a1ca240e7b3ac5 /package/boot/uboot-envtools
parent4e46beb31342a2b02e32185e91806093f68a77be (diff)
downloadupstream-6738b5e2ac80ec7bcaaa47edf20d9b479550ed8e.tar.gz
upstream-6738b5e2ac80ec7bcaaa47edf20d9b479550ed8e.tar.bz2
upstream-6738b5e2ac80ec7bcaaa47edf20d9b479550ed8e.zip
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 <jan@nalx.net>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/ipq40xx6
1 files changed, 6 insertions, 0 deletions
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"
;;