Changeset 44620


Ignore:
Timestamp:
2015-03-06T15:41:57+01:00 (3 years ago)
Author:
luka
Message:

ar71xx: add support for compex wpj558

OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Luka Perkov <luka@…>

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

Legend:

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

    r44426 r44620  
    294294                status_led="wp543:green:diag" 
    295295                ;; 
     296        wpj558) 
     297                status_led="wpj558:green:sig3" 
     298                ;; 
    296299        wrt400n) 
    297300                status_led="wrt400n:blue:wps" 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r44526 r44620  
    360360        ;; 
    361361 
     362wpj558) 
     363        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" 
     364        ucidef_add_switch "switch0" "1" "1" 
     365        ucidef_add_switch_vlan "switch0" "1" "5 6t" 
     366        ucidef_add_switch_vlan "switch0" "2" "1 6t" 
     367        ;; 
     368 
    362369ap121 |\ 
    363370ap121-mini |\ 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r44526 r44620  
    772772                name="wpe72" 
    773773                ;; 
     774        *WPJ558) 
     775                name="wpj558" 
     776                ;; 
    774777        *WNDAP360) 
    775778                name="wndap360" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r44526 r44620  
    181181        ap135-020 | \ 
    182182        ap96 | \ 
     183        bxu2000n-2-a1 | \ 
    183184        db120 | \ 
    184185        f9k1115v2 |\ 
    185186        hornet-ub | \ 
    186         bxu2000n-2-a1 | \ 
     187        wpj558 | \ 
    187188        zcn-1523h-2 | \ 
    188189        zcn-1523h-5) 
  • trunk/target/linux/ar71xx/config-3.18

    r44583 r44620  
    133133CONFIG_ATH79_MACH_WP543=y 
    134134CONFIG_ATH79_MACH_WPE72=y 
     135CONFIG_ATH79_MACH_WPJ558=y 
    135136CONFIG_ATH79_MACH_WRT160NL=y 
    136137CONFIG_ATH79_MACH_WRT400N=y 
  • trunk/target/linux/ar71xx/generic/profiles/compex.mk

    r44245 r44620  
    2727 
    2828$(eval $(call Profile,WPE72)) 
     29 
     30define Profile/WPJ558 
     31        NAME:=Compex WPJ558 
     32endef 
     33 
     34define Profile/WPJ558/Description 
     35        Package set optimized for the Compex WPJ558 board. 
     36endef 
     37 
     38$(eval $(call Profile,WPJ558)) 
  • trunk/target/linux/ar71xx/image/Makefile

    r44526 r44620  
    399399whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,3712k(firmware),64k(art)ro 
    400400wlr8100_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),14080k(rootfs),192k(unknown)ro,64k(art)ro,384k(unknown2)ro,15488k@0x40000(firmware) 
     401wpj558_mtdlayout_16M=mtdparts=spi0.0:192k(u-boot)ro,16128k(firmware),64k(art)ro 
    401402wndap360_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1728k(kernel),6016k(rootfs),64k(nvram)ro,64k(art)ro,7744k@0x50000(firmware) 
    402403wnr2200_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7808k(firmware),64k(art)ro 
     
    12701271$(eval $(call SingleProfile,AthLzma,64k,TUBE2H16M,tube2h-16M,TUBE2H,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536)) 
    12711272$(eval $(call SingleProfile,AthLzma,64k,WLR8100,wlr8100,WLR8100,ttyS0,115200,$$(wlr8100_mtdlayout),KRuImage)) 
     1273$(eval $(call SingleProfile,AthLzma,64k,WPJ558_16M,wpj558-16M,WPJ558,ttyS0,115200,$$(wpj558_mtdlayout_16M),KRuImage,65536)) 
    12721274 
    12731275$(eval $(call SingleProfile,Belkin,64k,F9K1115V2,f9k1115v2,F9K1115V2,ttyS0,115200,$$(f9k1115v2_mtdlayout),BR-6679BAC)) 
     
    15051507$(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M WP543_16M)) 
    15061508$(eval $(call MultiProfile,WPE72,WPE72_4M WPE72_8M WPE72_16M)) 
     1509$(eval $(call MultiProfile,WPJ558,WPJ558_16M)) 
    15071510 
    15081511$(eval $(call MultiProfile,Minimal,$(SINGLE_PROFILES))) 
  • trunk/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch

    r44528 r44620  
    11--- a/arch/mips/ath79/machtypes.h 
    22+++ b/arch/mips/ath79/machtypes.h 
    3 @@ -16,22 +16,189 @@ 
     3@@ -16,22 +16,190 @@ 
    44  
    55 enum ath79_mach_type { 
     
    179179+       ATH79_MACH_WP543,               /* Compex WP543 */ 
    180180+       ATH79_MACH_WPE72,               /* Compex WPE72 */ 
     181+       ATH79_MACH_WPJ558,              /* Compex WPJ558 */ 
    181182+       ATH79_MACH_WRT160NL,            /* Linksys WRT160NL */ 
    182183+       ATH79_MACH_WRT400N,             /* Linksys WRT400N */ 
     
    264265        bool "Atheros AP121 reference board" 
    265266        select SOC_AR933X 
    266 @@ -11,62 +75,970 @@ config ATH79_MACH_AP121 
     267@@ -11,62 +75,979 @@ config ATH79_MACH_AP121 
    267268        select ATH79_DEV_M25P80 
    268269        select ATH79_DEV_USB 
     
    498499+       select ATH79_DEV_USB 
    499500+       select MYLOADER 
     501+ 
     502+config ATH79_MACH_WPJ558 
     503+       bool "Compex WPJ558 board support" 
     504+       select SOC_QCA955X 
     505+       select ATH79_DEV_ETH 
     506+       select ATH79_DEV_GPIO_BUTTONS 
     507+       select ATH79_DEV_LEDS_GPIO 
     508+       select ATH79_DEV_M25P80 
     509+       select ATH79_DEV_WMAC 
    500510+ 
    501511+config ATH79_MACH_DGL_5500_A1 
     
    13831393--- a/arch/mips/ath79/Makefile 
    13841394+++ b/arch/mips/ath79/Makefile 
    1385 @@ -38,9 +38,118 @@ obj-$(CONFIG_ATH79_ROUTERBOOT)              += route 
     1395@@ -38,9 +38,119 @@ obj-$(CONFIG_ATH79_ROUTERBOOT)              += route 
    13861396 # 
    13871397 # Machines 
     
    14921502+obj-$(CONFIG_ATH79_MACH_WP543)         += mach-wp543.o 
    14931503+obj-$(CONFIG_ATH79_MACH_WPE72)         += mach-wpe72.o 
     1504+obj-$(CONFIG_ATH79_MACH_WPJ558)                += mach-wpj558.o 
    14941505+obj-$(CONFIG_ATH79_MACH_WRT160NL)      += mach-wrt160nl.o 
    14951506+obj-$(CONFIG_ATH79_MACH_WRT400N)       += mach-wrt400n.o 
Note: See TracChangeset for help on using the changeset viewer.