aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-01-29 09:03:11 +0900
committerRobert Marko <robimarko@gmail.com>2023-01-16 12:42:23 +0100
commit6e03304c76aee6fc5c3139f4af8c24665ec7f89b (patch)
tree71430e0abc38cc2d13b65808f591c68abe25ea9a /package/boot
parent2ddb2057cdf4a08fd2abb8c09d02e28a2d14f406 (diff)
downloadupstream-6e03304c76aee6fc5c3139f4af8c24665ec7f89b.tar.gz
upstream-6e03304c76aee6fc5c3139f4af8c24665ec7f89b.tar.bz2
upstream-6e03304c76aee6fc5c3139f4af8c24665ec7f89b.zip
ipq807x: add Edgecore EAP102
The Edgecore EAP102 is a wall/ceiling mountable AP. The AP can be powered by either PoE or AC adapter. Device info: - IPQ8071-A SoC - 1GiB RAM - 256MiB NAND flash - 32MiB SPI NOR - 2 Ethernet ports - 1 Console port - 2GHz/5GHz AX WLAN - 2 USB 2.0 ports Install instructions: Prerequistes - TFTP server, preferrably within 192.168.1.0/24 Console cable plugged in (115200 8N1 no flow control) 1. Power on device and interrupt u-boot to obtain u-boot CLI 2. set serverip to IP address of the TFTP server: `setenv serverip 192.168.1.250` 3. Download image from TFTP server: `tftpboot 0x44000000 openwrt-ipq807x-generic-edgecore_eap102-squashfs-nand-factory.ubi` 4. Flash ubi image to both partitions and reset: `sf probe imxtract 0x44000000 ubi nand device 0 nand erase 0x0 0x3400000 nand erase 0x3c00000 0x3400000 nand write $fileaddr 0x0 $filesize nand write $fileaddr 0x3c00000 $filesize reset` Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-envtools/files/ipq807x5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/ipq807x b/package/boot/uboot-envtools/files/ipq807x
index e7057945b8..71fa7b7b79 100644
--- a/package/boot/uboot-envtools/files/ipq807x
+++ b/package/boot/uboot-envtools/files/ipq807x
@@ -8,6 +8,11 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
+edgecore,eap102)
+ idx="$(find_mtd_index 0:appsblenv)"
+ [ -n "$idx" ] && \
+ ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000" "1"
+ ;;
edimax,cax1800)
idx="$(find_mtd_index 0:appsblenv)"
[ -n "$idx" ] && \