Changeset 34195


Ignore:
Timestamp:
2012-11-13T21:57:15+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: add profiles and build images for old PowerCloud System devices

[juhosg:

  • use 'PowerCloud Systems' instead of 'PCS' in the profiles
  • sort SingleProfile instances in image/Makefile]

Signed-off-by: Daniel Dickinson <daniel@…>
Signed-off-by: Gabor Juhos <juhosg@…>

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r34190 r34195  
    175175dir825b1_mtdlayout_fat=mtdparts=spi0.0:256k(uboot)ro,64k(config)ro,1024k(kernel),6784k(rootfs),64k(caldata)ro,7808k@0x50000(firmware),64k@0x660000(caldata_orig),6208k@0x50000(firmware_orig) 
    176176ew-dorin_mtdlayout_4M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),1024k(kernel),2688k(rootfs),64k(art),3712k@0x50000(firmware) 
     177dlrtdev_mtdlayout=mtdparts=spi0.0:256k(uboot)ro,64k(config)ro,1024k(kernel),5184k(rootfs),64k(caldata)ro,640k(certs),960k(unknown)ro,6208k@0x50000(firmware),64k@0x7f0000(caldata_copy) 
     178dlrtdev_mtdlayout_fat=mtdparts=spi0.0:256k(uboot)ro,64k(config)ro,1024k(kernel),6544k(rootfs),640k(certs),64k(caldata)ro,7168k@0x50000(firmware),64k@0x660000(caldata_orig),6208k@0x50000(firmware_orig) 
    177179pb92_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) 
    178180planex_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,960k(kernel),6784k(rootfs),128k(art)ro,7744k@0x50000(firmware) 
    179181ubntxm_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware) 
     182ubdev_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6464k(rootfs),64k(certs),256k(cfg)ro,64k(EEPROM)ro,7488k@0x50000(firmware) 
    180183whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,960k(kernel),2816k(rootfs),64k(art)ro,3712k@0x40000(firmware) 
    181184wndr3700_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),6656k(rootfs),64k(art)ro,7680k@0x70000(firmware) 
     
    230233endef 
    231234 
     235define Image/Build/DLRTDEV 
     236        $(call MkuImageLzma,$(2),$(3) $(dlrtdev_mtdlayout)) 
     237        $(call Sysupgrade/KRuImage,$(1),$(2),1048576,5308416) 
     238        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
     239                ( \ 
     240                        dd if=$(call sysupname,$(1),$(2)); \ 
     241                        echo -n "$(4)"; \ 
     242                ) > $(call imgname,$(1),$(2))-backup-loader.bin; \ 
     243                if [ `stat -c%s $(call sysupname,$(1),$(2))` -gt 4194304 ]; then \ 
     244                        echo "Warning: $(call sysupname,$(1),$(2)) is too big"; \ 
     245                else \ 
     246                        ( \ 
     247                                dd if=$(call sysupname,$(1),$(2)) bs=4096k conv=sync; \ 
     248                                echo -n "$(5)"; \ 
     249                        ) > $(call factoryname,$(1),$(2)); \ 
     250                fi; \ 
     251        fi 
     252        $(call MkuImageLzma,$(2)-fat,$(3) $(dlrtdev_mtdlayout_fat)) 
     253        $(call CatFiles,$(KDIR_TMP)/vmlinux-$(2)-fat.uImage,1048576,$(KDIR)/root.$(1),6946816,$(KDIR_TMP)/$(2)-fat.bin) 
     254        if [ -e "$(KDIR_TMP)/$(2)-fat.bin" ]; then \ 
     255                echo -n "" > $(KDIR_TMP)/$(2)-fat.dummy; \ 
     256                sh $(TOPDIR)/scripts/combined-image.sh \ 
     257                        "$(KDIR_TMP)/$(2)-fat.bin" \ 
     258                        "$(KDIR_TMP)/$(2)-fat.dummy" \ 
     259                        $(call sysupname,$(1),$(2)-fat); \ 
     260        fi 
     261endef 
     262 
    232263define Image/Build/WZRHPG30XNH 
    233264        $(call MkuImageLzma,$(2),$(3)) 
     
    369400define Image/Build/UBNTXM 
    370401        $(call MkuImageLzma,$(2),$(3) $(ubntxm_mtdlayout)) 
     402        $(call Sysupgrade/KRuImage,$(1),$(2),1048576,6684672) 
     403        dd if=$(KDIR_TMP)/vmlinux-$(2).uImage of=$(KDIR_TMP)/vmlinux-$(2).uImage.bin bs=1024k conv=sync 
     404        -$(STAGING_DIR_HOST)/bin/mkfwimage \ 
     405                -B $(4) -v $(5).$(6).v6.0.0-OpenWrt-$(REVISION) \ 
     406                -k $(KDIR_TMP)/vmlinux-$(2).uImage.bin \ 
     407                -r $(BIN_DIR)/$(IMG_PREFIX)-root.$(1) \ 
     408                -o $(call factoryname,$(1),$(2)) 
     409endef 
     410 
     411 
     412define Image/Build/UBDEV 
     413        $(call MkuImageLzma,$(2),$(3) $(ubdev_mtdlayout)) 
    371414        $(call Sysupgrade/KRuImage,$(1),$(2),1048576,6684672) 
    372415        dd if=$(KDIR_TMP)/vmlinux-$(2).uImage of=$(KDIR_TMP)/vmlinux-$(2).uImage.bin bs=1024k conv=sync 
     
    772815$(eval $(call SingleProfile,DIR825B1,$(fs_64k),TEW673GRU,tew-673gru,TEW-673GRU,ttyS0,115200,01AP94-AR7161-RT-080619-01,00AP94-AR7161-RT-080619-01)) 
    773816 
     817$(eval $(call SingleProfile,DLRTDEV,$(fs_64k),DLRTDEV01,dlrtdev01,DIR-825-B1,ttyS0,115200,01AP94-AR7161-RT-080619-00,00AP94-AR7161-RT-080619-00)) 
     818 
    774819$(eval $(call SingleProfile,MyLoader,$(fs_64k),WP543_2M,wp543,,ttyS0,115200,0x200000,2M)) 
    775820$(eval $(call SingleProfile,MyLoader,$(fs_64k),WP543_4M,wp543,,ttyS0,115200,0x400000,4M)) 
     
    834879$(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLWDR4310V1,tl-wdr4310-v1,TL-WDR4300,ttyS0,115200,0x43100001,1,8Mlzma)) 
    835880 
     881$(eval $(call SingleProfile,UBDEV,$(fs_64k),UBDEV01,ubdev01,UBNT-UF,ttyS0,115200,XM,XM,ar7240)) 
     882 
    836883$(eval $(call SingleProfile,UBNT,$(fs_64k),UBNTRS,ubnt-rs,UBNT-RS,ttyS0,115200,RS,RSx,ar7100)) 
    837884$(eval $(call SingleProfile,UBNT,$(fs_64k),UBNTRSPRO,ubnt-rspro,UBNT-RSPRO,ttyS0,115200,RSPRO,RSPRO,ar7100pro)) 
     
    861908 
    862909$(eval $(call SingleProfile,ZyXEL,$(fs_64k),NBG_460N_550N_550NH,nbg460n_550n_550nh,NBG460N,ttyS0,115200,NBG-460N)) 
    863  
    864910 
    865911$(eval $(call MultiProfile,AP121,AP121_2M AP121_4M)) 
Note: See TracChangeset for help on using the changeset viewer.