Changeset 42376


Ignore:
Timestamp:
2014-09-01T15:21:49+02:00 (3 years ago)
Author:
blogic
Message:

ramips: Add support for VoCore

This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

Signed-off-by: Álvaro Fernández Rojas <noltari@…>

Backport of r41939

Location:
branches/barrier_breaker/target/linux/ramips
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • branches/barrier_breaker/target/linux/ramips/base-files/etc/diag.sh

    r41983 r42376  
    130130                status_led="v22rw-2x2:green:security" 
    131131                ;; 
     132        vocore) 
     133                status_led="vocore:green:status" 
     134                ;; 
    132135        w306r-v20) 
    133136                status_led="w306r-v20:green:sys" 
  • branches/barrier_breaker/target/linux/ramips/base-files/etc/uci-defaults/01_leds

    r42370 r42376  
    155155                set_wifi_led "rt2800pci-phy0::radio" 
    156156                ;; 
     157        vocore) 
     158                ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0" 
     159                set_wifi_led "vocore:green:status" 
     160                ;; 
    157161        w306r-v20) 
    158162                set_wifi_led "rt2800pci-phy0::radio" 
  • branches/barrier_breaker/target/linux/ramips/base-files/etc/uci-defaults/02_network

    r41983 r42376  
    164164                ;; 
    165165 
     166        vocore) 
     167                ucidef_set_interface_lan "eth0.1" 
     168                ucidef_add_switch "switch0" "1" "1" 
     169                ucidef_add_switch_vlan "switch0" "1" "0 4 6t" 
     170                ;; 
     171 
    166172        wcr-150gn) 
    167173                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" 
  • branches/barrier_breaker/target/linux/ramips/base-files/lib/ramips.sh

    r42370 r42376  
    239239                name="v22rw-2x2" 
    240240                ;; 
     241        *"VoCore") 
     242                name="vocore" 
     243                ;; 
    241244        *"W502U") 
    242245                name="w502u" 
  • branches/barrier_breaker/target/linux/ramips/base-files/lib/upgrade/platform.sh

    r42370 r42376  
    8282        wr6202 |\ 
    8383        v22rw-2x2 | \ 
     84        vocore | \ 
    8485        wl341v3 | \ 
    8586        wl-330n | \ 
  • branches/barrier_breaker/target/linux/ramips/image/Makefile

    r42370 r42376  
    476476 
    477477Image/Build/Profile/V22RW-2X2=$(call BuildFirmware/Default4M/$(1),$(1),v22rw-2x2,V22RW-2X2) 
     478 
     479Image/Build/Profile/VOCORE=$(call BuildFirmware/Default8M/$(1),$(1),vocore,VOCORE) 
    478480 
    479481Image/Build/Profile/W150M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w150m,W150M,$(ralink_default_fw_size_4M),W150M Kernel Image,factory) 
     
    618620        $(call Image/Build/Profile/UR-326N4G,$(1)) 
    619621        $(call Image/Build/Profile/V22RW-2X2,$(1)) 
     622        $(call Image/Build/Profile/VOCORE,$(1)) 
    620623        $(call Image/Build/Profile/W150M,$(1)) 
    621624        $(call Image/Build/Profile/W306R_V20,$(1)) 
Note: See TracChangeset for help on using the changeset viewer.