[openwrt/openwrt] uboot-envtools: add WS-AP3825i config

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 25 15:58:11 PDT 2022


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fb7ff6b027d1c69e97e6d39e688a969c164065c8

commit fb7ff6b027d1c69e97e6d39e688a969c164065c8
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Apr 25 00:04:09 2022 +0200

    uboot-envtools: add WS-AP3825i config
    
    Add configuration to use uboot-envtools with the Extreme Networks
    WS-AP3825i.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 package/boot/uboot-envtools/files/mpc85xx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/boot/uboot-envtools/files/mpc85xx b/package/boot/uboot-envtools/files/mpc85xx
index df6e5f670b..36d9f753a1 100644
--- a/package/boot/uboot-envtools/files/mpc85xx
+++ b/package/boot/uboot-envtools/files/mpc85xx
@@ -8,6 +8,10 @@ touch /etc/config/ubootenv
 board=$(board_name)
 
 case "$board" in
+extreme-networks,ws-ap3825i)
+	ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x20000"
+	ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x20000"
+	;;
 ocedo,panda)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
 	ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000"




More information about the lede-commits mailing list