[OpenWrt-Devel] [PATCH] lantiq: Fixed brnImage signature for the VGV7510KW22BRN images

2016-01-16 Thread Martin Blumenstingl
The old signature only worked because brnboot ignores the leading "5" in
the signature. We can see the correct signature when flashing a brnImage
via recovery web-interface, in this case brnboot reports:
[CGI-Signature Check] buf:[BRNDA6431], sigInFlash:[BRNDA6431]

Thanks to Mathias Kresin for reporting this.

Signed-off-by: Martin Blumenstingl 
---
 target/linux/lantiq/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/image/Makefile 
b/target/linux/lantiq/image/Makefile
index 553bdc1..f986d38 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -417,7 +417,7 @@ Image/BuildKernel/Profile/VGV7510KW22NOR=$(call 
Image/BuildKernel/Template,VGV75
 Image/Build/Profile/VGV7510KW22NOR=$(call Image/Build/$(1),$(1),VGV7510KW22NOR)
 
 Image/BuildKernel/Profile/VGV7510KW22BRN=$(call 
Image/BuildKernel/Template,VGV7510KW22BRN,$(1))
-Image/Build/Profile/VGV7510KW22BRN=$(call 
Image/Build/$(1),$(1),VGV7510KW22BRN,5BRNDA6431,0x12345678,0x04c11db7,$(1))
+Image/Build/Profile/VGV7510KW22BRN=$(call 
Image/Build/$(1),$(1),VGV7510KW22BRN,BRNDA6431,0x12345678,0x04c11db7,$(1))
 
 Image/BuildKernel/Profile/VGV7519NOR=$(call 
Image/BuildKernel/Template,VGV7519NOR,$(1))
 Image/Build/Profile/VGV7519NOR=$(call Image/Build/$(1),$(1),VGV7519NOR)
-- 
2.7.0
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] lantiq: Fixed brnImage signature for the VGV7510KW22BRN images

2016-01-16 Thread Christoph Kottke


Martin Blumenstingl  schrieb:

>The old signatu  re only worked because brnboot ignores the leading "5" in
>the signature. We can see the correct signature when flashing a brnImage
>via recovery web-interface, in this case brnboot reports:
>   [CGI-Signature Check] buf:[BRNDA6431], sigInFlash:[BRNDA6431]
>
>Thanks to Mathias Kresin for reporting this.
>
>Signed-off-by: Martin Blumenstingl 
>---
>target/linux/lantiq/image/Makefile | 2 +-
>1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/target/linux/lantiq/image/Makefile 
>b/target/linux/lantiq/image/Makefile
>index 553bdc1..f986d38 100644
>--- a/target/linux/lantiq/image/Makefile
>+++ b/target/linux/lantiq/image/Makefile
>@@ -417,7 +417,7 @@ Image/BuildKernel/Profile/VGV7510KW22NOR=$(call 
>Image/BuildKernel/Template,VGV75
>Image/Build/Profile/VGV7510KW22NOR=$(call Image/Build/$(1),$(1),VGV7510KW22NOR)
>
>Image/BuildKernel/Profile/VGV7510KW22BRN=$(call 
>Image/BuildKernel/Template,VGV7510KW22BRN,$(1))
>-Image/Build/Profile/VGV7510KW22BRN=$(call 
>Image/Build/$(1),$(1),VGV7510KW22BRN,5BRNDA6431,0x12345678,0x04c11db7,$(1))
>+Image/Build/Profile/VGV7510KW22BRN=$(call 
>Image/Build/$(1),$(1),VGV7510KW22BRN,BRNDA6431,0x12345678,0x04c11db7,$(1))
>
>Image/BuildKernel/Profile/VGV7519NOR=$(call 
>Image/BuildKernel/Template,VGV7519NOR,$(1))
>Image/Build/Profile/VGV7519NOR=$(call Image/Build/$(1),$(1),VGV7519NOR)
>-- 
>2.7.0
>___
>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