1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:40:16 +02:00

ramips: add DIR-615 D userspace support

Commit 7c8edac25f introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34331 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-11-25 14:25:27 +00:00
parent 9b8d488dab
commit aa21e49e2a
5 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,7 @@ get_status_led() {
argus-atp52b) argus-atp52b)
status_led="argus-atp52b:green:run" status_led="argus-atp52b:green:run"
;; ;;
dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-615-h1 | dir-620-a1) dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-615-h1 | dir-615-d | dir-620-a1)
status_led="d-link:green:status" status_led="d-link:green:status"
;; ;;
dir-645) dir-645)

View File

@ -42,6 +42,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "devdata" 0 272 rt2x00_eeprom_extract "devdata" 0 272
;; ;;
dir-615-d | \
rt-n10-plus | \ rt-n10-plus | \
rt-g32-b1) rt-g32-b1)
rt2x00_eeprom_extract "devconf" 0 272 rt2x00_eeprom_extract "devconf" 0 272

View File

@ -36,6 +36,7 @@ case $board in
ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1" ucidef_set_led_default "wan" "WAN LED (amber)" "d-link:amber:wan" "1"
set_wifi_led "rt2800pci-phy0::radio" set_wifi_led "rt2800pci-phy0::radio"
;; ;;
dir-615-d|\
dir-615-h1) dir-615-h1)
ucidef_set_led_default "status" "Status LED (amber)" "d-link:amber:status" "0" ucidef_set_led_default "status" "Status LED (amber)" "d-link:amber:status" "0"
set_wifi_led "rt2800pci-phy0::radio" set_wifi_led "rt2800pci-phy0::radio"

View File

@ -92,6 +92,9 @@ ramips_board_name() {
*"DIR-615 H1") *"DIR-615 H1")
name="dir-615-h1" name="dir-615-h1"
;; ;;
*"DIR-615 D")
name="dir-615-d"
;;
*"DIR-645") *"DIR-645")
name="dir-645" name="dir-645"
;; ;;

View File

@ -24,6 +24,7 @@ platform_check_image() {
dir-600-b1 | \ dir-600-b1 | \
dir-600-b2 | \ dir-600-b2 | \
dir-615-h1 | \ dir-615-h1 | \
dir-615-d | \
dir-620-a1 | \ dir-620-a1 | \
dap-1350 | \ dap-1350 | \
esr-9753 | \ esr-9753 | \