lantiq: use the compatible string as board name

Use the first compatible string as board name in userspace. Add the new
board name as well as the former used board name to the image metadata
to keep compatibilty with already deployed installations.

Don't add the former used boardname for boards which exists only in
master or evaluation boards.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2017-04-08 11:16:21 +02:00
parent aba421432f
commit 63d7f7fc92
10 changed files with 136 additions and 72 deletions

View file

@ -13,19 +13,19 @@ touch /etc/config/ubootenv
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
BTHOMEHUBV2B) bt,homehub-v2b)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1" ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
;; ;;
BTHOMEHUBV3A) bt,homehub-v3a)
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "1" ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "1"
;; ;;
GIGASX76X) siemens,gigaset-sx76x)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1" ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
;; ;;
P2812HNUF1) zyxel,p-2812hnu-f1)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1" ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
;; ;;
WBMR300) buffalo,wbmr-300hpd)
idx="$(find_mtd_index ubootconfig)" idx="$(find_mtd_index ubootconfig)"
[ -n "$idx" ] && \ [ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2" ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"

View file

@ -32,40 +32,43 @@ led_dsl="$(get_dt_led dsl)"
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
ALL0333CJ) allnet,all0333cj)
ucidef_set_led_netdev "lan" "lan" "all0333cj:green:lan" "eth0.1" ucidef_set_led_netdev "lan" "lan" "all0333cj:green:lan" "eth0.1"
;; ;;
ARV4525PW) arcadyan,arv4525pw)
ucidef_set_led_netdev "wifi" "wifi" "arv4525pw:green:wlan" "wlan0" ucidef_set_led_netdev "wifi" "wifi" "arv4525pw:green:wlan" "wlan0"
;; ;;
ARV7506PW11) arcadyan,arv7506pw11)
ucidef_set_led_wlan "wifi" "wifi" "arv7506pw11:green:wlan" "phy0radio" ucidef_set_led_wlan "wifi" "wifi" "arv7506pw11:green:wlan" "phy0radio"
;; ;;
ARV7519RW22) arcadyan,arv7519rw22)
ucidef_set_led_netdev "lan" "lan" "arv7519rw22:green:lan" "eth0.1" ucidef_set_led_netdev "lan" "lan" "arv7519rw22:green:lan" "eth0.1"
;; ;;
ARV752DPW22) arcadyan,arv752dpw22)
ucidef_set_led_wlan "wifi" "wifi" "arv752dpw22:red:wifi" "phy0radio" ucidef_set_led_wlan "wifi" "wifi" "arv752dpw22:red:wifi" "phy0radio"
;; ;;
BTHOMEHUBV5A) bt,homehub-v5a)
ucidef_set_led_default "dimmed" "dimmed" "dimmed" "0" ucidef_set_led_default "dimmed" "dimmed" "dimmed" "0"
;; ;;
DM200) netgear,dm200)
ucidef_set_led_netdev "lan" "lan" "dm200:green:lan" "eth0" ucidef_set_led_netdev "lan" "lan" "dm200:green:lan" "eth0"
;; ;;
FRITZ7320) avm,fritz7320)
ucidef_set_led_netdev "wifi" "wifi" "fritz7320:green:wlan" "wlan0" ucidef_set_led_netdev "wifi" "wifi" "fritz7320:green:wlan" "wlan0"
;; ;;
P2812HNUF*) zyxel,p-2812hnu-f1|\
zyxel,p-2812hnu-f3)
ucidef_set_led_wlan "wifi" "wifi" "p2812hnufx:green:wlan" "phy0radio" ucidef_set_led_wlan "wifi" "wifi" "p2812hnufx:green:wlan" "phy0radio"
;; ;;
VGV7510KW22*) arcadyan,vgv7510kw22-nor|\
arcadyan,vgv7510kw22-brn)
ucidef_set_led_wlan "wifi" "wifi" "vgv7510kw22:green:wlan" "phy0radio" ucidef_set_led_wlan "wifi" "wifi" "vgv7510kw22:green:wlan" "phy0radio"
;; ;;
VGV7519*) arcadyan,vgv7519-nor|\
arcadyan,vgv7519-brn)
ucidef_set_led_wlan "wifi" "wifi" "vgv7519:green:wireless" "phy0radio" ucidef_set_led_wlan "wifi" "wifi" "vgv7519:green:wireless" "phy0radio"
;; ;;
WBMR300) buffalo,wbmr-300hpd)
ucidef_set_led_switch "lan1" "LAN1" "wbmr300:green:lan1" "switch0" "0x08" ucidef_set_led_switch "lan1" "LAN1" "wbmr300:green:lan1" "switch0" "0x08"
ucidef_set_led_switch "lan2" "LAN2" "wbmr300:green:lan2" "switch0" "0x04" ucidef_set_led_switch "lan2" "LAN2" "wbmr300:green:lan2" "switch0" "0x04"
ucidef_set_led_switch "wan" "WAN" "wbmr300:green:wan" "switch0" "0x10" ucidef_set_led_switch "wan" "WAN" "wbmr300:green:wan" "switch0" "0x10"

View file

@ -23,199 +23,199 @@ interface_wan="dsl0"
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
ACMP252) audiocodes,mp-252)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0"
;; ;;
ALL0333CJ) allnet,all0333cj)
annex="b" annex="b"
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
ARV4510PW) arcadyan,arv4510pw)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "2:lan:2" "1:lan:3" "3:lan:1" "5t@eth0" "0:lan:4" "2:lan:2" "1:lan:3" "3:lan:1" "5t@eth0"
;; ;;
ARV4519PW|ARV7510PW22|ARV7518PW) arcadyan,arv4519pw|arcadyan,arv7510pw22|arcadyan,arv7518pw)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan"
;; ;;
ARV4520PW) arcadyan,arv4520pw)
annex="b" annex="b"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0" "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;; ;;
ARV4525PW|ARV452CQW|ARV7525PW|ARV752DPW) arcadyan,arv4525pw|arcadyan,arv452cqw|arcadyan,arv7525pw|arcadyan,arv752dpw)
annex="b" annex="b"
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
ARV7506PW11) arcadyan,arv7506pw11)
annex="b" annex="b"
wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 2) wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 2)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0"
;; ;;
ARV7519PW) arcadyan,arv7519pw)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0" "0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0"
;; ;;
ARV7519RW22) arcadyan,arv7519rw22)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 22)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 22)" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:5" "2:lan:3" "3:lan:4" "4:lan:1" "5:lan:2" "6t@eth0" "0:lan:5" "2:lan:3" "3:lan:4" "4:lan:1" "5:lan:2" "6t@eth0"
;; ;;
ARV752DPW22|ARV8539PW22) arcadyan,arv752dpw22|arcadyan,arv8539pw22)
annex="b" annex="b"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan"
;; ;;
ASL56026) alphanetworks,asl56026)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(mtd_get_mac_ascii uboot_env wanmac) wan_mac=$(mtd_get_mac_ascii uboot_env wanmac)
ucidef_add_switch "switch0"\ ucidef_add_switch "switch0"\
"2:lan" "3:lan" "6t@eth0" "2:lan" "3:lan" "6t@eth0"
;; ;;
BTHOMEHUBV2B) bt,homehub-v2b)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5t@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5t@eth0"
;; ;;
BTHOMEHUBV3A) bt,homehub-v3a)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
BTHOMEHUBV5A) bt,homehub-v5a)
lan_mac=$(mtd_get_mac_binary_ubi caldata 4364) lan_mac=$(mtd_get_mac_binary_ubi caldata 4364)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0" "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0"
;; ;;
DGN1000B) netgear,dgn1000b)
annex="b" annex="b"
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
DGN3500*) netgear,dgn3500|netgear,dgn3500b)
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0" "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;; ;;
DM200) netgear,dm200)
lan_mac=$(mtd_get_mac_binary ART 0) lan_mac=$(mtd_get_mac_binary ART 0)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
EASY80920NAND|EASY80920NOR) lantiq,easy80920-nand|lantiq,easy80920-nor)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0" "0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0"
;; ;;
FRITZ3370) avm,fritz3370)
annex="b" annex="b"
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2439)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2439)" 1)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
FRITZ7320) avm,fritz7320)
annex="b" annex="b"
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1)
ucidef_set_interface_lan 'eth0' ucidef_set_interface_lan 'eth0'
;; ;;
FRITZ7360SL) avm,fritz7360sl)
annex="b" annex="b"
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0" "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0"
;; ;;
GIGASX76X) siemens,gigaset-sx76x)
annex="b" annex="b"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t@eth0"
;; ;;
H201L) zte,h201l)
annex="b" annex="b"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0" "0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0"
;; ;;
P2601HNFX) zyxel,p-2601hn)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "5t@eth0" "0:lan" "1:lan" "2:lan" "3:lan" "5t@eth0"
;; ;;
P2812HNUF*) zyxel,p-2812hnu-f1|zyxel,p-2812hnu-f3)
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "4:lan" "5:wan" "6t@eth0" "0:lan" "1:lan" "2:lan" "4:lan" "5:wan" "6t@eth0"
;; ;;
TDW8970|TDW8980) tplink,tdw8970|tplink,tdw8980)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 61696)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 61696)" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:2" "2:lan:3" "4:lan:4" "5:lan:1" "6t@eth0" "0:lan:2" "2:lan:3" "4:lan:4" "5:lan:1" "6t@eth0"
;; ;;
VG3503J) arcadyan,vg3503j)
lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1) wan_mac=$(macaddr_add "$lan_mac" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"2:lan:1" "4:lan:2" "6t@eth0" "2:lan:1" "4:lan:2" "6t@eth0"
;; ;;
VR200v) tplink,vr200v)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary romfile 61696)" 1) wan_mac=$(macaddr_add "$(mtd_get_mac_binary romfile 61696)" 1)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan" "2:lan" "4:lan" "5:lan" "6t@eth0" "0:lan" "2:lan" "4:lan" "5:lan" "6t@eth0"
;; ;;
VGV7510KW22*) arcadyan,vgv7510kw22-nor|arcadyan,vgv7510kw22-brn)
annex="b" annex="b"
wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 2) wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 2)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "4:lan:4" "5:lan:3" "0:wan:5" "6t@eth0" "2:lan:2" "3:lan:1" "4:lan:4" "5:lan:3" "0:wan:5" "6t@eth0"
;; ;;
VGV7519*) arcadyan,vgv7519-nor|arcadyan,vgv7519-brn)
wan_mac=$(mtd_get_mac_binary board_config 22) wan_mac=$(mtd_get_mac_binary board_config 22)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0" "0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t@eth0"
;; ;;
WBMR) buffalo,wbmr-hp-g300h)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "0t@eth0" "2:lan" "3:lan" "4:lan" "5:lan"
;; ;;
WBMR300) buffalo,wbmr-300hpd)
lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr) lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
wan_mac="$lan_mac" wan_mac="$lan_mac"
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \

View file

@ -38,7 +38,7 @@ case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin") "ath10k/cal-pci-0000:02:00.0.bin")
board=$(board_name) board=$(board_name)
case $board in case $board in
BTHOMEHUBV5A) bt,homehub-v5a)
ath10k_caldata_extract_ubi "caldata" 20480 2116 ath10k_caldata_extract_ubi "caldata" 20480 2116
ath10k_caldata_set_macaddr $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +3) ath10k_caldata_set_macaddr $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +3)
;; ;;

View file

@ -116,32 +116,32 @@ case "$FIRMWARE" in
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
ARV7518PW) arcadyan,arv7518pw)
ath9k_eeprom_extract "boardconfig" 1024 1 ath9k_eeprom_extract "boardconfig" 1024 1
;; ;;
ARV8539PW22) arcadyan,arv8539pw22)
ath9k_eeprom_extract "art" 1024 1 ath9k_eeprom_extract "art" 1024 1
;; ;;
BTHOMEHUBV2B) bt,homehub-v2b)
ath9k_eeprom_extract "art" 0 1 ath9k_eeprom_extract "art" 0 1
ath9k_patch_fw_mac_crc "00:00:00:00:00:00" 524 ath9k_patch_fw_mac_crc "00:00:00:00:00:00" 524
;; ;;
BTHOMEHUBV3A) bt,homehub-v3a)
ath9k_eeprom_extract "art-copy" 0 1 ath9k_eeprom_extract "art-copy" 0 1
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot_env ethaddr) +2) 268 ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot_env ethaddr) +2) 268
;; ;;
BTHOMEHUBV5A) bt,homehub-v5a)
ath9k_ubi_eeprom_extract "caldata" 4096 0 ath9k_ubi_eeprom_extract "caldata" 4096 0
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +2) 268 ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 4364) +2) 268
;; ;;
DGN3500*) netgear,dgn3500|netgear,dgn3500b)
ath9k_eeprom_extract "calibration" 61440 0 ath9k_eeprom_extract "calibration" 61440 0
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 524 ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_ascii uboot-env ethaddr) +2) 524
;; ;;
FRITZ3370|FRITZ7320|FRITZ7360SL) avm,fritz3370|avm,fritz7320|avm,fritz7360sl)
ath9k_eeprom_extract "urlader" 2437 0 ath9k_eeprom_extract "urlader" 2437 0
;; ;;
TDW8970|TDW8980) tplink,tdw8970|tplink,tdw8980)
ath9k_eeprom_extract "boardconfig" 135168 0 ath9k_eeprom_extract "boardconfig" 135168 0
;; ;;
*) *)

View file

@ -56,20 +56,21 @@ migrate_leds()
} }
case "$(board_name)" in case "$(board_name)" in
ARV452CQW|\ arcadyan,arv452cqw|\
ARV7510PW22|\ arcadyan,arv7510pw22|\
ARV7519RW22|\ arcadyan,arv7519rw22|\
ARV752DPW|\ arcadyan,arv752dpw|\
ARV752DPW22|\ arcadyan,arv752dpw22|\
ASL56026|\ alphanetworks,asl56026|\
BTHOMEHUBV2B|\ bt,homehub-v2b|\
BTHOMEHUBV3A|\ bt,homehub-v3a|\
BTHOMEHUBV5A|\ bt,homehub-v5a|\
FRTZ7360SL|\ avm,fritz7360sl|\
VG3503J) arcadyan,vg3503j)
do_internet_led_rename do_internet_led_rename
;; ;;
DGN3500*) netgear,dgn3500|\
netgear,dgn3500b)
migrate_leds "dgn3500:blue:wireless=dgn3500:green:wireless" migrate_leds "dgn3500:blue:wireless=dgn3500:green:wireless"
;; ;;
*) *)

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
lantiq_board_detect() { lantiq_board_detect() {
name=`grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"` name="$(strings /proc/device-tree/compatible | head -1)"
model=`grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"` model=`grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"`
[ -z "$name" ] && name="unknown" [ -z "$name" ] && name="unknown"
[ -z "$model" ] && model="unknown" [ -z "$model" ] && model="unknown"

View file

@ -9,7 +9,7 @@ platform_pre_upgrade() {
local board=$(board_name) local board=$(board_name)
case "$board" in case "$board" in
BTHOMEHUBV2B|BTHOMEHUBV3A|BTHOMEHUBV5A|P2812HNUF* ) bt,homehub-v2b|bt,homehub-v3a|bt,homehub-v5a|zyxel,p-2812hnu-f1|zyxel,p-2812hnu-f3)
nand_do_upgrade $1 nand_do_upgrade $1
;; ;;
esac esac

View file

@ -116,6 +116,7 @@ define Device/ALL0333CJ
DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \ DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \ kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
ltq-adsl-app ppp-mod-pppoe ltq-adsl-app ppp-mod-pppoe
SUPPORTED_DEVICES := allnet,all0333cj
endef endef
TARGET_DEVICES += ALL0333CJ TARGET_DEVICES += ALL0333CJ
@ -126,6 +127,7 @@ define Device/DGN1000B
DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \ DEVICE_PACKAGES := kmod-ltq-adsl-ase kmod-ltq-adsl-ase-mei \
kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \ kmod-ltq-adsl-ase-fw-b kmod-ltq-atm-ase \
ltq-adsl-app ppp-mod-pppoe ltq-adsl-app ppp-mod-pppoe
SUPPORTED_DEVICES += netgear,dgn1000b
endef endef
TARGET_DEVICES += DGN1000B TARGET_DEVICES += DGN1000B
@ -141,6 +143,7 @@ define Device/ARV4520PW
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-rt61-pci wpad-mini kmod-rt61-pci wpad-mini
SUPPORTED_DEVICES += arcadyan,arv4520pw
endef endef
TARGET_DEVICES += ARV4520PW TARGET_DEVICES += ARV4520PW
@ -151,6 +154,7 @@ define Device/ARV4525PW
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa -swconfig ltq-adsl-app ppp-mod-pppoa -swconfig
SUPPORTED_DEVICES += arcadyan,arv4525pw
endef endef
TARGET_DEVICES += ARV4525PW TARGET_DEVICES += ARV4525PW
@ -162,6 +166,7 @@ define Device/ARV452CQW
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa ltq-adsl-app ppp-mod-pppoa
SUPPORTED_DEVICES += arcadyan,arv452cqw
endef endef
TARGET_DEVICES += ARV452CQW TARGET_DEVICES += ARV452CQW
@ -173,6 +178,7 @@ define Device/ARV4518PWR01
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath5k wpad-mini kmod-ath5k wpad-mini
SUPPORTED_DEVICES += arcadyan,arv4518pwr01
endef endef
TARGET_DEVICES += ARV4518PWR01 TARGET_DEVICES += ARV4518PWR01
@ -184,6 +190,7 @@ define Device/ARV4518PWR01A
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath5k wpad-mini kmod-ath5k wpad-mini
SUPPORTED_DEVICES += arcadyan,arv4518pwr01a
endef endef
TARGET_DEVICES += ARV4518PWR01A TARGET_DEVICES += ARV4518PWR01A
@ -202,12 +209,14 @@ define Device/BTHOMEHUBV2B
kmod-ltq-deu-danube \ kmod-ltq-deu-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini kmod-ath9k kmod-owl-loader wpad-mini
SUPPORTED_DEVICES += bt,homehub-v2b
endef endef
TARGET_DEVICES += BTHOMEHUBV2B TARGET_DEVICES += BTHOMEHUBV2B
define Device/EASY50712 define Device/EASY50712
IMAGE_SIZE := 3776k IMAGE_SIZE := 3776k
DEVICE_TITLE := Lantiq Danube - EASY50712 DEVICE_TITLE := Lantiq Danube - EASY50712
SUPPORTED_DEVICES := lantiq,easy50712
endef endef
TARGET_DEVICES += EASY50712 TARGET_DEVICES += EASY50712
@ -221,6 +230,7 @@ define Device/ACMP252
kmod-rt2800-pci \ kmod-rt2800-pci \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
wpad-mini wpad-mini
SUPPORTED_DEVICES += audiocodes,mp-252
endef endef
TARGET_DEVICES += ACMP252 TARGET_DEVICES += ACMP252
@ -233,6 +243,7 @@ define Device/ARV4510PW
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-tapi kmod-ltq-vmmc \ kmod-ltq-tapi kmod-ltq-vmmc \
kmod-rt2800-pci kmod-ath5k wpad-mini kmod-rt2800-pci kmod-ath5k wpad-mini
SUPPORTED_DEVICES += arcadyan,arv4510pw
endef endef
TARGET_DEVICES += ARV4510PW TARGET_DEVICES += ARV4510PW
@ -243,6 +254,7 @@ define Device/ARV7525PW
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa -swconfig ltq-adsl-app ppp-mod-pppoa -swconfig
SUPPORTED_DEVICES += arcadyan,arv7525pw
endef endef
TARGET_DEVICES += ARV7525PW TARGET_DEVICES += ARV7525PW
@ -253,6 +265,7 @@ define Device/ARV4519PW
kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa ltq-adsl-app ppp-mod-pppoa
SUPPORTED_DEVICES += arcadyan,arv4519pw
endef endef
TARGET_DEVICES += ARV4519PW TARGET_DEVICES += ARV4519PW
@ -263,6 +276,7 @@ define Device/ARV7506PW11
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-rt2800-pci wpad-mini kmod-rt2800-pci wpad-mini
SUPPORTED_DEVICES += arcadyan,arv7506pw11
endef endef
TARGET_DEVICES += ARV7506PW11 TARGET_DEVICES += ARV7506PW11
@ -276,6 +290,7 @@ define Device/ARV7510PW22
kmod-ltq-tapi kmod-ltq-vmmc \ kmod-ltq-tapi kmod-ltq-vmmc \
kmod-rt2800-pci wpad-mini \ kmod-rt2800-pci wpad-mini \
kmod-usb-uhci kmod-usb2 kmod-usb2-pci kmod-usb-uhci kmod-usb2 kmod-usb2-pci
SUPPORTED_DEVICES += arcadyan,arv7510pw22
endef endef
TARGET_DEVICES += ARV7510PW22 TARGET_DEVICES += ARV7510PW22
@ -287,6 +302,7 @@ define Device/ARV7518PW
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini kmod-ath9k kmod-owl-loader wpad-mini
SUPPORTED_DEVICES += arcadyan,arv7518pw
endef endef
TARGET_DEVICES += ARV7518PW TARGET_DEVICES += ARV7518PW
@ -298,6 +314,7 @@ define Device/ARV7519PW
kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-rt2800-pci wpad-mini kmod-rt2800-pci wpad-mini
SUPPORTED_DEVICES += arcadyan,arv7519pw
endef endef
TARGET_DEVICES += ARV7519PW TARGET_DEVICES += ARV7519PW
@ -310,6 +327,7 @@ define Device/ARV752DPW
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-tapi kmod-ltq-vmmc \ kmod-ltq-tapi kmod-ltq-vmmc \
kmod-rt2800-pci wpad-mini kmod-rt2800-pci wpad-mini
SUPPORTED_DEVICES += arcadyan,arv752dpw
endef endef
TARGET_DEVICES += ARV752DPW TARGET_DEVICES += ARV752DPW
@ -322,6 +340,7 @@ define Device/ARV752DPW22
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-tapi kmod-ltq-vmmc \ kmod-ltq-tapi kmod-ltq-vmmc \
kmod-rt2800-pci wpad-mini kmod-rt2800-pci wpad-mini
SUPPORTED_DEVICES += arcadyan,arv752dpw22
endef endef
TARGET_DEVICES += ARV752DPW22 TARGET_DEVICES += ARV752DPW22
@ -333,6 +352,7 @@ define Device/ARV8539PW22
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini kmod-ath9k kmod-owl-loader wpad-mini
SUPPORTED_DEVICES += arcadyan,arv8539pw22
endef endef
TARGET_DEVICES += ARV8539PW22 TARGET_DEVICES += ARV8539PW22
@ -344,6 +364,7 @@ define Device/GIGASX76X
kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
ltq-adsl-app ppp-mod-pppoe \ ltq-adsl-app ppp-mod-pppoe \
kmod-ath5k wpad-mini kmod-ath5k wpad-mini
SUPPORTED_DEVICES += siemens,gigaset-sx76x
endef endef
TARGET_DEVICES += GIGASX76X TARGET_DEVICES += GIGASX76X
@ -360,6 +381,7 @@ define Device/BTHOMEHUBV3A
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini \ kmod-ath9k kmod-owl-loader wpad-mini \
uboot-envtools uboot-envtools
SUPPORTED_DEVICES += bt,homehub-v3a
endef endef
TARGET_DEVICES += BTHOMEHUBV3A TARGET_DEVICES += BTHOMEHUBV3A
@ -391,6 +413,7 @@ define Device/DGN3500
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-deu-ar9 kmod-ltq-deu-ar9
SUPPORTED_DEVICES += netgear,dgn3500
endef endef
TARGET_DEVICES += DGN3500 TARGET_DEVICES += DGN3500
@ -411,6 +434,7 @@ define Device/DGN3500B
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-deu-ar9 kmod-ltq-deu-ar9
SUPPORTED_DEVICES += netgear,dgn3500b
endef endef
TARGET_DEVICES += DGN3500B TARGET_DEVICES += DGN3500B
@ -423,6 +447,7 @@ define Device/WBMRA
kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-a kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini kmod-ath9k kmod-owl-loader wpad-mini
SUPPORTED_DEVICES += buffalo,wbmr-hp-g300h
endef endef
TARGET_DEVICES += WBMRA TARGET_DEVICES += WBMRA
@ -435,6 +460,7 @@ define Device/WBMRB
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ath9k kmod-owl-loader wpad-mini kmod-ath9k kmod-owl-loader wpad-mini
SUPPORTED_DEVICES += buffalo,wbmr-hp-g300h
endef endef
TARGET_DEVICES += WBMRB TARGET_DEVICES += WBMRB
@ -447,6 +473,7 @@ define Device/FRITZ7320
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoa \ ltq-adsl-app ppp-mod-pppoa \
kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig kmod-ltq-deu-ar9 kmod-usb-dwc2 -swconfig
SUPPORTED_DEVICES += avm,fritz7320
endef endef
TARGET_DEVICES += FRITZ7320 TARGET_DEVICES += FRITZ7320
@ -459,6 +486,7 @@ define Device/H201L
ltq-adsl-app ppp-mod-pppoe \ ltq-adsl-app ppp-mod-pppoe \
kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \ kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-usb-ledtrig-usbport \
kmod-ltq-tapi kmod-ltq-vmmc kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += zte,h201l
endef endef
TARGET_DEVICES += H201L TARGET_DEVICES += H201L
@ -470,6 +498,7 @@ define Device/P2601HNFX
kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \ kmod-ltq-adsl-ar9-fw-b kmod-ltq-atm-ar9 \
ltq-adsl-app ppp-mod-pppoe \ ltq-adsl-app ppp-mod-pppoe \
kmod-ltq-deu-ar9 kmod-usb-dwc2 kmod-ltq-deu-ar9 kmod-usb-dwc2
SUPPORTED_DEVICES += zyxel,p-2601hn
endef endef
TARGET_DEVICES += P2601HNFX TARGET_DEVICES += P2601HNFX
@ -485,6 +514,7 @@ define Device/P2812HNUF1
$(Device/NAND) $(Device/NAND)
DEVICE_TITLE := ZyXEL P-2812HNU-F1 DEVICE_TITLE := ZyXEL P-2812HNU-F1
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += zyxel,p-2812hnu-f1
endef endef
TARGET_DEVICES += P2812HNUF1 TARGET_DEVICES += P2812HNUF1
@ -492,6 +522,7 @@ define Device/P2812HNUF3
$(Device/NAND) $(Device/NAND)
DEVICE_TITLE := ZyXEL P-2812HNU-F3 DEVICE_TITLE := ZyXEL P-2812HNU-F3
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
SUPPORTED_DEVICES += zyxel,p-2812hnu-f3
endef endef
TARGET_DEVICES += P2812HNUF3 TARGET_DEVICES += P2812HNUF3
@ -499,12 +530,14 @@ define Device/ARV7519RW22
IMAGE_SIZE := 31232k IMAGE_SIZE := 31232k
DEVICE_TITLE := Livebox Astoria ARV7519RW22 DEVICE_TITLE := Livebox Astoria ARV7519RW22
DEVICE_PACKAGES := kmod-usb-dwc2 DEVICE_PACKAGES := kmod-usb-dwc2
SUPPORTED_DEVICES += arcadyan,arv7519rw22
endef endef
TARGET_DEVICES += ARV7519RW22 TARGET_DEVICES += ARV7519RW22
define Device/ASL56026 define Device/ASL56026
IMAGE_SIZE := 7488k IMAGE_SIZE := 7488k
DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/I DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/I
SUPPORTED_DEVICES := alphanetworks,asl56026
endef endef
TARGET_DEVICES += ASL56026 TARGET_DEVICES += ASL56026
@ -513,6 +546,7 @@ define Device/BTHOMEHUBV5A
DEVICE_TITLE := BT Home Hub 5A DEVICE_TITLE := BT Home Hub 5A
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader \
kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2 kmod-ath10k ath10k-firmware-qca988x wpad-mini kmod-usb-dwc2
SUPPORTED_DEVICES += bt,homehub-v5a
endef endef
TARGET_DEVICES += BTHOMEHUBV5A TARGET_DEVICES += BTHOMEHUBV5A
@ -523,6 +557,7 @@ define Device/DM200
DEVICE_TITLE := Netgear DM200 DEVICE_TITLE := Netgear DM200
NETGEAR_BOARD_ID := DM200 NETGEAR_BOARD_ID := DM200
NETGEAR_HW_ID := 29765233+8+0+64+0+0 NETGEAR_HW_ID := 29765233+8+0+64+0+0
SUPPORTED_DEVICES := netgear,dm200
endef endef
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
TARGET_DEVICES += DM200 TARGET_DEVICES += DM200
@ -532,6 +567,7 @@ define Device/EASY80920NAND
IMAGE_SIZE := 64512k IMAGE_SIZE := 64512k
DEVICE_TITLE := Lantiq VR9 - EASY80920NAND DEVICE_TITLE := Lantiq VR9 - EASY80920NAND
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES := lantiq,easy80920-nand
endef endef
TARGET_DEVICES += EASY80920NAND TARGET_DEVICES += EASY80920NAND
@ -539,6 +575,7 @@ define Device/EASY80920NOR
IMAGE_SIZE := 7936k IMAGE_SIZE := 7936k
DEVICE_TITLE := Lantiq VR9 - EASY80920NOR DEVICE_TITLE := Lantiq VR9 - EASY80920NOR
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES := lantiq,easy80920-nor
endef endef
TARGET_DEVICES += EASY80920NOR TARGET_DEVICES += EASY80920NOR
@ -547,6 +584,7 @@ define Device/FRITZ3370
$(Device/NAND) $(Device/NAND)
DEVICE_TITLE := Fritz!Box WLan - FRITZ3370 DEVICE_TITLE := Fritz!Box WLan - FRITZ3370
DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-ath9k wpad-mini kmod-usb-dwc2
SUPPORTED_DEVICES += avm,fritz3370
endef endef
TARGET_DEVICES += FRITZ3370 TARGET_DEVICES += FRITZ3370
@ -555,12 +593,14 @@ define Device/FRITZ7360SL
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL DEVICE_TITLE := 1&1 HomeServer - FRITZ7360SL
DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2
SUPPORTED_DEVICES += avm,fritz7360sl
endef endef
TARGET_DEVICES += FRITZ7360SL TARGET_DEVICES += FRITZ7360SL
define Device/VG3503J define Device/VG3503J
IMAGE_SIZE := 8000k IMAGE_SIZE := 8000k
DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/R DEVICE_TITLE := BT OpenReach - ECI VDSL Modem V-2FUb/R
SUPPORTED_DEVICES += arcadyan,vg3503j
endef endef
TARGET_DEVICES += VG3503J TARGET_DEVICES += VG3503J
@ -570,6 +610,7 @@ define Device/WBMR300
IMAGE_SIZE := 15616k IMAGE_SIZE := 15616k
DEVICE_TITLE := Buffalo WBMR-300HPD DEVICE_TITLE := Buffalo WBMR-300HPD
DEVICE_PACKAGES := kmod-mt7603 wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-mt7603 wpad-mini kmod-usb-dwc2
SUPPORTED_DEVICES += buffalo,wbmr-300hpd
endef endef
TARGET_DEVICES += WBMR300 TARGET_DEVICES += WBMR300
@ -577,6 +618,7 @@ define Device/VGV7510KW22NOR
IMAGE_SIZE := 15232k IMAGE_SIZE := 15232k
DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (NOR) DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (NOR)
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += arcadyan,vgv7510kw22-nor
endef endef
TARGET_DEVICES += VGV7510KW22NOR TARGET_DEVICES += VGV7510KW22NOR
@ -588,6 +630,7 @@ define Device/VGV7510KW22BRN
CRC32_POLY := 0x04c11db7 CRC32_POLY := 0x04c11db7
DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (BRN) DEVICE_TITLE := o2 Box 6431 / Arcadyan VGV7510KW22 (BRN)
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += arcadyan,vgv7510kw22-brn
endef endef
TARGET_DEVICES += VGV7510KW22BRN TARGET_DEVICES += VGV7510KW22BRN
@ -595,6 +638,7 @@ define Device/VGV7519NOR
IMAGE_SIZE := 15360k IMAGE_SIZE := 15360k
DEVICE_TITLE := Experiabox 8 VGV7519 DEVICE_TITLE := Experiabox 8 VGV7519
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += arcadyan,vgv7519-nor
endef endef
TARGET_DEVICES += VGV7519NOR TARGET_DEVICES += VGV7519NOR
@ -606,6 +650,7 @@ define Device/VGV7519BRN
CRC32_POLY := 0x2083b8ed CRC32_POLY := 0x2083b8ed
DEVICE_TITLE := Experiabox 8 VGV7519 (BRN) DEVICE_TITLE := Experiabox 8 VGV7519 (BRN)
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 kmod-ltq-tapi kmod-ltq-vmmc
SUPPORTED_DEVICES += arcadyan,vgv7519-brn
endef endef
TARGET_DEVICES += VGV7519BRN TARGET_DEVICES += VGV7519BRN
@ -618,6 +663,7 @@ define Device/EASY98000NOR
IMAGE_SIZE := 3904k IMAGE_SIZE := 3904k
DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NOR DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NOR
DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
SUPPORTED_DEVICES := lantiq,easy98000-nor
endef endef
TARGET_DEVICES += EASY98000NOR TARGET_DEVICES += EASY98000NOR
@ -625,6 +671,7 @@ define Device/EASY98000NAND
IMAGE_SIZE := 3904k IMAGE_SIZE := 3904k
DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NAND DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board NAND
DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
SUPPORTED_DEVICES := lantiq,easy98000-nand
endef endef
TARGET_DEVICES += EASY98000NAND TARGET_DEVICES += EASY98000NAND
@ -632,60 +679,70 @@ define Device/EASY98000SFLASH
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board SFLASH DEVICE_TITLE := EASY98000 - Lantiq Falcon Eval Board SFLASH
DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24 DEVICE_PACKAGES := kmod-dm9000 kmod-i2c-lantiq kmod-eeprom-at24
SUPPORTED_DEVICES := lantiq,easy98000-sflash
endef endef
TARGET_DEVICES += EASY98000SFLASH TARGET_DEVICES += EASY98000SFLASH
define Device/FALCON-MDU define Device/FALCON-MDU
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := MDU - Lantiq Falcon / VINAXdp MDU Board DEVICE_TITLE := MDU - Lantiq Falcon / VINAXdp MDU Board
SUPPORTED_DEVICES := lantiq,falcon-mdu
endef endef
TARGET_DEVICES += FALCON-MDU TARGET_DEVICES += FALCON-MDU
define Device/EASY88388 define Device/EASY88388
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY88388 - Lantiq Falcon FTTDP8 Reference Board DEVICE_TITLE := EASY88388 - Lantiq Falcon FTTDP8 Reference Board
SUPPORTED_DEVICES := lantiq,easy88388
endef endef
TARGET_DEVICES += EASY88388 TARGET_DEVICES += EASY88388
define Device/EASY88444 define Device/EASY88444
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY88444 - Lantiq Falcon FTTdp G.FAST Reference Board DEVICE_TITLE := EASY88444 - Lantiq Falcon FTTdp G.FAST Reference Board
SUPPORTED_DEVICES := lantiq,easy88444
endef endef
TARGET_DEVICES += EASY88444 TARGET_DEVICES += EASY88444
define Device/FALCON-SFP define Device/FALCON-SFP
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := SFP - Lantiq Falcon SFP Stick DEVICE_TITLE := SFP - Lantiq Falcon SFP Stick
SUPPORTED_DEVICES := lantiq,falcon-sfp
endef endef
TARGET_DEVICES += FALCON-SFP TARGET_DEVICES += FALCON-SFP
define Device/EASY98035SYNCE define Device/EASY98035SYNCE
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98035SYNCE - Lantiq Falcon SFP Stick with Synchronous Ethernet DEVICE_TITLE := EASY98035SYNCE - Lantiq Falcon SFP Stick with Synchronous Ethernet
SUPPORTED_DEVICES := lantiq,easy98035synce
endef endef
TARGET_DEVICES += EASY98035SYNCE TARGET_DEVICES += EASY98035SYNCE
define Device/EASY98035SYNCE1588 define Device/EASY98035SYNCE1588
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98035SYNCE1588 - Lantiq Falcon SFP Stick with SyncE and IEEE1588 DEVICE_TITLE := EASY98035SYNCE1588 - Lantiq Falcon SFP Stick with SyncE and IEEE1588
SUPPORTED_DEVICES := lantiq,easy98035synce1588
endef endef
TARGET_DEVICES += EASY98035SYNCE1588 TARGET_DEVICES += EASY98035SYNCE1588
define Device/EASY98020 define Device/EASY98020
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98020 - Lantiq Falcon SFU Reference Board DEVICE_TITLE := EASY98020 - Lantiq Falcon SFU Reference Board
SUPPORTED_DEVICES := lantiq,easy98020
endef endef
TARGET_DEVICES += EASY98020 TARGET_DEVICES += EASY98020
define Device/EASY98020V18 define Device/EASY98020V18
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98020V18 - Lantiq Falcon SFU Reference Board V1.8 DEVICE_TITLE := EASY98020V18 - Lantiq Falcon SFU Reference Board V1.8
SUPPORTED_DEVICES := lantiq,easy98020-v18
endef endef
TARGET_DEVICES += EASY98020V18 TARGET_DEVICES += EASY98020V18
define Device/EASY98021 define Device/EASY98021
IMAGE_SIZE := 7424k IMAGE_SIZE := 7424k
DEVICE_TITLE := EASY98021 - Lantiq Falcon HGU Reference Board DEVICE_TITLE := EASY98021 - Lantiq Falcon HGU Reference Board
SUPPORTED_DEVICES := lantiq,easy98021
endef endef
TARGET_DEVICES += EASY98021 TARGET_DEVICES += EASY98021

View file

@ -20,6 +20,7 @@ define Device/TDW8970
IMAGE_SIZE := 7680k IMAGE_SIZE := 7680k
DEVICE_TITLE := TP-LINK TD-W8970 DEVICE_TITLE := TP-LINK TD-W8970
DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += tplink,tdw8970
endef endef
TARGET_DEVICES += TDW8970 TARGET_DEVICES += TDW8970
@ -32,6 +33,7 @@ define Device/TDW8980
IMAGE_SIZE := 7680k IMAGE_SIZE := 7680k
DEVICE_TITLE := TP-LINK TD-W8980 DEVICE_TITLE := TP-LINK TD-W8980
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += tplink,tdw8980
endef endef
TARGET_DEVICES += TDW8980 TARGET_DEVICES += TDW8980
@ -45,6 +47,7 @@ define Device/VR200v
IMAGE_SIZE := 15808k IMAGE_SIZE := 15808k
DEVICE_TITLE := TP-LINK Archer VR200v DEVICE_TITLE := TP-LINK Archer VR200v
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += tplink,vr200v
endef endef
TARGET_DEVICES += VR200v TARGET_DEVICES += VR200v