Changeset 41939


Ignore:
Timestamp:
2014-08-01T22:51:24+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@…>

Location:
trunk/target/linux/ramips
Files:
2 added
6 edited

Legend:

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

    r41933 r41939  
    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" 
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/01_leds

    r41933 r41939  
    151151                set_wifi_led "rt2800pci-phy0::radio" 
    152152                ;; 
     153        vocore) 
     154                ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0" 
     155                set_wifi_led "vocore:green:status" 
     156                ;; 
    153157        w306r-v20) 
    154158                set_wifi_led "rt2800pci-phy0::radio" 
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/02_network

    r41936 r41939  
    165165                ;; 
    166166 
     167        vocore) 
     168                ucidef_set_interface_lan "eth0.1" 
     169                ucidef_add_switch "switch0" "1" "1" 
     170                ucidef_add_switch_vlan "switch0" "1" "0 4 6t" 
     171                ;; 
     172 
    167173        wcr-150gn) 
    168174                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" 
  • trunk/target/linux/ramips/base-files/lib/ramips.sh

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

    r41841 r41939  
    8181        wr6202 |\ 
    8282        v22rw-2x2 | \ 
     83        vocore | \ 
    8384        wl341v3 | \ 
    8485        wl-330n | \ 
  • trunk/target/linux/ramips/image/Makefile

    r41936 r41939  
    473473 
    474474Image/Build/Profile/V22RW-2X2=$(call BuildFirmware/Default4M/$(1),$(1),v22rw-2x2,V22RW-2X2) 
     475 
     476Image/Build/Profile/VOCORE=$(call BuildFirmware/Default8M/$(1),$(1),vocore,VOCORE) 
    475477 
    476478Image/Build/Profile/W150M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w150m,W150M,$(ralink_default_fw_size_4M),W150M Kernel Image,factory) 
     
    615617        $(call Image/Build/Profile/UR-326N4G,$(1)) 
    616618        $(call Image/Build/Profile/V22RW-2X2,$(1)) 
     619        $(call Image/Build/Profile/VOCORE,$(1)) 
    617620        $(call Image/Build/Profile/W150M,$(1)) 
    618621        $(call Image/Build/Profile/W306R_V20,$(1)) 
Note: See TracChangeset for help on using the changeset viewer.