Changeset 43382


Ignore:
Timestamp:
2014-11-26T09:28:22+01:00 (3 years ago)
Author:
kaloz
Message:

[ar71xx]: Netgear R6100 support

Signed-off-by: Imre Kaloz <kaloz@…>

Location:
trunk/target/linux/ar71xx
Files:
2 added
11 edited

Legend:

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

    r43307 r43382  
    264264                status_led="buffalo:red:diag" 
    265265                ;; 
     266        r6100 | \ 
    266267        wndap360 | \ 
    267268        wndr3700 | \ 
  • trunk/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom

    r41788 r43382  
    3939"soc_wmac.eeprom") 
    4040        case $board in 
     41        r6100 | \ 
    4142        wndr3700v4 | \ 
    4243        wndr4300) 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    r43307 r43382  
    422422        ;; 
    423423 
     424r6100) 
     425        ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2" 
     426        ucidef_set_led_usbdev "usb" "USB" "netgear:blue:usb" "1-1" 
     427        ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy1tpt" 
     428        ;; 
     429 
    424430wndr3700v4 | \ 
    425431wndr4300) 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r43307 r43382  
    202202        ;; 
    203203 
    204 smart-300 | \ 
     204r6100 |\ 
     205smart-300 |\ 
    205206tl-mr3420-v2 |\ 
    206207tl-wr841n-v8 |\ 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r43307 r43382  
    702702                wndr3700_board_detect "$machine" 
    703703                ;; 
     704        *"R6100") 
     705                name="r6100" 
     706                ;; 
    704707        *"WNDR3700v4") 
    705708                name="wndr3700v4" 
  • trunk/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx

    r19331 r43382  
    3030                        echo 1 > /sys/class/leds/dir-615-c1:green:wancpu/brightness 
    3131                        ;; 
     32                r6100) 
     33                        mac_lan=$(mtd_get_mac_binary caldata 0) 
     34                        [ -n "$mac_lan" ] && ifconfig eth1 hw ether "$mac_lan" 
     35                        mac_wan=$(mtd_get_mac_binary caldata 6) 
     36                        [ -n "$mac_wan" ] && ifconfig eth0 hw ether "$mac_wan" 
     37                        ;; 
    3238                wrt160nl) 
    3339                        fetch_mac_from_mtd nvram lan_hwaddr wan_hwaddr 
  • trunk/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin

    r42552 r43382  
    2323                        dd if=/dev/mtdblock4 \ 
    2424                                bs=1 skip=20492 count=2104 >> /tmp/ath10k-board.bin 
     25                ;; 
     26                r6100) 
     27                        local mac 
     28                        mac=$(macaddr_add $(cat /sys/class/net/eth1/address) +2) 
    2529 
     30                        dd if=/dev/mtdblock2 \ 
     31                                bs=1 skip=20480 count=6 \ 
     32                                of=/tmp/ath10k-board.bin 
     33                        macaddr_2bin $mac >> /tmp/ath10k-board.bin 
     34                        dd if=/dev/mtdblock2 \ 
     35                                bs=1 skip=20492 count=2104 >> /tmp/ath10k-board.bin 
    2636                ;; 
    2737                qihoo-c301) 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r43307 r43382  
    355355                ;; 
    356356        nbg6716 | \ 
     357        r6100 | \ 
    357358        wndr3700v4 | \ 
    358359        wndr4300 ) 
  • trunk/target/linux/ar71xx/config-3.14

    r43347 r43382  
    7777CONFIG_ATH79_MACH_PB92=y 
    7878CONFIG_ATH79_MACH_QIHOO_C301=y 
     79CONFIG_ATH79_MACH_R6100=y 
    7980# CONFIG_ATH79_MACH_RB2011 is not set 
    8081# CONFIG_ATH79_MACH_RB4XX is not set 
  • trunk/target/linux/ar71xx/image/Makefile

    r43307 r43382  
    302302wndr3700_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,7680k(firmware),64k(art)ro 
    303303wndr3700v2_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,15872k(firmware),64k(art)ro 
     304r6100_mtdlayout=mtdparts=ar934x-nfc:128k(u-boot)ro,256k(caldata),256k(caldata-backup),512k(config),512k(pot),2048k(kernel),122240k(ubi),25600k@0x1a0000(firmware),2048k(language),3072k(traffic_meter) 
    304305wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved) 
    305306zcn1523h_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6208k(rootfs),1472k(kernel),64k(configure)ro,64k(mfg)ro,64k(art)ro,7680k@0x50000(firmware) 
     
    13441345$(eval $(call SingleProfile,NetgearNAND,64k,WNDR3700V4,wndr3700v4,WNDR3700_V4,ttyS0,115200,$$(wndr4300_mtdlayout),0x33373033,WNDR3700v4,"",-H 29763948+128+128,wndr4300)) 
    13451346$(eval $(call SingleProfile,NetgearNAND,64k,WNDR4300V1,wndr4300,WNDR4300,ttyS0,115200,$$(wndr4300_mtdlayout),0x33373033,WNDR4300,"",-H 29763948+0+128+128+2x2+3x3,wndr4300)) 
     1347$(eval $(call SingleProfile,NetgearNAND,64k,R6100,r6100,R6100,ttyS0,115200,$$(r6100_mtdlayout),0x36303030,R6100,"",-H 29764434+0+128+128+2x2+2x2,wndr4300)) 
    13461348 
    13471349$(eval $(call SingleProfile,ZyXELNAND,128k,NBG6716,nbg6716,NBG6716,ttyS0,115200,NBG6716,$$(zyx_nbg6716_mtdlayout),mem=256M)) 
  • trunk/target/linux/ar71xx/nand/profiles/netgear.mk

    r40481 r43382  
    11# 
    2 # Copyright (C) 2009-2013 OpenWrt.org 
     2# Copyright (C) 2009-2014 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
    55# See /LICENSE for more information. 
    66# 
     7 
     8define Profile/R6100 
     9        NAME:=NETGEAR R6100 
     10        PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev 
     11endef 
     12 
     13define Profile/R6100/Description 
     14        Package set optimized for the NETGEAR R6100 
     15endef 
     16 
     17$(eval $(call Profile,R6100)) 
     18 
    719 
    820define Profile/WNDR4300 
     
    1628 
    1729$(eval $(call Profile,WNDR4300)) 
    18  
    19  
Note: See TracChangeset for help on using the changeset viewer.