Mailing List archive

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

[linux-dvb] Re: AMD64 and DVB



On Tue, 2004-02-10 at 18:48, Johannes Stezenbach wrote:
> Max Nickel wrote:
> > 
> > Ok to clearify some things:
> > Drivers: Kernel 2.6.3_rc2 as modules
> > Firmware compiled into the module
> > 
> > the crc checks are gone since i have a complete frimware ;)
> > now just the av7110_fw_query errors and the results are showing up.
> > It doesn't matter if i apply the patch you sent me, the errors are still
> > there (the query, not the crc ;))
> 
> The patch was bogus, as others already pointed out. and it attempted
> to fix a problem which wasn't there, because the crc stuff works.
> 
> > the dmesg output with av7110_debug=247 is:
> >  waitdebi(): av7110: 000001000d9d8000
> > dvb_ttpci: load_dram(): Writing DRAM block 8
> ...
> > dvb_ttpci: av7110_bootarm(): av7110_bootarm: load dpram code
> > dvb_ttpci: av7110_firmversion(): av7110: 000001000d9d8000
> > dvb_ttpci: av7110_fw_request(): av7110: 000001000d9d8000
> > av7110_fw_request: timeout waiting for COMMAND to complete
> > av7110_fw_query error
> > DVB: AV71138141952(0) - firm 2f40a00b, rtsl ffffffff, vid 02460000, app
> > 00000000
> 
> OK, loading DPRAM works, booting the ARM works (the DRAM loader runs
> from DPRAM), loading DRAM seems to work but the firmware in DRAM
> is trashed. You said your card works in a i386 machine? If yes,
> I would think that av7110_bootarm() or load_dram() have a bug.
> But I don't see anything which could be wrong :-(
> 

well it worked back on my athlon-xp, yes. It even worked when i ran the
Athlon64 accidentally as a 32Bit System :) In 64Bit it doesn't work.
What i'm worried about is, that i loaded the bogues firmware into the
driver, as i commented out the security checks. Could that have been
damaged my card ?
If yes, i'll try to bring it to someone with a 32bit System and check if
the card still works.

> IIRC Gerd Knorr had problems with wrong timeout handling on a 64bit
> machine, but I think what I do in __av7110_send_fw_cmd() is
> correct:
> 
>         unsigned long start;
>         start = jiffies;
>         while (rdebi(av7110, DEBINOSWAP, COMMAND, 0, 2 )) {
>                 dvb_delay(1);
>                 if (time_after(jiffies, start + ARM_WAIT_FREE)) {
>                         printk(KERN_ERR "%s: timeout waiting for COMMAND to complete\n",
>                                __FUNCTION__);
>                         return -1;
>                 }
>         }
> 
> Question: If you have a TV connected, or if you start xawtv quickly after
> loading the driver, do you see the "(c) convergence..." boot splash?
> 

uhm hard to say, i don't see the bootsplash, but maybe i'm just not
quick enough ? :)

> Anyway, I committed a change which aborts initialization if booting
> the ARM fails.
> 
> Johannes
> 



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



Home | Main Index | Thread Index