Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-30 Thread Matthias Schwarzott
On 29.07.2014 21:45, Antti Palosaari wrote: Do you need to know whole firmware version? There is only 1 byte to be used and it is called patch version. How did you obtain it, from sniff? Yes - but it also is visible in code near crc version (see below). What happens if you don't tell fw

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-30 Thread Antti Palosaari
All-in-all, did I understand correctly none of those header values are not required anymore? hdr[0] own FW version. used by driver to print our own FW file version hdr[1] --''-- hdr[2] vendor FW version. programmed to chip register but chip does not need it. read back in order to detect if FW

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-29 Thread Antonio Ospite
On Tue, 29 Jul 2014 07:37:44 +0200 Matthias Schwarzott z...@gentoo.org wrote: On 23.07.2014 22:10, Antonio Ospite wrote: On Wed, 23 Jul 2014 21:03:14 +0200 Matthias Schwarzott z...@gentoo.org wrote: [...] The crc value: It protects the content of the file until it is in the demod -

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-29 Thread Antti Palosaari
On 07/29/2014 11:53 AM, Antonio Ospite wrote: On Tue, 29 Jul 2014 07:37:44 +0200 Matthias Schwarzott z...@gentoo.org wrote: On 23.07.2014 22:10, Antonio Ospite wrote: On Wed, 23 Jul 2014 21:03:14 +0200 Matthias Schwarzott z...@gentoo.org wrote: [...] The crc value: It protects the content

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-29 Thread Matthias Schwarzott
On 29.07.2014 13:34, Antti Palosaari wrote: On 07/29/2014 11:53 AM, Antonio Ospite wrote: On Tue, 29 Jul 2014 07:37:44 +0200 Matthias Schwarzott z...@gentoo.org wrote: On 23.07.2014 22:10, Antonio Ospite wrote: On Wed, 23 Jul 2014 21:03:14 +0200 Matthias Schwarzott z...@gentoo.org

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-29 Thread Antti Palosaari
On 07/29/2014 10:22 PM, Matthias Schwarzott wrote: On 29.07.2014 13:34, Antti Palosaari wrote: On 07/29/2014 11:53 AM, Antonio Ospite wrote: On Tue, 29 Jul 2014 07:37:44 +0200 Matthias Schwarzott z...@gentoo.org wrote: On 23.07.2014 22:10, Antonio Ospite wrote: On Wed, 23 Jul 2014

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-28 Thread Matthias Schwarzott
On 23.07.2014 22:10, Antonio Ospite wrote: On Wed, 23 Jul 2014 21:03:14 +0200 Matthias Schwarzott z...@gentoo.org wrote: [...] The crc value: It protects the content of the file until it is in the demod - so calculating it on my own would only check if the data is correctly transferred

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-23 Thread Antti Palosaari
Moikka Matthias On 07/22/2014 11:12 PM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott z...@gentoo.org --- Documentation/dvb/get_dvb_firmware | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-23 Thread Matthias Schwarzott
On 23.07.2014 11:20, Antti Palosaari wrote: Moikka Matthias Moikka Antti, On 07/22/2014 11:12 PM, Matthias Schwarzott wrote: + +my $CRC=\x0A\xCC; +my $BLOCKS_MAIN=\x27; +open FW,$fwfile; +print FW \x01\x00; # just a version id for the driver itself +print FW \x9A; #

Re: [PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-23 Thread Antonio Ospite
On Wed, 23 Jul 2014 21:03:14 +0200 Matthias Schwarzott z...@gentoo.org wrote: [...] The crc value: It protects the content of the file until it is in the demod - so calculating it on my own would only check if the data is correctly transferred from the driver into the chip. But for this I

[PATCH 1/8] get_dvb_firmware: Add firmware extractor for si2165

2014-07-22 Thread Matthias Schwarzott
Signed-off-by: Matthias Schwarzott z...@gentoo.org --- Documentation/dvb/get_dvb_firmware | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index d91b8be..26c623d 100755