FAQ / Formerly Asked Questions

Q. I can compile driver using 64 bit ready gcc, but I got "/platform/sun4u/kernel/drv/sparcv9/bt848x: undefined symbol 'memcpy'" message while trying to load the driver module into kernel.

A. If you are using gcc-3.x, you can cheat by adding following quick-and-dirty patch to the end of drv/bt848x-kern.c:
void *memcpy(void *s1, const void *s2, size_t n)
{
    bcopy(s2, s1, n);
    return s1;
}
This is because gcc-3.x implicitly generates calling instructions of 'memcpy' and/or 'memset'. I tried '-ffreestanding' or '-nostdlib' on gcc-3.2, but they don't have any effects on this problem.
Q. pgx and ffb driver of v4lsview uses hardware acceleration feature for color space conversion. How can I get information about it?

A. As far as I know, we can't get them from google. Frame Buffer FAQ says that low-level manipulation information is not in public. Displaying code of 'pgxview' and 'ffbview' is derived from other open source program.
Q. What card could you recommend?

A. It's a difficult question. There are too few samples. The only advice we can offer is watching Operation report forum. Yes, insufficient info on there _now_, so please teach us your experience, even if your trial was unsuccessful.

Next section: Patches to Video4Linux-compliant Application
Up: Return to chapter top
bt848x is hosted by SourceForge.net Logo