[OpenWrt-Devel] [RESEND PATCH v2 3/3] sysupgrade: document new force behavior.

2014-05-11 Thread Cody P Schafer
--- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index c17e2a1..13d10fc 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sys

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

2014-05-11 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 ecf1a98..7b3554b 100644 --- a

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

2014-05-11 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 cd224c6..c17e2a1 100755 --- a/package/base-files/files

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

2013-12-15 Thread Cody P Schafer
>> diff --git a/package/base-files/files/sbin/sysupgrade >> b/package/base-files/files/sbin/sysupgrade >> index 56e9a92..033bd35 100755 >> --- a/package/base-files/files/sbin/sysupgrade >> +++ b/package/base-files/files/sbin/sysupgrade >> @@ -32,7 +32,7 @@ while [ -n "$1" ]; do >> -r

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

2013-12-15 Thread Cody P Schafer
email, we need to recognize all of the > various trx magic because the Belkin web interface doesn't like the > 0x12345678 ("QA") trx magic that works on all of these routers. > > > > Cody P Schafer (8): > linux/brcm47xx : tweak Belkin F7D board detect

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

2013-12-15 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 56e9a92..033bd35 100755 --- a/package/base-files/files

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

2013-12-15 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 15ee703..c87c12b 100644 --- a

[OpenWrt-Devel] [PATCH v2 3/3] sysupgrade: document new force behavior.

2013-12-15 Thread Cody P Schafer
--- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 033bd35..956b796 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sys

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

2013-12-15 Thread Cody P Schafer
ation to sysupgrade's help text as suggested by Yousong Zhou -- Cody P Schafer (3): sysupgrade: let force be more forceful with multiple --force/-F options upgrade/common: force mtd when sysupgrade gets -F -F (2 forces) sysupgrade: document new force behavior. package/base-f

Re: [OpenWrt-Devel] WRT610n v2 support

2013-12-13 Thread Cody P Schafer
I run current trunk on a wrt610n v2 without applying any patches, and without observing any of the issues mentioned. Also, that kernel is ancient (Was this email stalled for 2 years somewhere in the depths of the web?). On Sat, Dec 18, 2010 at 2:19 AM, Nathan Hintz wrote: > The patches being refe

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

2013-12-11 Thread Cody P Schafer
On Wed, Dec 11, 2013 at 4:49 AM, Yousong Zhou wrote: > Hi, > > On 5 December 2013 18:42, Cody P Schafer wrote: >> 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, >&

[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

[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

[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

[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.

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

2013-12-05 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/kernel/broadcom-diag/src/diag.c | 36 + 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c index fccc219..3feb746 100644

[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
magic because the Belkin web interface doesn't like the 0x12345678 ("QA") trx magic that works on all of these routers. Cody P Schafer (8): linux/brcm47xx : tweak Belkin F7D board detection broadcom-diag: tweak Belkin F7D, share 1 led/button layout brcm47xx/lzmaloader

[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

[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

[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 Schaf

[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] [PATCH 0/8] Add Belkin F7Dx30x support

2013-11-20 Thread Cody P Schafer
>> You said: >>> F7D3301/F7D7301, F7D3302/F7D7302 and F7D4301 all have replacements for >>> the TRX magic ("HDR0"), and all those models also appear to support a >>> single "QA" TRX magic. Add all of this to the lzmaloader's trx >>> recognition code. >> >> Would it work to just generate images with

Re: [OpenWrt-Devel] [PATCH 0/8] Add Belkin F7Dx30x support

2013-11-11 Thread Cody P Schafer
[Sending again so it actually makes it to the list] > You said: >> F7D3301/F7D7301, F7D3302/F7D7302 and F7D4301 all have replacements for >> the TRX magic ("HDR0"), and all those models also appear to support a >> single "QA" TRX magic. Add all of this to the lzmaloader's trx >> recognition code.

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

2013-11-10 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- include/quilt.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/quilt.mk b/include/quilt.mk index 925b7a7..e256489 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -22,7 +22,7 @@ endif QUILT_CMD:=quilt --quiltrc

[OpenWrt-Devel] [PATCH 6/8] brcm47xx: fix netconfig for inverted vlan?ports in nvram

2013-11-10 Thread Cody P Schafer
This was observed on the Belkin Share F7D7302. Signed-off-by: Cody P Schafer --- target/linux/brcm47xx/base-files/etc/init.d/netconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base

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

2013-11-10 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. Add all of these to the partition detection. Signed-off-by: Cody P Schafer --- .../

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

2013-11-10 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- .../brcm47xx/base-files/lib/upgrade/platform.sh| 62 -- 1 file changed, 57 insertions(+), 5 deletions(-) diff --git a/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh b/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh

[OpenWrt-Devel] [PATCH 3/8] brcm47xx/image: build Belkin F7DXXXX images

2013-11-10 Thread Cody P Schafer
F7D3302/F7D7302, F7D3301/F7D7301, and F7D4301 Signed-off-by: Cody P Schafer --- target/linux/brcm47xx/image/Makefile | 24 1 file changed, 24 insertions(+) diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index eca09a8..43403a2

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

2013-11-10 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/system/mtd/src/trx.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/package/system/mtd/src/trx.c b/package/system/mtd/src/trx.c index 65c2440..8d85aaf 100644 --- a/package/system/mtd/src/trx.c +++ b

[OpenWrt-Devel] [PATCH 1/8] broadcom-diag: add Belkin F7D3302/F7D7302

2013-11-10 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/kernel/broadcom-diag/src/diag.c | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c index e11141e..fccc219 100644 --- a

[OpenWrt-Devel] [PATCH 2/8] linux/brcm47xx : Belkin F7Dx30x board detection

2013-11-10 Thread Cody P Schafer
t need separate led/button definitions. Not knowing which one you have is only a usability issue for upgrading the device: they expect different magic numbers for their trx images. Signed-off-by: Cody P Schafer --- ...PS-BCM47XX-fix-detection-of-some-boards-2.patch | 37 ++ 1 f

[OpenWrt-Devel] [PATCH 0/8] Add Belkin F7Dx30x support

2013-11-10 Thread Cody P Schafer
These pathes add (at least) support for the Belkin F7D3302/F7D7302 router (which I have), and potentially also enable the F7D3301 and F7D4301 routers (which I don't have and have not tested). -- Cody P Schafer (8): broadcom-diag: add Belkin F7D3302/F7D7302 linux/brcm47xx : Belkin F7

[OpenWrt-Devel] [PATCH 4/8] brcm47xx/lzmaloader: add Belkin F7DXXXX support

2013-11-10 Thread Cody P Schafer
F7D3301/F7D7301, F7D3302/F7D7302 and F7D4301 all have replacements for the TRX magic ("HDR0"), and all those models also appear to support a single "QA" TRX magic. Add all of this to the lzmaloader's trx recognition code. Signed-off-by: Cody P Schafer --- .../brcm4