aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-03 23:22:19 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-07-10 17:36:29 +0200
commit7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e (patch)
tree22c5c97cd1667637ce4e262ca7b0535a69deafc4 /target/linux/ramips/base-files/lib
parent83efa8329b35a1a2688309323169fa624cec4e5c (diff)
downloadupstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.tar.gz
upstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.tar.bz2
upstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.zip
ramips/rt305x: Synchronize Makefiles with DTS compatible
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/04_handle_checksumming2
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh309
2 files changed, 1 insertions, 310 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming b/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming
index 3be82ae441..8f741faf9d 100644
--- a/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming
+++ b/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming
@@ -11,7 +11,7 @@ do_checksumming_disable() {
local board=$(board_name)
case "$board" in
- wnce2001)
+ netgear,wnce2001)
echo "Board is WNCE2001, updating checksum partition..."
local zeroes=/dev/zero
local tmpfile=/tmp/wnce2001_checksum
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index e52402f0a2..53fc7c30db 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -10,318 +10,9 @@ ramips_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
- *"3G150B")
- name="3g150b"
- ;;
- *"3G300M")
- name="3g300m"
- ;;
- *"3g-6200n")
- name="3g-6200n"
- ;;
- *"3g-6200nl")
- name="3g-6200nl"
- ;;
- *"A5-V11")
- name="a5-v11"
- ;;
- *"Air3GII")
- name="air3gii"
- ;;
- *"ALL0256N (4M)")
- name="all0256n-4M"
- ;;
- *"ALL0256N (8M)")
- name="all0256n-8M"
- ;;
- *"ALL5002")
- name="all5002"
- ;;
- *"ALL5003")
- name="all5003"
- ;;
- *"ASL26555 (8M)")
- name="asl26555-8M"
- ;;
- *"ASL26555 (16M)")
- name="asl26555-16M"
- ;;
- *"ATP-52B")
- name="atp-52b"
- ;;
- *"AWAPN2403")
- name="awapn2403"
- ;;
- *"AWM002 EVB (4M)")
- name="awm002-evb-4M"
- ;;
- *"AWM002 EVB (8M)")
- name="awm002-evb-8M"
- ;;
- *"BC2")
- name="bc2"
- ;;
- *"Broadway")
- name="broadway"
- ;;
- *"Carambola")
- name="carambola"
- ;;
- *"D105")
- name="d105"
- ;;
- *"DAP-1350")
- name="dap-1350"
- ;;
- *"DCS-930")
- name="dcs-930"
- ;;
- *"DCS-930L B1")
- name="dcs-930l-b1"
- ;;
- *"DIR-300 B1")
- name="dir-300-b1"
- ;;
- *"DIR-300 B7")
- name="dir-300-b7"
- ;;
- *"DIR-320 B1")
- name="dir-320-b1"
- ;;
- *"DIR-600 B1")
- name="dir-600-b1"
- ;;
- *"DIR-610 A1")
- name="dir-610-a1"
- ;;
- *"DIR-615 D")
- name="dir-615-d"
- ;;
- *"DIR-615 H1")
- name="dir-615-h1"
- ;;
- *"DIR-620 A1")
- name="dir-620-a1"
- ;;
- *"DIR-620 D1")
- name="dir-620-d1"
- ;;
- *"DWR-512 B")
- name="dwr-512-b"
- ;;
- *"ESR-9753")
- name="esr-9753"
- ;;
- *"F5D8235 v2")
- name="f5d8235-v2"
- ;;
- *"F7C027")
- name="f7c027"
- ;;
- *"Fonera 2.0N")
- name="fonera20n"
- ;;
- *"FreeStation5")
- name="freestation5"
- ;;
- *"HG255D")
- name="hg255d"
- ;;
- *"HLK-RM04")
- name="hlk-rm04"
- ;;
- *"HT-TM02")
- name="ht-tm02"
- ;;
- *"HW550-3G")
- name="hw550-3g"
- ;;
- *"IP2202")
- name="ip2202"
- ;;
- *"JHR-N805R")
- name="jhr-n805r"
- ;;
- *"JHR-N825R")
- name="jhr-n825r"
- ;;
- *"JHR-N926R")
- name="jhr-n926r"
- ;;
- *"M3")
- name="m3"
- ;;
- *"M4 (4M)")
- name="m4-4M"
- ;;
- *"M4 (8M)")
- name="m4-8M"
- ;;
- *"Memory 2 Move")
- name="m2m"
- ;;
- *"MiniEMBPlug")
- name="miniembplug"
- ;;
- *"MiniEMBWiFi")
- name="miniembwifi"
- ;;
- *"MOFI3500-3GN")
- name="mofi3500-3gn"
- ;;
- *"MPR-A1")
- name="mpr-a1"
- ;;
- *"MPR-A2")
- name="mpr-a2"
- ;;
- *"MR-102N")
- name="mr-102n"
- ;;
*"MT7688 evaluation"*)
name="mt7688"
;;
- *"MZK-DP150N")
- name="mzk-dp150n"
- ;;
- *"MZK-W300NH2"*)
- name="mzk-w300nh2"
- ;;
- *"MZK-WDPR"*)
- name="mzk-wdpr"
- ;;
- *"NBG-419N")
- name="nbg-419n"
- ;;
- *"NBG-419N v2")
- name="nbg-419n2"
- ;;
- *"NCS601W")
- name="ncs601w"
- ;;
- *"NixcoreX1 (8M)")
- name="nixcore-x1-8M"
- ;;
- *"NixcoreX1 (16M)")
- name="nixcore-x1-16M"
- ;;
- *"NW718")
- name="nw718"
- ;;
- *"PSR-680W"*)
- name="psr-680w"
- ;;
- *"PWH2004")
- name="pwh2004"
- ;;
- *"PX-4885 (4M)")
- name="px-4885-4M"
- ;;
- *"PX-4885 (8M)")
- name="px-4885-8M"
- ;;
- *"RN502J")
- name="xdxrn502j"
- ;;
- *"RT5350F-OLinuXino")
- name="rt5350f-olinuxino"
- ;;
- *"RT5350F-OLinuXino-EVB")
- name="rt5350f-olinuxino-evb"
- ;;
- *"RT-G32 B1")
- name="rt-g32-b1"
- ;;
- *"RT-N10+")
- name="rt-n10-plus"
- ;;
- *"RT-N13U")
- name="rt-n13u"
- ;;
- *"RUT5XX")
- name="rut5xx"
- ;;
- *"SL-R7205"*)
- name="sl-r7205"
- ;;
- *"TEW-638APB v2")
- name="tew-638apb-v2"
- ;;
- *"TEW-714TRU")
- name="tew-714tru"
- ;;
- *"UR-326N4G")
- name="ur-326n4g"
- ;;
- *"UR-336UN")
- name="ur-336un"
- ;;
- *"V22RW-2X2")
- name="v22rw-2x2"
- ;;
- *"VoCore (8M)")
- name="vocore-8M"
- ;;
- *"VoCore (16M)")
- name="vocore-16M"
- ;;
- *"W150M")
- name="w150m"
- ;;
- *"W306R V2.0")
- name="w306r-v20"
- ;;
- *"W502U")
- name="w502u"
- ;;
- *"WCR-150GN")
- name="wcr-150gn"
- ;;
- *"WHR-G300N")
- name="whr-g300n"
- ;;
- *"WIZARD 8800")
- name="wizard8800"
- ;;
- *"WizFi630A")
- name="wizfi630a"
- ;;
- *"WL-330N")
- name="wl-330n"
- ;;
- *"WL-330N3G")
- name="wl-330n3g"
- ;;
- *"WL-351 v1 002")
- name="wl-351"
- ;;
- *"WNCE2001")
- name="wnce2001"
- ;;
- *"WR512-3GN (4M)")
- name="wr512-3gn-4M"
- ;;
- *"WR512-3GN (8M)")
- name="wr512-3gn-8M"
- ;;
- *"WR6202")
- name="wr6202"
- ;;
- *"WT1520 (4M)")
- name="wt1520-4M"
- ;;
- *"WT1520 (8M)")
- name="wt1520-8M"
- ;;
- *"X5")
- name="x5"
- ;;
- *"X8")
- name="x8"
- ;;
- *"ZyXEL Keenetic")
- name="kn"
- ;;
esac
# use generic board detect if no name is set