mirror of https://github.com/hak5/openwrt.git
ar71xx: build image for the WD My Net Wi-Fi Range Extender
Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: - remove the Image/Build/CyberTANLZMA/loader macro, it is not used - move the MYNETREXT SingleProfile definition to the correct place] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38688lede-17.01
parent
ddcce63c78
commit
f02c8802e3
|
@ -13,5 +13,14 @@ endef
|
|||
define Profile/MYNETN600/Description
|
||||
Package set optimized for the WD My Net N600 device.
|
||||
endef
|
||||
|
||||
$(eval $(call Profile,MYNETN600))
|
||||
|
||||
|
||||
define Profile/MYNETREXT
|
||||
NAME:=WD My Net Wi-Fi Range Extender
|
||||
endef
|
||||
|
||||
define Profile/MYNETREXT/Description
|
||||
Package set optimized for the WD My Net Wi-Fi Range Extender device.
|
||||
endef
|
||||
$(eval $(call Profile,MYNETREXT))
|
||||
|
|
|
@ -220,6 +220,7 @@ wndr3700v2_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,15872k(fi
|
|||
wndr4300_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(ubiroot),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved) ubi.mtd=ubiroot
|
||||
zcn1523h_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)
|
||||
mynet_n600_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,64k(devdata)ro,64k(devconf)ro,15872k(firmware),64k(radiocfg)ro
|
||||
mynet_rext_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,7808k(firmware),64k(nvram)ro,64k(ART)ro,6848k@0x130000(filesystem)
|
||||
|
||||
define Image/BuildKernel
|
||||
cp $(KDIR)/vmlinux.elf $(VMLINUX).elf
|
||||
|
@ -677,6 +678,17 @@ define Image/Build/CyberTAN
|
|||
rm $(KDIR)/image.tmp
|
||||
endef
|
||||
|
||||
Image/Build/CyberTANLZMA/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
|
||||
|
||||
define Image/Build/CyberTANLZMA
|
||||
$(STAGING_DIR_HOST)/bin/trx -o $(KDIR)/image.tmp -f $(KDIR_TMP)/vmlinux-$(2).uImage \
|
||||
-x 32 -a 0x10000 -x -32 -f $(KDIR)/root.$(1)
|
||||
-$(STAGING_DIR_HOST)/bin/addpattern -B $(2) -v v$(5) -g \
|
||||
-i $(KDIR)/image.tmp \
|
||||
-o $(call factoryname,$(1),$(2))
|
||||
rm $(KDIR)/image.tmp
|
||||
endef
|
||||
|
||||
Image/Build/Netgear/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4),,-M $(5))
|
||||
|
||||
define Image/Build/Netgear/buildkernel
|
||||
|
@ -901,6 +913,8 @@ $(eval $(call SingleProfile,CameoDB120_8M,64kraw,TEW732BR,tew-732br,TEW-732BR,tt
|
|||
|
||||
$(eval $(call SingleProfile,CyberTAN,64k,WRT160NL,wrt160nl,WRT160NL,ttyS0,115200,1.00.01))
|
||||
|
||||
$(eval $(call SingleProfile,CyberTANLZMA,64k,MYNETREXT,mynet-rext,MYNET-REXT,ttyS0,115200,$$(mynet_rext_mtdlayout) root=31:4,1.00.01))
|
||||
|
||||
$(eval $(call SingleProfile,CameoAP94,64kraw,DIR825B1,dir-825-b1,DIR-825-B1,ttyS0,115200,$$(cameo_ap94_mtdlayout),$$(cameo_ap94_mtdlayout_fat),01AP94-AR7161-RT-080619-00,00AP94-AR7161-RT-080619-00))
|
||||
$(eval $(call SingleProfile,CameoAP94,64kraw,TEW673GRU,tew-673gru,TEW-673GRU,ttyS0,115200,$$(cameo_ap94_mtdlayout),$$(cameo_ap94_mtdlayout_fat),01AP94-AR7161-RT-080619-01,00AP94-AR7161-RT-080619-01))
|
||||
$(eval $(call SingleProfile,CameoAP94,64kraw,DLRTDEV01,dlrtdev01,DIR-825-B1,ttyS0,115200,$$(dlrtdev_mtdlayout),$$(dlrtdev_mtdlayout_fat),01AP94-AR7161-RT-080619-00,00AP94-AR7161-RT-080619-00))
|
||||
|
|
Loading…
Reference in New Issue