Re: [OpenWrt-Devel] Bloated size netifd (688K)

2013-12-05 Thread cmsv
I have found the problem and "some package" was broken on the system used to compile the images. I also upgraded cmake and the problem seems to be gone now as netifd is back to 45k size. -rw-r--r-- 1 cmsv cmsv 45K Dec 5 20:59 netifd_2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641_ar71xx.ipk

Re: [OpenWrt-Devel] [PATCH] mac82011 550-ath9k_entropy_from_adc.patch backport AA - questions

2013-12-05 Thread Felix Fietkau
On 2013-12-05 22:41, Tijs Van Buggenhout wrote: > Hi Felix, > > I have a question about https://dev.openwrt.org/changeset/38486. While > backporting the aforementioned patch from trunk to attitude adjustment, I > noticed that the patch does not include a gettor function for the adc entropy > of

[OpenWrt-Devel] [PATCH] mac82011 550-ath9k_entropy_from_adc.patch backport AA - questions

2013-12-05 Thread Tijs Van Buggenhout
Hi Felix, I have a question about https://dev.openwrt.org/changeset/38486. While backporting the aforementioned patch from trunk to attitude adjustment, I noticed that the patch does not include a gettor function for the adc entropy of the ar9002 chip, only those of ar5008 and ar9003. static v

Re: [OpenWrt-Devel] bcm6368 + block-mount jffs2 problem.

2013-12-05 Thread José Vázquez
2013/11/27, José Vázquez : > 2013/11/27, John Crispin : >> On 27/11/13 08:48, Florian Fainelli wrote: >>> >>> On Nov 26, 2013 11:42 PM, "John Crispin" >> > wrote: >>> > >>> > On 26/11/13 23:29, José Vázquez wrote: >>> >> >>> >> Maybe the problem is that part of the new

[OpenWrt-Devel] [PATCH] netifd: enable coredumps again

2013-12-05 Thread Ulrich Weber
got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber --- package/network/config/netifd/files/etc/init.d/network | 8 package/system/procd/files/procd.sh| 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH] procd: set resource limits for service instances

2013-12-05 Thread Ulrich Weber
useful to enable core dumps or set resource limits Signed-off-by: Ulrich Weber --- service/instance.c | 66 ++ service/instance.h | 1 + 2 files changed, 67 insertions(+) diff --git a/service/instance.c b/service/instance.c index 20017ce..27b

[OpenWrt-Devel] [PATCH 8/8] brcm47xx: add brcmsmac + bgmac profile

2013-12-05 Thread Cody P Schafer
--- .../brcm47xx/profiles/226-Broadcom-bgmac-brcsmac.mk | 20 1 file changed, 20 insertions(+) create mode 100644 target/linux/brcm47xx/profiles/226-Broadcom-bgmac-brcsmac.mk diff --git a/target/linux/brcm47xx/profiles/226-Broadcom-bgmac-brcsmac.mk b/target/linux/brcm47xx/

[OpenWrt-Devel] [PATCH 6/8] brcm47xx/upgrade: add workarounds for Belkin .trx headers

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- .../brcm47xx/base-files/lib/upgrade/platform.sh| 58 +++--- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh b/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh ind

[OpenWrt-Devel] [PATCH 5/8] mtd: recognize belkin trx magic

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/system/mtd/src/trx.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/package/system/mtd/src/trx.c b/package/system/mtd/src/trx.c index 65c2440..431fd06 100644 --- a/package/system/mtd/src/trx.c +++ b/pack

[OpenWrt-Devel] [PATCH 7/8] brcm47xx/image: build Belkin F7Dxxxx images

2013-12-05 Thread Cody P Schafer
F7D3302/F7D7302, F7D3301/F7D7301, F7D4302/F7D8302, and F7D4401 Same story as the lzmaloader changeset which proceeds this. Signed-off-by: Cody P Schafer --- target/linux/brcm47xx/image/Makefile | 25 + 1 file changed, 25 insertions(+) diff --git a/target/linux/brcm47xx/

[OpenWrt-Devel] [PATCH 4/8] brcm47xx/mtd-partition: recognize Belkin F7Dxxxx TRX headers

2013-12-05 Thread Cody P Schafer
F7D3301/F7D7301, F7D3302/F7D7302, and F7D4301 replace the "HDR0" with a custom byte sequence (which appears to be a date). Also, they all appear to support a single "QA" byte sequence. Just support the "QA" byte sequence, we don't need the others. Signed-off-by: Cody P Schafer --- .../077-MIPS-

[OpenWrt-Devel] [PATCH 3/8] brcm47xx/lzmaloader: add Belkin F7Dxxxx support

2013-12-05 Thread Cody P Schafer
F7D3301/F7D7301, F7D3302/F7D7302, F7D4302, and F7D4401 all have replacements for the TRX magic ("HDR0"), and all those models also appear to support a single "QA" TRX magic. Only bother supporting the "QA" (0x12345678) TRX magic, no need for board specific ones. Signed-off-by: Cody P Schafer ---

[OpenWrt-Devel] [PATCH 2/8] broadcom-diag: tweak Belkin F7Dxxxx, share 1 led/button layout

2013-12-05 Thread Cody P Schafer
While marked and marketed as different boards, the F7D series is (so far) largely the same in what matters for broadcom-diag: all the buttons and leds are assigned to the same gpios. The only difference that may need to be noted: some models lack a usb1 led (as they lack usb1). Given that it i

[OpenWrt-Devel] [PATCH 1/8] linux/brcm47xx : tweak Belkin F7Dxxxx board detection

2013-12-05 Thread Cody P Schafer
Add a few Belkin F7D entries, with F7D4401 sourced from online documentation and the "F7D7302" being observed. F7D3301, F7D3302, and F7D4302 are reasonable guesses which are unlikely to cause mis-detection. It also appears that at least the F7D3302, F7D3301, F7D7301, and F7D7302 have a shared

[OpenWrt-Devel] [PATCH 0/8] Improve Belkin F7Dxxxx support

2013-12-05 Thread Cody P Schafer
- fixup board detection with some new boards - cleanup broadcom-diag usage - teach lzmaloader, brcm47xxpart, mtd, and brcm47xx's upgrade/platform.sh about the Belkin trx magic - build some Belkin F7D images As noted in a previous email, we need to recognize all of the various trx magic becau

[OpenWrt-Devel] [PATCH 1/2] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/base-files/files/sbin/sysupgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 14b09eb..60c1019 100755 --- a/package/base-files/files/sbin

[OpenWrt-Devel] [PATCH 2/2] upgrade/common: force mtd when sysupgrade gets -F -F (2 forces)

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/base-files/files/lib/upgrade/common.sh | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 6122ae7..cad6d72 100644 --- a/packag

[OpenWrt-Devel] [PATCH 0/2] let sysupgrade's --force also trigger mtd --force

2013-12-05 Thread Cody P Schafer
Normal force (one -F flag) is unchanged in behavior and only overrides the sysupgrade checks. Force with two or more flags also passes --force to mtd, overriding some of it's checks. This was useful in testing of the belkin f7d patches, and seems like a good idea. Cody P Schafer (2): sysu

[OpenWrt-Devel] [PATCH] quilt: avoid copying backup files.

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- include/quilt.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/quilt.mk b/include/quilt.mk index 925b7a7..4e68f1b 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -31,7 +31,7 @@ define PatchDir/Quilt mkdir -p "

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-05 Thread Pavel Simerda
- Original Message - > From: "Bastian Bittorf" > To: "OpenWrt Development List" > Sent: Thursday, December 5, 2013 10:17:56 AM > Subject: Re: [OpenWrt-Devel] Interest in a openwrt router database to > partially replace TOH? > > * James Hilliard [05.12.2013 08:43]: > > Well, some info

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-05 Thread Bastian Bittorf
* James Hilliard [05.12.2013 08:43]: > Well, some information can likely be pulled directly from version control, > such as model/chipset/broken status/supported etc. That information could > then be tied into a wiki templating system to autogenerate pages which > could have additional model speci

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-05 Thread Bastian Bittorf
* Manuel Munz [05.12.2013 08:43]: > For that reason i started playing with a router database using web2py as > framework. A somehow working demo version can be found here: > > http://meshkit.freifunk.net/routerdb this is interesting, we also did something like that, but manually: bastian@gcc20: