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
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
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
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
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
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
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
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
---
.../
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
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
[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.
>> 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
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
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
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
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
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
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
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
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.
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
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
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
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
---
.../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/
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,
>&
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
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
---
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
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
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
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
>> 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
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
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
---
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
36 matches
Mail list logo