Until now only HW modded SPI flash version was supported. BCM6328 with 64M RAM and 128M NAND. More info: https://openwrt.org/toh/sercomm/ad1018 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
47 lines
750 B
Bash
47 lines
750 B
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
#
|
|
|
|
. /lib/functions.sh
|
|
|
|
do_fixcrc() {
|
|
mtd fixtrx linux
|
|
}
|
|
|
|
case "$(board_name)" in
|
|
actiontec,r1000h|\
|
|
adb,a4001n|\
|
|
adb,a4001n1|\
|
|
brcm,bcm96328avng|\
|
|
brcm,bcm963281tan|\
|
|
bt,voyager-2110|\
|
|
bt,voyager-2500v-bb|\
|
|
comtrend,ar-5315u|\
|
|
comtrend,ar-5381u|\
|
|
comtrend,ar-5387un|\
|
|
comtrend,vr-3025u|\
|
|
comtrend,vr-3025un|\
|
|
comtrend,vr-3026e|\
|
|
comtrend,wap-5813n|\
|
|
comtrend,ct-6373|\
|
|
d-link,dsl-274xb-f1|\
|
|
dynalink,rta770bw|\
|
|
dynalink,rta770w|\
|
|
huawei,echolife-hg622|\
|
|
netgear,evg2000|\
|
|
nucom,r5010un-v2|\
|
|
observa,vh4032n|\
|
|
t-com,speedport-w-303v|\
|
|
telsey,cpva502plus|\
|
|
telsey,cpva642|\
|
|
telsey,magic|\
|
|
zyxel,p870hw-51a-v2)
|
|
do_fixcrc
|
|
;;
|
|
sercomm,ad1018)
|
|
mtd erase bootflag2
|
|
;;
|
|
esac
|