Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Kfir



Ralph Metzler wrote:
> 
> Ulrich Dziergwa writes:
>  > Ralph Metzler wrote:
>  > ....
>  > > echo -n -e "\x52\x4b\xeb\x74\x00\x00\x0f\x3c\xfc\x00" > MPEG1_6.HLD
>  > > dd bs=1 if=$(SYSTEM)/KfirLib.dll skip=1449200 count=59862 >> MPEG1_6.HLD
>  > >
>  > > So, the length should be 59872.
>  > > This is most probably the cause for the lockup.
>  > >
>  > >  > -rw-r--r--    1 root     root        32385 Dec 27 22:43
>  > >  > altera_keb_plx_5e.rbf
>  > >  > -rw-r--r--    1 root     root       514777 Dec 30 23:34 kfir_micro.h
>  > >
>  > > These ones look OK (length-wise at least).
>  > >
>  > > Ralph
>  > >
>  > Hi
>  >
>  > I built a new .rbf file with the right length and use the new version
>  > from linuxtv but it freezes the system after printing GP_INPUT on. I put
>  > a printk at the end of AlteraLoadMicro that never prints. Is it
>  > possible, that my version of the DLL is different from yours and the
>  > extracted Altera code is wrong?
> 
> The .rbf file was the right length, the .HLD file was wrong.
> Did you correct that one yet?
> The problem probably was that the backslash expressions were no
> evaluated as hex codes (\x52 -> one byte with value 0x52, not "\x52").
> The "-e" option should accomplish this, or are there versions of echo
> with different behavior?
> 
> The fact that the printk was not printed has no real meaning regarding
> the point of the crash. Their output can be delayed, in this case
> to after the time of the freezing.
> 
> What length does your kfirlib DLL file have? 1826875 bytes?
> 
> Ralph
Hi

sorry, that I was not clear enough, I rebuilt all files. Here is the
first part of the hexdump of the MPEG1_6.HLD file:

00000000: 52 4b eb 74 00 00 0f 3c fc 00 d2 04 01 00 00 3c >
RKët...<ü.Ò....< <
00000010: 01 00 05 18 7f 00 00 00 00 00 26 18 af 00 00 00 >
..........&.¯... <
00000020: 00 00 00 00 00 00 00 00 00 00 00 0a 1f 00 00 00 >
................ <
*
00000040: 00 00 00 00 00 00 00 00 00 00 55 18 ff 00 00 00 >
..........U.ÿ... <
00000050: 00 00 00 00 00 00 00 00 00 00 55 18 cf 00 00 00 >
..........U.Ï... <
00000060: 00 00 00 00 00 00 00 00 00 00 28 18 ff 00 00 00 >
..........(.ÿ... <
00000070: 00 00 00 00 00 00 00 00 00 00 00 0a 1f 00 00 00 >
................ <
*
000000a0: 00 00 00 00 00 00 00 00 00 00 03 18 0f 00 00 00 >
................ <
000000b0: 00 00 00 00 00 00 00 00 00 00 00 0a 1f 00 00 00 >
................ <
000000c0: 00 00 00 00 00 00 00 00 00 00 00 0c 30 00 9f 80 >
............0... <
000000d0: 0a 00 62 22 1f 00 9f 90 0a 00 00 0c 20 00 00 0a > ..b"........
... <
000000e0: 1f 00 08 18 9f 00 08 18 df 00 09 18 0f 00 11 18 >
........ß....... <
000000f0: 9f 00 11 18 df 00 11 18 ff 00 16 18 1f 00 16 18 >
....ß...ÿ....... <
00000100: 7f 00 17 18 ff 00 08 18 9f 00 18 18 8f 00 1c 18 >
....ÿ........... <
00000110: af 00 1d 18 7f 00 1d 18 8f 00 21 18 6f 00 21 18 >
¯.........!.o.!. <
00000120: 7f 00 21 18 af 00 21 18 ff 00 7a 18 8f 00 22 18 >
..!.¯.!.ÿ.z...". <
00000130: 1f 00 22 18 6f 00 08 18 9f 00 7a 18 8f 00 08 18 >
..".o.....z..... <
00000140: 9f 00 08 18 9f 00 08 18 9f 00 22 18 9f 00 22 18 >
.........."...". <
00000150: af 00 08 18 9f 00 08 18 9f 00 08 18 9f 00 22 18 >
¯.............". <
00000160: bf 00 08 18 9f 00 6d 1c cf 00 22 1c ef 00 68 1c >
¿.....m.Ï.".ï.h. <
00000170: 3f 00 ff 4f f5 00 e9 22 0f 00 05 18 70 00 05 40 >
?.ÿOõ.é"....p..@ <
00000180: 6a 00 03 40 64 00 e2 22 0f 00 81 90 ba 00 0f 3c >
j..@d.â"....º..< <
00000190: fc 00 03 0d a3 00 20 40 04 00 a2 23 0f 00 0c 0d > ü...£.
@..¢#.... <
000001a0: 3a 00 06 18 7f 00 9e 80 3a 00 7a 22 0f 00 07 18 >
:.......:.z".... <

And here is the first part of the altera_keb_plx.rbf file

00000000: ff ff 62 f9 16 ff ff ff ff ff ff ff ff ff ff ff >
ÿÿbù.ÿÿÿÿÿÿÿÿÿÿÿ <
00000010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ <
00000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 >
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ. <
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >
................ <
*
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 9e 00 00 >
................ <
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >
................ <
*
00000080: 02 00 00 00 00 00 00 00 00 00 00 00 9c 00 00 02 >
................ <
00000090: 40 00 00 00 00 02 40 00 40 00 00 02 00 02 00 00 >
@.....@.@....... <
000000a0: 00 00 00 02 00 00 40 00 00 02 00 00 40 00 00 02 >
......@.....@... <
000000b0: 00 02 00 02 00 02 00 00 00 00 00 b8 00 00 02 40 >
...........¸...@ <
000000c0: 02 40 02 40 02 40 02 40 02 40 02 40 02 40 02 40 >
.@.@.@.@.@.@.@.@ <
000000d0: 02 40 02 40 02 40 02 40 02 40 02 40 02 40 00 40 >
.@.@.@.@.@.@.@.@ <
000000e0: 02 40 02 40 02 40 0a 41 00 80 95 00 00 0a 54 02 >
.@.@.@.A......T. <
000000f0: 40 02 40 0a 42 02 42 02 40 02 40 02 40 02 40 02 >
@.@.B.B.@.@.@.@. <
00000100: 40 02 40 02 68 02 40 02 40 02 58 02 40 02 40 02 >
@.@.h.@.@.X.@.@. <
00000110: 40 02 40 02 40 02 40 00 00 fd 00 00 02 40 00 00 >
@.@.@.@..ý...@.. <
00000120: 00 00 02 40 00 40 00 00 02 00 02 00 00 00 00 00 >
...@.@.......... <
00000130: 02 00 00 40 00 00 02 00 00 40 00 00 02 00 02 00 >
...@.....@...... <
00000140: 02 00 02 00 02 00 00 00 98 00 00 02 40 02 40 02 >
............@.@. <

The length of the kfirlib.dll is 1826875.

Ulrich


--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index