On Wednesday 08 March 2006 20:57, darin strait wrote:
> The only reference to SPARC support that I can find in the archives
> is from a few years back, and the thread concerns issues with make.
>
> How I got here:
> On a whim, I thought that I would try my pvr250 (and eventually
> MythTV) in an oldish SPARC machine (an Ultra 10) that I normally have
> up. I downloaded the drivers off of the ivtv site.
>
> I am running debian/sarge and 2.4.27. I can run a compiler and I am
> (very, very rusty but) passable with C. I am a gcc noob. I am a
> kernel noob. I am a driver noob.
>
> I tried to compile the utilities first. It seems that that the
> compiler doesn't like the asm instructions (for rdtsc) in two of the
> the utilities. This makes perfect sense, since the sparc and x86
> instruction sets are different. The error message is something along
> the lines of:
> impossible constraint in asm
>
> I see comments about how ivtv is/will be included with the kernel.
> Doesn't that mean that there can't be any arch-specific code in the
> driver? Is there some other version of the driver that I should be
> compiling at?
>
> Googling around, I see some comments from some opensolaris guys for a
> different but similar problem. They suggest either using a different
> asm call on sparc (duh) or to use gethrtime:
> http://www.opensolaris.org/jive/thread.jspa?threadID=5333&tstart=0
>
> Thoughts?
You can ignore those utilities. The driver itself might well compile on
the SPARC. Just try it. I know that the driver works on the powerpc,
although I'm not sure if the DMA-support is fully working there. The
driver shouldn't contain platform-specific code, although there may be
endianness bugs (since all testing is done on the intel platform).
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel