Changeset 27812


Ignore:
Timestamp:
2011-07-28T12:56:30+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: rt305x: add support for the Asus RT-G32 B1 board

Based on a patch by: Sergiy <piratfm@…>

Location:
trunk/target/linux/ramips
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

    r27808 r27812  
    3838                ;; 
    3939 
     40        rt-g32-b1) 
     41                rt2x00_eeprom_extract "devconf" 0 272 
     42                ;; 
     43 
    4044        f5d8235v2 | \ 
    4145        fonera20n | \ 
  • trunk/target/linux/ramips/base-files/lib/ramips.sh

    r27808 r27812  
    3535                name="pwh2004" 
    3636                ;; 
     37        *"RT-G32 B1") 
     38                name="rt-g32-b1" 
     39                ;; 
    3740        *"RT-N15") 
    3841                name="rt-n15" 
  • trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh

    r27808 r27812  
    1515 
    1616        case "$board" in 
    17         dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn) 
     17        dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | rt-g32-b1 | v22rw-2x2 | whr-g300n | hw550-3g | mofi3500-3gn) 
    1818                [ "$magic" != "2705" ] && { 
    1919                        echo "Invalid image type." 
  • trunk/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h

    r27808 r27812  
    2222        RAMIPS_MACH_DIR_600_B1,         /* D-Link DIR-600 B1 */ 
    2323        RAMIPS_MACH_DIR_600_B2,         /* D-Link DIR-600 B2 */ 
     24        RAMIPS_MACH_RT_G32_B1,          /* Asus RT-G32 B1 */ 
    2425 
    2526        /* RT3052 based machines */ 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig

    r27805 r27812  
    22 
    33menu "Ralink RT350x machine selection" 
     4 
     5config RT305X_MACH_RT_G32_REVB 
     6        bool "Asus RT-G32 revB board support" 
     7        default y 
     8        select RALINK_DEV_GPIO_BUTTONS 
    49 
    510config RT305X_MACH_HW550_3G 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile

    r27805 r27812  
    1818obj-$(CONFIG_RT305X_MACH_MOFI3500_3GN)  += mach-mofi3500-3gn.o 
    1919obj-$(CONFIG_RT305X_MACH_PWH2004)       += mach-pwh2004.o 
     20obj-$(CONFIG_RT305X_MACH_RT_G32_REVB)   += mach-rt-g32-revb.o 
    2021obj-$(CONFIG_RT305X_MACH_V22RW_2X2)     += mach-v22rw-2x2.o 
    2122obj-$(CONFIG_RT305X_MACH_WCR150GN)      += mach-wcr150gn.o 
  • trunk/target/linux/ramips/image/Makefile

    r27808 r27812  
    116116endef 
    117117 
     118mtdlayout_rtg32b1=mtdparts=spi0.0:192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,832k(kernel),2944k(rootfs),3776k@0x50000(firmware) 
     119mtd_rtg32b1_kernel_part_size=851968 
     120mtd_rtg32b1_rootfs_part_size=3014656 
     121define Image/Build/Template/RTG32B1 
     122        $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_rtg32b1,$(mtd_rtg32b1_kernel_part_size),$(mtd_rtg32b1_rootfs_part_size)) 
     123endef 
     124 
     125define Image/Build/Profile/RTG32B1 
     126        $(call Image/Build/Template/RTG32B1,$(1),rt-g32-b1,RT-G32-B1) 
     127endef 
     128 
    118129define Image/Build/Profile/FONERA20N 
    119130        $(call Image/Build/Template/GENERIC_8M,$(1),fonera20n,FONERA20N) 
     
    176187define Image/Build/Profile/Default 
    177188        $(call Image/Build/Profile/DIR300B1,$(1)) 
     189        $(call Image/Build/Profile/RTG32B1,$(1)) 
    178190        $(call Image/Build/Profile/FONERA20N,$(1)) 
    179191        $(call Image/Build/Profile/V22RW2X2,$(1)) 
  • trunk/target/linux/ramips/rt305x/config-2.6.39

    r27811 r27812  
    9898CONFIG_RT305X_MACH_MOFI3500_3GN=y 
    9999CONFIG_RT305X_MACH_PWH2004=y 
     100CONFIG_RT305X_MACH_RT_G32_REVB=y 
    100101CONFIG_RT305X_MACH_V22RW_2X2=y 
    101102CONFIG_RT305X_MACH_WCR150GN=y 
Note: See TracChangeset for help on using the changeset viewer.