Re: [OpenWrt-Devel] 6in4 does not recover after wan outage

2014-08-22 Thread Weedy
On Fri, Aug 22, 2014 at 9:15 AM, Richard Mortimer
 wrote:
> However I've noticed that if the ADSL line drops then when it recovers my
> SiXXS 6in4 tunnel does not automatically re-establish the connection. There
> doesn't seem to be any magic config values to set either in the LUCI
> interface or at
> http://wiki.openwrt.org/doc/uci/network#protocol.6in4.ipv6-in-ipv4.tunnel
>
> Is this a missing feature or is there a bug lurking somewhere in the new
> event mechanism?


Incase you need it "fixed" now, here's a workaround.
Throw this in like /etc/hotplug.d/iface/99-6in4-fix.
Not tested, chopped down version of what I run for another reason.
The loop isn't 10 seconds. The failed ping takes about 7 seconds. So
this tests the wan int for about 1m30s.

#!/bin/sh
if [ "$ACTION" = "ifup" ] && [ "$INTERFACE" = "wan" ]; then
fix6in4 () {
. /lib/functions/network.sh
network_get_device wanIF "wan"
loop=0
ping="/bin/ping -W 3 -c 5 -q -I $wanIF"
until [ "$loop" -gt "10" ] || $ping 8.8.8.8  > /dev/null 2>&1; do
let loop++
sleep 1
done
if [ "$loop" -lt "11" ]; then ifup wan6
else /usr/bin/logger -t 6in4-fix -p user.notice "Failed to
reset 6in4 tunnel."; fi
}
fix6in4 &
fi
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Baptiste Jonglez
On Fri, Aug 22, 2014 at 10:38:24PM +0200, Bastian Bittorf wrote:
> * Baptiste Jonglez  [22.08.2014 22:34]:
> > What is the default value, then?  Is it "none" or "disabled"?  What is the
> > difference?
> 
> internally it's a bool/switch, which can have:
> 
> 0|off|false|no|disabled or
> 1|on|true|yes|enabled

Are you sure about this?  The value provided with the default config is
"server", and "relay" is also possible:

  http://wiki.openwrt.org/doc/uci/dhcp#dhcp.pools

> adding 'none' is possible, but...
> 
> bye, bastian


pgp3eQQkLoKtf.pgp
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Extroot on Barrier Breaker 14.07-rc3

2014-08-22 Thread Sandy McArthur Jr
Follow up, follow up: Now the USB 3.0 flash drive that was failing before
is working as expected for pivot overlay extroot.

Maybe unplugging / plugging the flash drive did something magical.


On Fri, Aug 22, 2014 at 4:48 PM, Sandy McArthur Jr 
wrote:

> Folow up: I tried a different USB flash drive and it worked fine.
>
> The flash drive that failed to extroot was a Patriot Tab 16GB USB 3.0
> Flash Drive:
>
> http://www.patriotmemory.com/product/detail.jsp?prodline=7&catid=99&prodgroupid=252&id=1372&type=23
>
> Strangely this flash drive is working on other TP-Link TL-WDR4300 devices
> I have running older A.A. OpenWrt releases. I did not test older OpenWrt
> releases on this exact hardware with this USB flash drive.
>
> The USB flash drive that did work was a USB 2 drive.
>
>
> On Thu, Aug 21, 2014 at 2:29 PM, Sandy McArthur Jr 
> wrote:
>
>> I am unable to get extroot (pivot overlay) working with 14.07-rc3 on a 
>> TP-Link
>> TL-WDR4300  . In the
>> past I have been able to with Attitude Adjustment 12.09.
>>
>> I pluged in my USB flash drive, formated it (both ext3 / ext4), mounted
>> it, duplicated the data ( tar -C /overlay -cvf - . | tar -C /mnt/sda1 -xf -
>> ) and edited fstab with no love after the reboots.
>>
>> via ssh in /etc/config/fstab I've tried using:
>>
>> config mount
>> option target/overlay
>> option device/dev/sda1
>> option fstypeext3
>> option options   rw,sync
>> option enabled   1
>> option enabled_fsck  0
>>
>> and
>>
>> config 'mount'
>> option  target  '/overlay'
>> option  uuid'3aea4f6c-10cb-4ca9-919d-624f12656e37'
>> option  enabled '1'
>>
>> and probably several other permutations. Also, I've used the web
>> interface.
>>
>> Is the wiki out of date?
>> http://wiki.openwrt.org/doc/howto/extroot#openwrt.barrier.breaker.trunk
>>
>> Any guidance is appreciated.
>>
>> --
>> Sandy McArthur, Jr.
>>
>> "No nation could preserve its freedom in the midst of continual warfare."
>> - Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
>>
>
>
>
> --
> Sandy McArthur, Jr.
>
> "No nation could preserve its freedom in the midst of continual warfare."
> - Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
>



-- 
Sandy McArthur, Jr.

"No nation could preserve its freedom in the midst of continual warfare."
- Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Extroot on Barrier Breaker 14.07-rc3

2014-08-22 Thread Sandy McArthur Jr
Folow up: I tried a different USB flash drive and it worked fine.

The flash drive that failed to extroot was a Patriot Tab 16GB USB 3.0 Flash
Drive:
http://www.patriotmemory.com/product/detail.jsp?prodline=7&catid=99&prodgroupid=252&id=1372&type=23

Strangely this flash drive is working on other TP-Link TL-WDR4300 devices I
have running older A.A. OpenWrt releases. I did not test older OpenWrt
releases on this exact hardware with this USB flash drive.

The USB flash drive that did work was a USB 2 drive.


On Thu, Aug 21, 2014 at 2:29 PM, Sandy McArthur Jr 
wrote:

> I am unable to get extroot (pivot overlay) working with 14.07-rc3 on a TP-Link
> TL-WDR4300  . In the past
> I have been able to with Attitude Adjustment 12.09.
>
> I pluged in my USB flash drive, formated it (both ext3 / ext4), mounted
> it, duplicated the data ( tar -C /overlay -cvf - . | tar -C /mnt/sda1 -xf -
> ) and edited fstab with no love after the reboots.
>
> via ssh in /etc/config/fstab I've tried using:
>
> config mount
> option target/overlay
> option device/dev/sda1
> option fstypeext3
> option options   rw,sync
> option enabled   1
> option enabled_fsck  0
>
> and
>
> config 'mount'
> option  target  '/overlay'
> option  uuid'3aea4f6c-10cb-4ca9-919d-624f12656e37'
> option  enabled '1'
>
> and probably several other permutations. Also, I've used the web interface.
>
> Is the wiki out of date?
> http://wiki.openwrt.org/doc/howto/extroot#openwrt.barrier.breaker.trunk
>
> Any guidance is appreciated.
>
> --
> Sandy McArthur, Jr.
>
> "No nation could preserve its freedom in the midst of continual warfare."
> - Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
>



-- 
Sandy McArthur, Jr.

"No nation could preserve its freedom in the midst of continual warfare."
- Letters and Other Writings of James Madison (1865), Vol. IV, p. 491
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Bastian Bittorf
* Baptiste Jonglez  [22.08.2014 22:34]:
> What is the default value, then?  Is it "none" or "disabled"?  What is the
> difference?

internally it's a bool/switch, which can have:

0|off|false|no|disabled or
1|on|true|yes|enabled

adding 'none' is possible, but...

bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Baptiste Jonglez
On Fri, Aug 22, 2014 at 07:59:27PM +0200, Steven Barth wrote:
> Please try with:
> option dhcpv6 disabled
> 
> instead of "none"

That worked, thanks!

What is the default value, then?  Is it "none" or "disabled"?  What is the
difference?

> Cheers,
> 
> Steven
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


pgpsMjF317Z8d.pgp
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Steven Barth

Please try with:
option dhcpv6 disabled

instead of "none"

Cheers,

Steven
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 12/12] brcm63xx: Add DT support for 96368MVWG

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96368MVWG.dts 
b/target/linux/brcm63xx/dts/bcm96368MVWG.dts
new file mode 100644
index 000..f462411
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96368MVWG.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6368.dtsi"
+
+/ {
+   model = "Broadcom BCM96368MVWG reference board";
+   compatible = "brcm,bcm96368mvwg", "brcm,bcm6368";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 63528dd..b7789cf 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -233,8 +233,6 @@ endef
 
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
-   # Various routers
-   $(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic)
 
# BT Voyager V210_BTR
$(call Image/Build/CFE,$(1),V210_BB,6348,BTV210_BTR,,--layoutver 5)
@@ -351,6 +349,8 @@ $(eval $(call 
CfeImageDTB,96358VW,bcm96358VW,96358VW,6358,96358VW-generic))
 $(eval $(call CfeImageDTB,96358VW2,bcm96358VW2,96358VW2,6358,96358VW2-generic))
 # Generic 96368MVNgr
 $(eval $(call 
CfeImageDTB,96368MVNgr,bcm96368MVNgr,96368MVNgr,6368,96368MVNgr-generic))
+# Generic 96368MVWG
+$(eval $(call 
CfeImageDTB,96368MVWG,bcm96368MVWG,96368MVWG,6368,96368MVWG-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git 
a/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
 
b/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
index c320f77..2256bd8 100644
--- 
a/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG 
board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1936,6 +1936,85 @@ static struct board_info __initdata boar
+@@ -1936,6 +1936,86 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
@@ -19,6 +19,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG 
board.
 +#ifdef CONFIG_BCM63XX_CPU_6368
 +static struct board_info __initdata board_96368mvwg = {
 +  .name   = "96368MVWG",
++  .of_board_id= "brcm,bcm96368mvwg",
 +  .expected_cpu_id= 0x6368,
 +
 +  .has_uart0  = 1,
@@ -96,7 +97,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG 
board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -1987,6 +2066,10 @@ static const struct board_info __initcon
+@@ -1987,6 +2067,10 @@ static const struct board_info __initcon
&board_HW553,
&board_spw303v,
  #endif
diff --git 
a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
 
b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
index 720ea6d..ccd24ca 100644
--- 
a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
@@ -9,7 +9,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr 
board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2012,6 +2012,73 @@ static struct board_info __initdata boar
+@@ -2013,6 +2013,73 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
  };
@@ -83,7 +83,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr 
board.
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -2069,6 +2136,7 @@ static const struct board_info __initcon
+@@ -2070,6 +2137,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
diff --git 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
index ec7b95b..e0ad162 100644
--- 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
@@ -87,7 +87,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2122,6 +2193,7 @@ static const struct board_info __initcon
+@@ -2123,6 +2194,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch 
b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
index e14663d..67f42df 100644
--

[OpenWrt-Devel] [PATCH 11/12] brcm63xx: Add DT support for 96368MVNgr

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96368MVNgr.dts 
b/target/linux/brcm63xx/dts/bcm96368MVNgr.dts
new file mode 100644
index 000..b274bfd
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96368MVNgr.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6368.dtsi"
+
+/ {
+   model = "Broadcom BCM96368MVNgr reference board";
+   compatible = "brcm,bcm96368mvngr", "brcm,bcm6368";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 27d0c0a..63528dd 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
$(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic)
 
# BT Voyager V210_BTR
@@ -350,6 +349,8 @@ $(eval $(call 
CfeImageDTB,96348R,bcm96348R,96348R,6348,96348R-generic))
 $(eval $(call CfeImageDTB,96358VW,bcm96358VW,96358VW,6358,96358VW-generic))
 # Generic 96358VW2
 $(eval $(call CfeImageDTB,96358VW2,bcm96358VW2,96358VW2,6358,96358VW2-generic))
+# Generic 96368MVNgr
+$(eval $(call 
CfeImageDTB,96368MVNgr,bcm96368MVNgr,96368MVNgr,6368,96368MVNgr-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git 
a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
 
b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
index fadf2eb..720ea6d 100644
--- 
a/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
@@ -9,13 +9,14 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr 
board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2012,6 +2012,72 @@ static struct board_info __initdata boar
+@@ -2012,6 +2012,73 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
  };
 +
 +static struct board_info __initdata board_96368mvngr = {
 +  .name   = "96368MVNgr",
++  .of_board_id= "brcm,bcm96368mvngr",
 +  .expected_cpu_id= 0x6368,
 +
 +  .has_uart0  = 1,
@@ -82,7 +83,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr 
board.
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -2069,6 +2135,7 @@ static const struct board_info __initcon
+@@ -2069,6 +2136,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
diff --git 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
index 46d5230..ec7b95b 100644
--- 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
@@ -87,7 +87,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2121,6 +2192,7 @@ static const struct board_info __initcon
+@@ -2122,6 +2193,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch 
b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
index d7a45ca..e14663d 100644
--- a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
+++ b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition 
for D-Link
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2193,6 +2298,7 @@ static const struct board_info __initcon
+@@ -2194,6 +2299,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
&board_963281TAN,
diff --git a/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch 
b/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
index 779582b..0ed9f53 100644
--- a/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
+++ b/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
@@ -60,7 +60,7 @@
  static struct board_info __initdata board_96348_D4PW = {
.name   = "D-4P-W",
.expected_cpu_id= 0x6348,
-@@ -2328,6 +2381,7 @@ static const struct board_info __initcon
+@@ -2329,6 +2382,7 @@ static const struct board_info __initcon
&board_ct536_ct5621,
&board_96348A_122,
&board_CPVA502plus,
diff --git a/target/linux/brcm63xx/patches-3.14/526-board_CT6373-1

[OpenWrt-Devel] [PATCH 10/12] brcm63xx: Add DT support for 96358VW2

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96358VW2.dts 
b/target/linux/brcm63xx/dts/bcm96358VW2.dts
new file mode 100644
index 000..bcf3c81
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96358VW2.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6358.dtsi"
+
+/ {
+   model = "Broadcom BCM96358VW2 reference board";
+   compatible = "brcm,bcm96358vw2", "brcm,bcm6358";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index ea3c4e6..27d0c0a 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
$(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic)
 
@@ -349,6 +348,8 @@ $(eval $(call 
CfeImageDTB,96348GW_11,bcm96348GW-11,96348GW-11,6348,96348GW-11-ge
 $(eval $(call CfeImageDTB,96348R,bcm96348R,96348R,6348,96348R-generic))
 # Generic 96358VW
 $(eval $(call CfeImageDTB,96358VW,bcm96358VW,96358VW,6358,96358VW-generic))
+# Generic 96358VW2
+$(eval $(call CfeImageDTB,96358VW2,bcm96358VW2,96358VW2,6358,96358VW2-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index bfd4d64..685d108 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -95,3 +95,11 @@ define Profile/96358VW/Description
 endef
 $(eval $(call Profile,96358VW))
 
+define Profile/96358VW2
+  NAME:=Generic 96358VW2
+  PACKAGES:=
+endef
+define Profile/96358VW2/Description
+  Package set optimized for 96358VW2.
+endef
+$(eval $(call Profile,96358VW2))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 9/12] brcm63xx: Add DT support for 96358VW

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96358VW.dts 
b/target/linux/brcm63xx/dts/bcm96358VW.dts
new file mode 100644
index 000..a978d41
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96358VW.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6358.dtsi"
+
+/ {
+   model = "Broadcom BCM96358VW reference board";
+   compatible = "brcm,bcm96358vw", "brcm,bcm6358";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 957ea9b..ea3c4e6 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
$(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic)
@@ -348,6 +347,8 @@ $(eval $(call 
CfeImageDTB,96348GW_10,bcm96348GW-10,96348GW-10,6348,96348GW-10-ge
 $(eval $(call 
CfeImageDTB,96348GW_11,bcm96348GW-11,96348GW-11,6348,96348GW-11-generic))
 # Generic 96348R
 $(eval $(call CfeImageDTB,96348R,bcm96348R,96348R,6348,96348R-generic))
+# Generic 96358VW
+$(eval $(call CfeImageDTB,96358VW,bcm96358VW,96358VW,6358,96358VW-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index eb17f95..bfd4d64 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -85,3 +85,13 @@ define Profile/96348R/Description
   Package set optimized for 96348R.
 endef
 $(eval $(call Profile,96348R))
+
+define Profile/96358VW
+  NAME:=Generic 96358VW
+  PACKAGES:=
+endef
+define Profile/96358VW/Description
+  Package set optimized for 96358VW.
+endef
+$(eval $(call Profile,96358VW))
+
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 8/12] brcm63xx: Add DT support for 96338W

2014-08-22 Thread Álvaro Fernández Rojas
Renamed of_board_id to convention.

Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96338W.dts 
b/target/linux/brcm63xx/dts/bcm96338W.dts
new file mode 100644
index 000..1609541
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96338W.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6338.dtsi"
+
+/ {
+   model = "Broadcom BCM96338W reference board";
+   compatible = "brcm,bcm96338w", "brcm,bcm6338";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index c7e7978..957ea9b 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
@@ -335,6 +334,8 @@ $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-8M-fla
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-flash-generic,,--pad
 8))
 # Generic 96338GW
 $(eval $(call CfeImageDTB,96338GW,bcm96338GW,6338GW,6338,96338GW-generic))
+# Generic 96338W
+$(eval $(call CfeImageDTB,96338W,bcm96338W,6338W,6338,96338W-generic))
 # Generic 96345GW2
 $(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic))
 $(eval $(call 
CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5))
diff --git 
a/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
 
b/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
index 004f526..a997212 100644
--- 
a/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
@@ -37,7 +37,7 @@ Subject: [PATCH 48/48] MIPS: BCM63XX: add of_board_ids for 
all supported boards
  
  static struct board_info __initdata board_96338w = {
.name   = "96338W",
-+  .of_board_id= "brcm,96338w",
++  .of_board_id= "brcm,bcm96338w",
.expected_cpu_id= 0x6338,
  
.has_uart0  = 1,
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index 30a17ab..eb17f95 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -32,6 +32,15 @@ define Profile/96338GW/Description
 endef
 $(eval $(call Profile,96338GW))
 
+define Profile/96338W
+  NAME:=Generic 96338W
+  PACKAGES:=
+endef
+define Profile/96338W/Description
+  Package set optimized for 96338W.
+endef
+$(eval $(call Profile,96338W))
+
 define Profile/96345GW2
   NAME:=Generic 96345GW2
   PACKAGES:=
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 7/12] brcm63xx: Add DT support for 96338GW

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96338GW.dts 
b/target/linux/brcm63xx/dts/bcm96338GW.dts
new file mode 100644
index 000..2040e2f
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96338GW.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6338.dtsi"
+
+/ {
+   model = "Broadcom BCM96338GW reference board";
+   compatible = "brcm,bcm96338gw", "brcm,bcm6338";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 5033e3e..c7e7978 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
@@ -334,6 +333,8 @@ $(eval $(call 
CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-16M-fl
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-4M-flash-generic,,--pad
 2))
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-8M-flash-generic,,--pad
 4))
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-flash-generic,,--pad
 8))
+# Generic 96338GW
+$(eval $(call CfeImageDTB,96338GW,bcm96338GW,6338GW,6338,96338GW-generic))
 # Generic 96345GW2
 $(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic))
 $(eval $(call 
CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index efcd42b..30a17ab 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -23,6 +23,15 @@ define Profile/96328avng/Description
 endef
 $(eval $(call Profile,96328avng))
 
+define Profile/96338GW
+  NAME:=Generic 96338GW
+  PACKAGES:=
+endef
+define Profile/96338GW/Description
+  Package set optimized for 96338GW.
+endef
+$(eval $(call Profile,96338GW))
+
 define Profile/96345GW2
   NAME:=Generic 96345GW2
   PACKAGES:=
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 6/12] brcm63xx: Add DT support for 96348R

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96348R.dts 
b/target/linux/brcm63xx/dts/bcm96348R.dts
new file mode 100644
index 000..004abcb
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96348R.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+   model = "Broadcom 96348R reference board";
+   compatible = "brcm,bcm96348r", "brcm,bcm6348";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index f234314..5033e3e 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,7 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,)
$(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
@@ -345,6 +344,8 @@ $(eval $(call 
CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-bc221,,--layou
 $(eval $(call 
CfeImageDTB,96348GW_10,bcm96348GW-10,96348GW-10,6348,96348GW-10-generic))
 # Generic 96348GW-11
 $(eval $(call 
CfeImageDTB,96348GW_11,bcm96348GW-11,96348GW-11,6348,96348GW-11-generic))
+# Generic 96348R
+$(eval $(call CfeImageDTB,96348R,bcm96348R,96348R,6348,96348R-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index 88335a1..efcd42b 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -58,3 +58,12 @@ define Profile/96348GW_11/Description
   Package set optimized for 96348GW-11.
 endef
 $(eval $(call Profile,96348GW_11))
+
+define Profile/96348R
+  NAME:=Generic 96348R
+  PACKAGES:=
+endef
+define Profile/96348R/Description
+  Package set optimized for 96348R.
+endef
+$(eval $(call Profile,96348R))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 5/12] brcm63xx: Add DT support for 96348GW-11

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96348GW-11.dts 
b/target/linux/brcm63xx/dts/bcm96348GW-11.dts
new file mode 100644
index 000..906ecab
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96348GW-11.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+   model = "Broadcom BCM96348GW-11 reference board";
+   compatible = "brcm,bcm96348gw-11", "brcm,bcm6348";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index ddd2435..f234314 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -237,7 +237,6 @@ define Image/Build
$(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,)
$(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
-   $(call Image/Build/CFE,$(1),96348GW-11,6348,96348GW-11-generic)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
@@ -344,6 +343,8 @@ $(eval $(call 
CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-generic))
 $(eval $(call 
CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-bc221,,--layoutver 5))
 # Generic 96348GW-10
 $(eval $(call 
CfeImageDTB,96348GW_10,bcm96348GW-10,96348GW-10,6348,96348GW-10-generic))
+# Generic 96348GW-11
+$(eval $(call 
CfeImageDTB,96348GW_11,bcm96348GW-11,96348GW-11,6348,96348GW-11-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index a8b3424..88335a1 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -49,3 +49,12 @@ define Profile/96348GW_10/Description
   Package set optimized for 96348GW-10.
 endef
 $(eval $(call Profile,96348GW_10))
+
+define Profile/96348GW_11
+  NAME:=Generic 96348GW-11
+  PACKAGES:=
+endef
+define Profile/96348GW_11/Description
+  Package set optimized for 96348GW-11.
+endef
+$(eval $(call Profile,96348GW_11))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 4/12] brcm63xx: Add DT support for 96348GW-10

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96348GW-10.dts 
b/target/linux/brcm63xx/dts/bcm96348GW-10.dts
new file mode 100644
index 000..172ee62
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96348GW-10.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+   model = "Broadcom BCM96348GW-10 reference board";
+   compatible = "brcm,bcm96348gw-10", "brcm,bcm6348";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 3e5e4c1..ddd2435 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -238,7 +238,6 @@ define Image/Build
$(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96348GW-11,6348,96348GW-11-generic)
-   $(call Image/Build/CFE,$(1),96348GW-10,6348,96348GW-10-generic)
$(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic)
$(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic)
$(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic)
@@ -343,6 +342,8 @@ $(eval $(call 
CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--l
 # Generic 96348GW
 $(eval $(call CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-generic))
 $(eval $(call 
CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-bc221,,--layoutver 5))
+# Generic 96348GW-10
+$(eval $(call 
CfeImageDTB,96348GW_10,bcm96348GW-10,96348GW-10,6348,96348GW-10-generic))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index 481136e..a8b3424 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -40,3 +40,12 @@ define Profile/96348GW/Description
   Package set optimized for 96348GW.
 endef
 $(eval $(call Profile,96348GW))
+
+define Profile/96348GW_10
+  NAME:=Generic 96348GW-10
+  PACKAGES:=
+endef
+define Profile/96348GW_10/Description
+  Package set optimized for 96348GW-10.
+endef
+$(eval $(call Profile,96348GW_10))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 3/12] brcm63xx: Add DT support for 96348GW

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96348GW.dts 
b/target/linux/brcm63xx/dts/bcm96348GW.dts
new file mode 100644
index 000..cd039f8
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96348GW.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6348.dtsi"
+
+/ {
+   model = "Broadcom BCM96348GW reference board";
+   compatible = "brcm,bcm96348gw", "brcm,bcm6348";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 4e5c9ed..3e5e4c1 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,9 +234,7 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-generic,,)
$(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,)
-   $(call Image/Build/CFE,$(1),96348GW,6348,96348GW-bc221,,--layoutver 5)
$(call Image/Build/CFE,$(1),6338GW,6338,6338GW-generic,,)
$(call Image/Build/CFE,$(1),6338W,6338,6338W-generic,,)
$(call Image/Build/CFE,$(1),96348GW-11,6348,96348GW-11-generic)
@@ -342,6 +340,9 @@ $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-fl
 # Generic 96345GW2
 $(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic))
 $(eval $(call 
CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5))
+# Generic 96348GW
+$(eval $(call CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-generic))
+$(eval $(call 
CfeImageDTB,96348GW,bcm96348GW,96348GW,6348,96348GW-bc221,,--layoutver 5))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index c60ef62..481136e 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -31,3 +31,12 @@ define Profile/96345GW2/Description
   Package set optimized for 96345GW2.
 endef
 $(eval $(call Profile,96345GW2))
+
+define Profile/96348GW
+  NAME:=Generic 96348GW
+  PACKAGES:=
+endef
+define Profile/96348GW/Description
+  Package set optimized for 96348GW.
+endef
+$(eval $(call Profile,96348GW))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 2/12] brcm63xx: Add DT support for 96345GW2

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm96345GW2.dts 
b/target/linux/brcm63xx/dts/bcm96345GW2.dts
new file mode 100644
index 000..35417ab
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm96345GW2.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6345.dtsi"
+
+/ {
+   model = "Broadcom BCM96345GW2 reference board";
+   compatible = "brcm,bcm96345gw2", "brcm,bcm6345";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index 0010e7d..4e5c9ed 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,9 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call Image/Build/CFE,$(1),96345GW2,6345,96345GW2-generic)
-   $(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5)
-   $(call 
Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION))
$(call Image/Build/CFE,$(1),96348GW,6348,96348GW-generic,,)
$(call Image/Build/CFE,$(1),96348R,6348,96348R-generic,,)
$(call Image/Build/CFE,$(1),96348GW,6348,96348GW-bc221,,--layoutver 5)
@@ -342,6 +339,9 @@ $(eval $(call 
CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-16M-fl
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-4M-flash-generic,,--pad
 2))
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-8M-flash-generic,,--pad
 4))
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-16M-flash-generic,,--pad
 8))
+# Generic 96345GW2
+$(eval $(call CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-generic))
+$(eval $(call 
CfeImageDTB,96345GW2,bcm96345GW2,96345GW2,6345,96345GW2-bc221,,--layoutver 5))
 
 # ADB P.DG A4001N
 $(eval $(call CfeImageDTB,A4001N,a4001n,96328dg2x2,6328,A4001N,,--pad 8))
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk 
b/target/linux/brcm63xx/profiles/01-generic.mk
index db4a094..c60ef62 100644
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ b/target/linux/brcm63xx/profiles/01-generic.mk
@@ -22,3 +22,12 @@ define Profile/96328avng/Description
   Package set optimized for 96328avng.
 endef
 $(eval $(call Profile,96328avng))
+
+define Profile/96345GW2
+  NAME:=Generic 96345GW2
+  PACKAGES:=
+endef
+define Profile/96345GW2/Description
+  Package set optimized for 96345GW2.
+endef
+$(eval $(call Profile,96345GW2))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/12] brcm63xx: Add DT support for 963281TAN

2014-08-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas 
---
diff --git a/target/linux/brcm63xx/dts/bcm963281TAN.dts 
b/target/linux/brcm63xx/dts/bcm963281TAN.dts
new file mode 100644
index 000..be69997
--- /dev/null
+++ b/target/linux/brcm63xx/dts/bcm963281TAN.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/include/ "bcm6328.dtsi"
+
+/ {
+   model = "Broadcom bcm963281TAN reference board";
+   compatible = "brcm,bcm963281TAN", "brcm,bcm6328";
+};
diff --git a/target/linux/brcm63xx/image/Makefile 
b/target/linux/brcm63xx/image/Makefile
index a9d938f..0010e7d 100755
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -234,9 +234,6 @@ endef
 define Image/Build
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k 
conv=sync
# Various routers
-   $(call 
Image/Build/CFE,$(1),963281TAN,6328,963281TAN-4M-flash-generic,,--pad 2)
-   $(call 
Image/Build/CFE,$(1),963281TAN,6328,963281TAN-8M-flash-generic,,--pad 4)
-   $(call 
Image/Build/CFE,$(1),963281TAN,6328,963281TAN-16M-flash-generic,,--pad 8)
$(call Image/Build/CFE,$(1),96345GW2,6345,96345GW2-generic)
$(call Image/Build/CFE,$(1),96345GW2,6345,96348GW2-bc221,,--layoutver 5)
$(call 
Image/Build/CFE,$(1),96345GW2,6345,92345GW2-rev,OpenWRT-$(REVISION))
@@ -337,6 +334,10 @@ define Image/Build
   endif
 endef
 
+# Generic 963281TAN
+$(eval $(call 
CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-4M-flash-generic,,--pad
 2))
+$(eval $(call 
CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-8M-flash-generic,,--pad
 4))
+$(eval $(call 
CfeImageDTB,963281TAN,bcm963281TAN,963281TAN,6328,963281TAN-16M-flash-generic,,--pad
 8))
 # Generic 96328avng
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-4M-flash-generic,,--pad
 2))
 $(eval $(call 
CfeImageDTB,96328avng,bcm96328avng,96328avng,6328,96328avng-8M-flash-generic,,--pad
 4))
diff --git 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
index 665c71e..46d5230 100644
--- 
a/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
+++ 
b/target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
@@ -9,13 +9,14 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -156,6 +156,76 @@ static struct board_info __initdata boar
+@@ -156,6 +156,77 @@ static struct board_info __initdata boar
},
},
  };
 +
 +static struct board_info __initdata board_963281TAN = {
 +  .name   = "963281TAN",
++  .of_board_id= "brcm,bcm963281TAN",
 +  .expected_cpu_id= 0x6328,
 +
 +  .has_uart0  = 1,
@@ -86,7 +87,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2121,6 +2191,7 @@ static const struct board_info __initcon
+@@ -2121,6 +2192,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
diff --git a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch 
b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
index 7b3fba3..d7a45ca 100644
--- a/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
+++ b/target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition 
for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -226,6 +226,111 @@ static struct board_info __initdata boar
+@@ -227,6 +227,111 @@ static struct board_info __initdata boar
  
},
  };
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition 
for D-Link
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2192,6 +2297,7 @@ static const struct board_info __initcon
+@@ -2193,6 +2298,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
&board_96328avng,
&board_963281TAN,
diff --git a/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch 
b/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
index 72542c6..779582b 100644
--- a/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
+++ b/target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1175,6 +1175,59 @@ static struct board_info __initdata boar
+@@ -1176,6 +1176,59 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
  };
  
@@ -60,7 +60,7 @@
  static struct board_info __initdata board_96348_D4PW = {
.name   = "D-4P-W",

[OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Baptiste Jonglez
Hi,

The default behaviour of BB is to hand out statically assigned IPv6
addresses through DHCPv6.  To disable this behaviour and only keep SLAAC
through RA, I disabled dhcpv6 in /etc/config/dhcp:

config dhcp 'lan'
   option interface 'lan'
   option start '70'
   option limit '64'
   option leasetime '1h'
   option dhcpv6 'none'
   option ra 'server'


However, that didn't work as expected on BB-rc3.  The router was then
sending empty RAs, without any prefix or route.  Here is a RA captured on
a client with radvdump:

interface eth0
{
AdvSendAdvert on;
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvManagedFlag off;
AdvOtherConfigFlag off;
AdvReachableTime 0;
AdvRetransTimer 0;
AdvCurHopLimit 0;
AdvDefaultLifetime 0;
AdvHomeAgentFlag off;
AdvDefaultPreference medium;
AdvSourceLLAddress on;
AdvLinkMTU 1453;

DNSSL lan
{
AdvDNSSLLifetime 1200;
}; # End of DNSSL definition

}; # End of interface definition



For the sake of comparison, here is a RA from the same router with the
default configuration, i.e. DHCPv6 enabled (the IPv6 prefix is
obfuscated on purpose):

interface eth0
{
AdvSendAdvert on;
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvManagedFlag on;
AdvOtherConfigFlag on;
AdvReachableTime 0;
AdvRetransTimer 0;
AdvCurHopLimit 0;
AdvDefaultLifetime 1800;
AdvHomeAgentFlag off;
AdvDefaultPreference medium;
AdvSourceLLAddress on;
AdvLinkMTU 1450;

prefix 2001:db8:80ce:9201::/64
{
AdvValidLifetime 7200;
AdvPreferredLifetime 1800;
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
}; # End of prefix definition


prefix fdd1:b9fe:7201:1::/64
{
AdvValidLifetime 7200;
AdvPreferredLifetime 1800;
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
}; # End of prefix definition


route 2001:db8:80ce:9200::/56
{
AdvRoutePreference medium;
AdvRouteLifetime 7200;
}; # End of route definition


route fdd1:b9fe:7201::/48
{
AdvRoutePreference medium;
AdvRouteLifetime 7200;
}; # End of route definition


RDNSS 2001:db8:80ce:9201::1
{
AdvRDNSSLifetime 1800;
}; # End of RDNSS definition


DNSSL lan
{
AdvDNSSLLifetime 1200;
}; # End of DNSSL definition

}; # End of interface definition



I would expect prefixes and routes to be announced in the RA, even when
DHCPv6 is disabled.  Is this the intended behaviour?

Also notice that some options are sligthly different in both cases
(different MTU, etc).  Note that the IPv6 upstream is a L2TP tunnel, whose
MTU is equal to 1453.

Thanks,
Baptiste


pgp_Ucks4Szlp.pgp
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] 6in4 does not recover after wan outage

2014-08-22 Thread Richard Mortimer

On 22/08/2014 15:06, Steven Barth wrote:

Hi Richard,

could you please post the output of:
ifstatus wan
and
ifstatus wan6

when said situation occurs?

Sure. during, after and before situation included below. I anonymised 
the IP addresses a little but tried to mark common prefixes just in case 
it matters to you.


Best Regards

Richard



During ADSL outage.

root@prison:/etc/config# ifstatus wan
{
"up": false,
"pending": false,
"available": true,
"autostart": false,
"proto": "pppoa",
"data": {

}
}
root@prison:/etc/config# ifstatus wan6
{
"up": false,
"pending": true,
"available": true,
"autostart": true,
"proto": "6in4",
"data": {

},
"errors": [
{
"subsystem": "6in4",
"code": "NO_WAN_LINK"
}
]
}


After ADSL recovers


root@prison:/etc/config# ifstatus wan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"uptime": 110,
"l3_device": "pppoa-wan",
"proto": "pppoa",
"updated": [
"addresses",
"routes"
],
"metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "x.x.x.x",
"mask": 32
}
],
"ipv6-address": [

],
"ipv6-prefix": [

],
"ipv6-prefix-assignment": [

],
"route": [
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "y.y.y.y",
"source": "0.0.0.0\/0"
}
],
"dns-server": [
"z.z.z.1",
"z.z.z.2",
":x:x:x::e"
],
"dns-search": [

],
"inactive": {
"ipv4-address": [

],
"ipv6-address": [

],
"route": [

],
"dns-server": [
"62.24.134.1",
"62.24.243.2"
],
"dns-search": [

]
},
"data": {

}
}
root@prison:/etc/config# ifstatus wan6
{
"up": false,
"pending": true,
"available": true,
"autostart": true,
"proto": "6in4",
"data": {

},
"errors": [
{
"subsystem": "6in4",
"code": "NO_WAN_LINK"
}
]
}


Just in case you need it. Here's the output before the outage.

root@prison:/etc/config# ifstatus wan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"uptime": 5561,
"l3_device": "pppoa-wan",
"proto": "pppoa",
"updated": [
"addresses",
"routes"
],
"metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "x.x.x.x",
"mask": 32
}
],
"ipv6-address": [

],
"ipv6-prefix": [

],
"ipv6-prefix-assignment": [

],
"route": [
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "y.y.y.y",
"source": "0.0.0.0\/0"
}
],
"dns-server": [
"z.z.z.1",
"z.z.z.2",
"x:x:x:x::e"
],
"dns-search": [

],
"inactive": {
"ipv4-address": [

],
"ipv6-address": [

],
"route": [

],
"dns-server": [
"62.24.134.1",
"62.24.243.2"
],
"dns-search": [

]
},
"data": {

}
}
root@prison:/etc/config# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"uptime": 5589,
"l3_device": "6in4-wan6",
"proto": "6in4",
"updated": [
"addresses",
"routes",
"prefixes"
],
"metric": 0,
"delegation": true,
"ipv4-address": [

],
"ipv6-address": [
{
"address": "x:x:x:x::2",
"mask": 128
}
],
"ipv6-prefix": [
{
"address": "x:x:x::",
"mask": 48,
"class": "wan6",
"assi

Re: [OpenWrt-Devel] 6in4 does not recover after wan outage

2014-08-22 Thread Steven Barth

Hi Richard,

could you please post the output of:
ifstatus wan
and
ifstatus wan6

when said situation occurs?


Cheers,

Steven
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] 6in4 does not recover after wan outage

2014-08-22 Thread Richard Mortimer
I'm testing BB rc3 on a Buffalo WBMR-HP-G300H and for the most part its 
working fine and I'm getting a rock solid ADSL connection with it.


However I've noticed that if the ADSL line drops then when it recovers 
my SiXXS 6in4 tunnel does not automatically re-establish the connection. 
There doesn't seem to be any magic config values to set either in the 
LUCI interface or at

http://wiki.openwrt.org/doc/uci/network#protocol.6in4.ipv6-in-ipv4.tunnel

Is this a missing feature or is there a bug lurking somewhere in the new 
event mechanism?


For reference I've got the following in my wan and wan6 configs 
(passwords and IP addresses suitably redacted).


config interface 'wan'
option _orig_ifname 'nas0'
option _orig_bridge 'false'
option proto 'pppoa'
option encaps 'vc'
option atmdev '0'
option vci '38'
option vpi '0'
option username 'auser'
option password 'apass'
option mtu '1458'
option peerdns '0'
option dns 'x.x.x.x'

config interface 'wan6'
option _orig_ifname '@wan'
option _orig_bridge 'false'
option proto '6in4'
option peeraddr 'y.y.y.y'
option ip6addr 'a:b:c::d'
option ip6prefix 'e:f::/48'

I'm happy to help debug etc where needed and will log a trac ticket if 
it isn't down to my stupidity!


Regards

Richard
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] New package: mailsend. A tool that allows to send emails without the need to install an smtp server. Supports ssl.

2014-08-22 Thread Giovanni Di Stasi
Hello,

I see that the tool has been included. Great work!

Best regards,
Giovanni


On Thu, Aug 21, 2014 at 12:47 AM, Ted Hess  wrote:

> [ Original patch attachment removed for brevity ]
>>
>
> Please consider (re-)submitting this as a pull-request to the new packages
> repository (https://github.com/openwrt/packages).
>
> Read over the CONTRIBUTING.md document before submitting.
>
> A couple of things to note about your submission:
>
> 1 - Does not have signed-off-by statement
> 2 - Does not have a PKG_MAINTAINER
> 3 - Does not have license info
> 4 - Has references to local file paths !!
> 5 - Copyright incorrect or out-dated.
> 6 - OpenSSL should not be required
>
> /ted ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Failsafe mode with RC3 and TP WR841

2014-08-22 Thread Martin Babutzka
Hello all,

I experienced troubles entering the OpenWRT failsafe mode on a TP-Link WR841
with Barrier Breaker RC3. I used the failsafe mode on different devices
successfully already. None of the 2 buttons reacted during power on and no
procedure worked (pushing the button all the time, pushing the button many times
during startup).
Can anyone confirm this?

Does the failsafe mode depend on a certain package or configuration? My Barrier
Breaker image was a custom one made with the official image builder. The package
was built with Barrier Breaker RC3 and the following command:
make image PROFILE=TLWR841 PACKAGES="wpad nano luci-mod-admin-full luci-ssl
-wpad-mini -dnsmasq -ppp -ppp-mod-pppoe"

Cheers,
Martin
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] procd / hang during shutdown/startup / regression?

2014-08-22 Thread Bastian Bittorf
i while ago, procd implemented a timeout (15 sec) for
hanging tasks during startup/init. this works and can
be easily checked with placing this snippet in any
startup-script:

start()
{
local i=300
while let i-=1; do
echo "still running: $i" >>/tmp/CHECK
sleep 1
done
}

the same for shutdown (STOP-scripts) e.g. umount

tested with r42232 this down not work anymore,
but i'am pretty sure it was working with older versions.

bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel