forked from Ivasoft/openwrt
ramips: add support for D-Link DAP-1522 A1
D-Link DAP-1522 is a wireless bridge/access point with 4 LAN ports and a dual-band wireless chipset. Specifications: - Ralink RT2880 - 32 MB of RAM - 4 MB of Flash - 4x 10/100/1000 Mbps Ethernet (RTL8366SR) - 802.11abgn (RT2850) Flash Instructions: 1. Download lede-ramips-rt288x-dap-1522-a1-squashfs-factory.bin 2. Open the web interface and upload the image Signed-off-by: George Hopkins <george-hopkins@null.net>
This commit is contained in:
committed by
John Crispin
parent
5203355062
commit
13f9e40602
@@ -5,10 +5,10 @@
|
||||
|
||||
. /lib/functions.sh
|
||||
|
||||
fix_seama_header() {
|
||||
fix_checksum() {
|
||||
local kernel_size=$(sed -n 's/mtd[0-9]*: \([0-9a-f]*\).*"kernel".*/\1/p' /proc/mtd)
|
||||
|
||||
[ "$kernel_size" ] && mtd -c 0x$kernel_size fixseama firmware
|
||||
[ "$kernel_size" ] && mtd -c 0x$kernel_size fix$1 firmware
|
||||
}
|
||||
|
||||
board=$(board_name)
|
||||
@@ -18,6 +18,9 @@ cy-swr1100 | \
|
||||
dch-m225 | \
|
||||
dir-645 | \
|
||||
dir-860l-b1)
|
||||
fix_seama_header
|
||||
fix_checksum seama
|
||||
;;
|
||||
dap-1522-a1)
|
||||
fix_checksum wrg
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user