Changeset 28567


Ignore:
Timestamp:
2011-10-24T23:49:26+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: Buffalo WHR-HP-G300N kernel support

The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:

Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@…>

Location:
trunk/target/linux/ar71xx
Files:
3 added
7 edited

Legend:

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

    r28277 r28567  
    112112                status_led="ubnt:green:dome" 
    113113                ;; 
     114        whr-hp-g300n) 
     115                status_led="whr-hp-g300n:green:router" 
     116                ;; 
    114117        wndr3700 | wndr3700v2) 
    115118                status_led="wndr3700:green:power" 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r28564 r28567  
    170170                name="wzr-hp-g300nh" 
    171171                ;; 
     172        *WHR-HP-G300N) 
     173                name="whr-hp-g300n" 
     174                ;; 
    172175        *ZCN-1523H-2) 
    173176                name="zcn-1523h-2" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r28277 r28567  
    7777                return 0 
    7878                ;; 
    79         ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-ag300h | nbg460n_550n_550nh | unifi ) 
     79        ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-ag300h | whr-hp-g300n | nbg460n_550n_550nh | unifi ) 
    8080                [ "$magic" != "2705" ] && { 
    8181                        echo "Invalid image type." 
  • trunk/target/linux/ar71xx/config-2.6.39

    r28564 r28567  
    4545CONFIG_AR71XX_MACH_TL_WR941ND=y 
    4646CONFIG_AR71XX_MACH_UBNT=y 
     47# CONFIG_AR71XX_MACH_WHR_HP_G300N is not set 
    4748CONFIG_AR71XX_MACH_WNDR3700=y 
    4849CONFIG_AR71XX_MACH_WNR2000=y 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig

    r28564 r28567  
    145145        select AR71XX_DEV_USB 
    146146        select RTL8366_SMI 
     147 
     148config AR71XX_MACH_WHR_HP_G300N 
     149        bool "Buffalo WHR-HP-G300N board support" 
     150        select SOC_AR724X 
     151        select AR71XX_DEV_M25P80 
     152        select AR71XX_DEV_AP91_PCI if PCI 
     153        select AR71XX_DEV_GPIO_BUTTONS 
     154        select AR71XX_DEV_LEDS_GPIO 
    147155 
    148156config AR71XX_MACH_WP543 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile

    r28564 r28567  
    6060obj-$(CONFIG_AR71XX_MACH_TL_WR703N)     += mach-tl-wr703n.o 
    6161obj-$(CONFIG_AR71XX_MACH_UBNT)          += mach-ubnt.o 
     62obj-$(CONFIG_AR71XX_MACH_WHR_HP_G300N)  += mach-whr-hp-g300n.o 
    6263obj-$(CONFIG_AR71XX_MACH_WNDR3700)      += mach-wndr3700.o 
    6364obj-$(CONFIG_AR71XX_MACH_WNR2000)       += mach-wnr2000.o 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h

    r28564 r28567  
    6464        AR71XX_MACH_UBNT_RS,    /* Ubiquiti RouterStation */ 
    6565        AR71XX_MACH_UBNT_UNIFI, /* Unifi */ 
     66        AR71XX_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */ 
    6667        AR71XX_MACH_WNDR3700,   /* NETGEAR WNDR3700 */ 
    6768        AR71XX_MACH_WNDR3700V2, /* NETGEAR WNDR3700v2 */ 
Note: See TracChangeset for help on using the changeset viewer.