Changeset 33234 for trunk


Ignore:
Timestamp:
2012-08-22T22:18:44+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: add profile and build image for the TEW-712BR

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/generic/profiles/trendnet.mk

    r30377 r33234  
    3838 
    3939$(eval $(call Profile,TEW673GRU)) 
     40 
     41define Profile/TEW712BR 
     42        NAME:=TRENDNet TEW-712BR 
     43        PACKAGES:= 
     44endef 
     45 
     46define Profile/TEW712BR/Description 
     47        Package set optimized for the TRENDNet TEW-712BR. 
     48endef 
     49 
     50$(eval $(call Profile,TEW712BR)) 
     51 
  • trunk/target/linux/ar71xx/image/Makefile

    r33226 r33234  
    221221endef 
    222222 
     223define Image/Build/CameoHornet 
     224        $(call MkuImageLzma,$(2),$(3) $(4)) 
     225        $(call Sysupgrade/KRuImage,$(1),$(2),$(5),$(6)) 
     226        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
     227                mkcameofw -M HORNET -R "DEF" -S $(7) -V "1.99" \ 
     228                        -K $(5) -I $$$$(($(5)+$(6))) \ 
     229                        -k $(KDIR_TMP)/vmlinux-$(2).uImage \ 
     230                        -r $(BIN_DIR)/$(IMG_PREFIX)-root.$(1) \ 
     231                        -o $(call factoryname,$(1),$(2)); \ 
     232        fi 
     233endef 
     234 
    223235cameo913x_mtdlayout=mtdparts=spi0.0:128k(u-boot)ro,64k(config)ro,960k(kernel),2880k(rootfs),64k(art)ro,3840k@0x30000(firmware) 
    224236define Image/Build/Cameo913x 
     
    237249define Image/Build/Cameo7240/initramfs 
    238250        $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo7240_mtdlayout)) 
     251endef 
     252 
     253cameo933x_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,192k(language)ro,896k(kernel),2752k(rootfs),3648k@0x70000(firmware) 
     254define Image/Build/Cameo933x 
     255        $(call Image/Build/CameoHornet,$(1),$(2),$(3),$(cameo933x_mtdlayout),917504,2818048,$(4)) 
     256endef 
     257 
     258define Image/Build/Cameo933x/initramfs 
     259        $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout)) 
    239260endef 
    240261 
     
    818839        $(call Image/Build/Template/$(fs_squash)/$(1),Cameo913x,tew-652brp-recovery,$(tew652brp_cmdline),"AP81-AR9130-RT-070614-02") 
    819840endef 
     841 
     842tew712br_cmdline=board=TEW-712BR console=ttyATH0,115200 
     843define Image/Build/Profile/TEW712BR 
     844        $(call Image/Build/Template/$(fs_squash)/$(1),Cameo933x,tew-712br,$(tew712br_cmdline),"HORNET-RT-TEW712BR-3") 
     845endef 
     846 
    820847 
    821848a05rbw300n_cmdline=board=TEW-632BRP console=ttyS0,115200 
     
    11211148        $(call Image/Build/Profile/TEW652BRP,$(1)) 
    11221149        $(call Image/Build/Profile/TEW673GRU,$(1)) 
     1150        $(call Image/Build/Profile/TEW712BR,$(1)) 
    11231151        $(call Image/Build/Profile/TLMR11U,$(1)) 
    11241152        $(call Image/Build/Profile/TLMR3020,$(1)) 
Note: See TracChangeset for help on using the changeset viewer.