[linux-dvb] firmware loading error in dibusb
Patrick Boettcher
patrick.boettcher at desy.de
Mon Apr 18 13:22:50 CEST 2005
On Mon, 18 Apr 2005, Samuel Huang wrote:
> I have a Dibcom USB2.0 DVB-T reference design, and it works fine with
> dvb-kernel including the given firmware (dvb-dibusb-6.0.0.5.fw) against
> Debian sarge + kernel- 2.6.10.
Hi Samuel,
please consider using the latest dvb-kernel. Since yesterday (!) the
dibusb is included in the dvb-usb-framework. Along with that update I
changed the recommended firmware for these devices to version 6.0.0.8 (it
is also in CVS).
> Since I had the Windows driver, I tried to replace the workable one with
> the firmware packed in Windows driver.
Is there a specific reason for doing that? Which version do you have?
> The firmware is Intel-hex format, and I wrote a utility to transform it
> into one the loader in dvb-dibusb(i.e.dvb-dibusb-firmware.c) able to
> support. Unfortunately it doesn't work.
Please find attached my version of the hex2bin-script.
The problem you reported some time ago (unlimited bulk-errors) should be
gone now as well. Please give it a try.
regards
Patrick.
--
Mail: patrick.boettcher at desy.de
WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/
-------------- next part --------------
#!/usr/bin/perl -w
use strict;
print STDERR "hex-file2binary converter.\n";
while (<>) {
last if $_ =~ /:00000001FF/;
my @line = $_ =~ /([0-9A-F]{2})/g;
# intel address 16Bit address
my $t = $line[1];
$line[1] = $line[2];
$line[2] = $t;
foreach (@line) {
printf "%c", eval "0x$_";
}
}
More information about the linux-dvb
mailing list