[OpenWrt-Devel] [PATCH][v2] ar71xx: add support for D-Link DIR-615 rev. Ix board

Karl Palsson karlp at tweak.net.au
Wed Jul 8 09:19:48 EDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

a couple of places look to be out of order...


> On 07/07/2015 15:18, Jaehoon You wrote:
> > diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> > old mode 100644
> > new mode 100755
> > index 6d76af8..e0712a5
> > --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> > +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> > @@ -214,6 +214,7 @@ tl-wr941nd)
> >  
> >  r6100 |\
> >  smart-300 |\
> > +dir-615-i1 |\
> >  tl-mr3420-v2 |\
> >  tl-wr841n-v8 |\
> >  tl-wr842n-v2 |\

This one...



> > diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
> > index b40dff5..c39169a 100644
> > --- a/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
> > +++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx
> > @@ -29,6 +29,9 @@ preinit_set_mac_address() {
> >  			fetch_mac_from_mtd config lan_mac wan_mac
> >  			echo 1 > /sys/class/leds/dir-615-c1:green:wancpu/brightness
> >  			;;
> > +		dir-615-i1)
> > +			fetch_mac_from_mtd nvram sys_lan_mac sys_wan_mac
> > +			;;
> >  		r6100)
> >  			mac_lan=$(mtd_get_mac_binary caldata 0)
> >  			[ -n "$mac_lan" ] && ifconfig eth1 hw ether "$mac_lan"

This one...


> > diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
> > index 53ce56b..05e9595 100644
> > --- a/target/linux/ar71xx/image/Makefile
> > +++ b/target/linux/ar71xx/image/Makefile
> > @@ -1154,6 +1154,7 @@ cameo_ap91_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,3712k(firmware)
> >  cameo_ap99_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,3520k(firmware),64k(mac)ro,192k(lp)ro,64k(art)ro
> >  cameo_ap121_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,192k(language)ro,3648k(firmware)
> >  cameo_ap121_mtdlayout_8M=mtdparts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,256k(language)ro,7680k at 0x80000(firmware)
> > +cameo_ap123_mtdlayout_4M=mtdparts=spi0.0:64k(u-boot)ro,64k(nvram)ro,3712k(firmware),192k(lang)ro,64k(art)ro
> >  cameo_db120_mtdlayout=mtdparts=spi0.0:64k(uboot)ro,64k(nvram)ro,15936k(firmware),192k(lang)ro,64k(mac)ro,64k(art)ro
> >  cameo_db120_mtdlayout_8M=mtdparts=spi0.0:64k(uboot)ro,64k(nvram)ro,7872k(firmware),128k(lang)ro,64k(art)ro
> >  cap4200ag_mtdlayout=mtdparts=spi0.0:256k(u-boot),64k(u-boot-env),320k(custom)ro,1536k(kernel),12096k(rootfs),2048k(failsafe),64k(art),13632k at 0xa0000(firmware)
> > @@ -1336,6 +1337,10 @@ Image/Build/CameoAP99/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo_ap99_mtd
> >  Image/Build/CameoAP99=$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo_ap99_mtdlayout),$(4),65536)
> >  Image/Build/CameoAP99/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo_ap99_mtdlayout))
> >  
> > +Image/Build/CameoAP123_4M/buildkernel=$(call MkuImageLzma,$(2),$(3) $(cameo_ap123_mtdlayout_4M))
> > +Image/Build/CameoAP123_4M=$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo_ap123_mtdlayout_4M),$(4),26)
> > +Image/Build/CameoAP123_4M/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo_ap123_mtdlayout_4M))
> > +
> >  Image/Build/CameoAP135/buildkernel=$(call MkuImageLzma,$(2),$(3) $(4))
> >  Image/Build/CameoAP135=$(call Image/Build/Cameo,$(1),$(2),$(3),$(4),$(5),26)
> >  Image/Build/CameoAP135/initramfs=$(call MkuImageLzma/initramfs,$(2),$(3) $(4))
> > @@ -2004,6 +2009,9 @@ $(eval $(call SingleProfile,CameoAP91,64kraw,FR54RTR,fr-54rtr,DIR-600-A1,ttyS0,1
> >  $(eval $(call SingleProfile,CameoAP99,64kraw,DIR615E1,dir-615-e1,DIR-615-E1,ttyS0,115200,"AP93-AR7240-RT-081028-00"))
> >  $(eval $(call SingleProfile,CameoAP99,64kraw,DIR615E4,dir-615-e4,DIR-615-E4,ttyS0,115200,"AP99-AR7240-RT-091105-05"))
> >  
> > +$(eval $(call SingleProfile,CameoAP123_4M,64kraw,DIR615I1,dir-615-i1,DIR-615-I1,ttyS0,115200,"00DB120AR9341-RT-1012I1-00"))
> > +$(eval $(call SingleProfile,CameoAP123_4M,64kraw,DIR615I3,dir-615-i3,DIR-615-I1,ttyS0,115200,"00DB120AR9341-RT-101214-00"))
> > +
> >  $(eval $(call SingleProfile,CameoAP81,64kraw-nojffs,A02RBW300N,a02-rb-w300n,TEW-632BRP,ttyS0,115200,"AP81-AR9130-RT-070614-03"))
> >  $(eval $(call SingleProfile,CameoAP81,64kraw-nojffs,DIR615C1,dir-615-c1,DIR-615-C1,ttyS0,115200,"AP81-AR9130-RT-070614-02"))
> >  $(eval $(call SingleProfile,CameoAP81,64kraw-nojffs,TEW632BRP,tew-632brp,TEW-632BRP,ttyS0,115200,"AP81-AR9130-RT-070614-00"))
> > @@ -2124,6 +2132,7 @@ $(eval $(call SingleProfile,Zcomax,64k,ZCN1523H516,zcn-1523h-5-16,ZCN-1523H-5,tt
> >  $(eval $(call SingleProfile,ZyXEL,64k,NBG_460N_550N_550NH,nbg460n_550n_550nh,NBG460N,ttyS0,115200,NBG-460N))
> >  
> >  $(eval $(call MultiProfile,AP121,AP121_2M AP121_4M))
> > +$(eval $(call MultiProfile,DIR615IX,DIR615I1 DIR615I3))
> >  $(eval $(call MultiProfile,AP136,AP136_010 AP136_020))

And this one...



Cheers,
Karl P

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVnSN1AAoJEBmotQ/U1cr2hCMP/2OG0bEMQgBkzDRfjAisanwk
Fp8QK6c9LO0xNto/bxEt4I3xB/32QRIf4iRt2VP70Wt7LRTfYz1BybWMTY124q54
Ynf3JuOugPE6Nm++dWS/AlkEo879YZdC32NCXoznKX5VXC4s+uxNd4P+BXYZJKdU
STuItMkIaU44ULxkKQ0Yvfg2OGMt+Rjq2Q46fdVDbsY/8Q1PaTE688x/r/v4LAJm
823/WV58SVMPRsXJqn0sX6sIqaYT42cXB0DmOoOk2jhvxiJp+bTyXDo7PLzGUZ6b
Jq/1zDOpbOvE7Bje2xO64BuEotjiPnz1VdBbFu4aMMLRPRcsoQ/j2Jdi2nwlR4st
enAOMkww+kZSdRH0VJ4lGAlK/sqyyNEPnV+nLvlroZXMl4Hmex/EwYMasYVNf9WX
YdFhc2mNEiJjoERvukIiJkHq9L47JnP1q39axSp+esfDtd1VyPlEcME9pV7b9mpM
lXjC0w1jKiY/iQC30c4g2fGVH5v/Ry8RukJW9Y2sHPT4VN9uUeuGsMXV24Srd90B
pmei6aGdm0i96HNvsOYiJ7fwyLRGDdbrHjewPrJMA3vqDeSdWI/xS6bi3ThH+UnG
qkFRE/2coC5uHXUdFLERN0X/G0kc1Zi+zDG5KHVerdf465DLJpv47iRFernuEtKb
bZhdIByqZCa+EiYK0QkA
=tfKJ
-----END PGP SIGNATURE-----
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list