Changeset 29617 for trunk


Ignore:
Timestamp:
2011-12-28T09:43:43+01:00 (5 years ago)
Author:
juhosg
Message:

ramips: rt288x: add support for the Belkin F5D8235-4 v1 board

Patch-by: Cezary Jackiewicz <cezary.jackiewicz@…>

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

Legend:

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

    r29615 r29617  
    3636        esr-9753) 
    3737                status_led="esr-9753:orange:power" 
     38                ;; 
     39        f5d8235-v1) 
     40                set_usb_led "f5d8235-v1:green:usb" 
    3841                ;; 
    3942        fonera20n) 
  • trunk/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

    r29615 r29617  
    4242                ;; 
    4343 
     44        f5d8235-v1 | \ 
    4445        f5d8235-v2) 
    4546                rt2x00_eeprom_extract "u-boot" 262144 272 
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/network

    r29615 r29617  
    3636                ;; 
    3737 
     38        f5d8235-v1 | \ 
    3839        rt-n15) 
    3940                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" 
     
    6869        argus-atp52b | \ 
    6970        b2c | \ 
     71        f5d8235-v1 | \ 
    7072        nw718 | \ 
    7173        rt-n15 | \ 
  • trunk/target/linux/ramips/base-files/lib/ramips.sh

    r29615 r29617  
    6666                name="esr-9753" 
    6767                ;; 
     68        *"F5D8235 v1") 
     69                name="f5d8235-v1" 
     70                ;; 
    6871        *"F5D8235 v2") 
    6972                name="f5d8235-v2" 
  • trunk/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h

    r29615 r29617  
    1515        RAMIPS_MACH_GENERIC, 
    1616        /* RT2880 based machines */ 
     17        RAMIPS_MACH_F5D8235_V1,         /* Belkin F5D8235 v1 */ 
    1718        RAMIPS_MACH_RT_N15,             /* Asus RT-N15 */ 
    1819        RAMIPS_MACH_WLI_TX4_AG300N,     /* Buffalo WLI-TX4-AG300N */ 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/Kconfig

    r29612 r29617  
    22 
    33menu "Ralink RT288x machine selection" 
     4 
     5config RT288X_MACH_F5D8235_V1 
     6        bool "Belkin F5D8235 V1 board support" 
     7        select RALINK_DEV_GPIO_LEDS 
    48 
    59config RT288X_MACH_RT_N15 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt288x/Makefile

    r29612 r29617  
    1414obj-$(CONFIG_EARLY_PRINTK)              += early_printk.o 
    1515 
     16obj-$(CONFIG_RT288X_MACH_F5D8235_V1)    += mach-f5d8235-v1.o 
    1617obj-$(CONFIG_RT288X_MACH_RT_N15)        += mach-rt-n15.o 
    1718obj-$(CONFIG_RT288X_MACH_WLI_TX4_AG300N) += mach-wli-tx4-ag300n.o 
  • trunk/target/linux/ramips/image/Makefile

    r29615 r29617  
    258258endef 
    259259 
     260define Image/Build/Template/F5D8235V1 
     261        $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size)) 
     262endef 
     263 
    260264 
    261265mtdlayout_wr5123gn=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) 
     
    265269        $(call BuildFirmware/Generic,$(1),wr512-3gn-8M,board="WR512-3GN",mtdlayout_wr5123gn8m,851968,7208960) 
    266270endef 
    267  
    268271 
    269272ifeq ($(CONFIG_RALINK_RT305X),y) 
     
    291294endif 
    292295 
     296define Image/Build/Profile/F5D8235V1 
     297        $(call Image/Build/Template/F5D8235V1,$(1),f5d8235v1,F5D8235_V1) 
     298endef 
    293299 
    294300define Image/Build/Profile/RTN15 
     
    303309ifeq ($(CONFIG_RALINK_RT288X),y) 
    304310define Image/Build/Profile/Default 
     311        $(call Image/Build/Profile/F5D8235V1,$(1)) 
    305312        $(call Image/Build/Profile/RTN15,$(1)) 
    306313        $(call Image/Build/Profile/WLITX4AG300N,$(1)) 
  • trunk/target/linux/ramips/rt288x/config-2.6.39

    r29612 r29617  
    9393# CONFIG_RALINK_RT305X is not set 
    9494CONFIG_RAMIPS_WDT=y 
     95CONFIG_RT288X_MACH_F5D8235_V1=y 
    9596CONFIG_RT288X_MACH_RT_N15=y 
    9697CONFIG_RT288X_MACH_WLI_TX4_AG300N=y 
Note: See TracChangeset for help on using the changeset viewer.