MythTV port - status report

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sat Dec 30 09:44:54 PST 2006


On Fri, 29 Dec 2006 23:06:43 +0100
usleepless at gmail.com wrote:

> pvrxxx.tgz:
>   the port, extract in /usr/ports/multimedia

There were a couple of minor errors, here are the diffs:
--- Makefile.org        Sat Dec 30 18:07:22 2006
+++ Makefile    Sat Dec 30 18:08:04 2006
@@ -17,7 +17,7 @@
 
 MASTER_SITES=  http://www.mavetju.org/download/adopted/
http://dl.ivtvdriver.org/ivtv/firmware/ DISTFILES=     ${CXMSHAR}
${PVRTOOLS}.tar.gz pvrxxx_gpl.tgz v4l-cx25840.fw v4l-cx2341x-enc.fw
v4l-cx2341x-dec.fw -IGNOREFILES=   v4l-cx25840.fw v4l-cx2341x-enc.fw
+IGNOREFILES=   v4l-cx25840.fw v4l-cx2341x-enc.fw v4l-cx2341x-dec.fw 
 MAINTAINER=    usleepless at gmail.com
 COMMENT=       Hauppauge PVR-150/500 TV cards driver for the cxm
device, based on the pv250-port.


--- distinfo.org        Sat Dec 30 18:06:08 2006
+++ distinfo    Sat Dec 30 18:13:13 2006
@@ -4,10 +4,12 @@
 MD5 (pvr250-1.2.tar.gz) = ab6bd568158db4c45789777babe672c1
 SHA256 (pvr250-1.2.tar.gz) =
477a0fe2f2c032df75838eed0a371f42cc52069765fdbf92c0a64d666986bc4a SIZE
(pvr250-1.2.tar.gz) = 3946 -MD5 (pvrxxx_gpl.tgz) =
d8773e9098ea92897fa8697854ab40d5 -SHA256 (pvrxxx_gpl.tgz) =
a18f0eac045bde62121b68724770fe3282d20fd4ff082bd7feee831413a77962 -SIZE
(pvrxxx_gpl.tgz) = 45571 +MD5 (pvrxxx_gpl.tgz) =
4f6890c2ff3b2c2f236ed9d87bb66a68 +SHA256 (pvrxxx_gpl.tgz) =
71e52aab185048de9b9bcdf898175c8c95f11c29f3e6227bd3cde04c2cf8b68f +SIZE
(pvrxxx_gpl.tgz) = 45862 MD5 (v4l-cx25840.fw) = IGNORE
 SHA256 (v4l-cx25840.fw) = IGNORE
 MD5 (v4l-cx2341x-enc.fw) = IGNORE
 SHA256 (v4l-cx2341x-enc.fw) = IGNORE
+MD5 (v4l-cx2341x-dec.fw) = IGNORE
+SHA256 (v4l-cx2341x-dec.fw) = IGNORE


> sys/kern/subr_taskqueue.c(.diff):
>   this is how my subr_taskqueue.c looks like. it was taken from 7.0?,
> and it is the code that supports the new if_em and now pvrxxx too. it
> is needed to implement fast interrupts.
> sys/sys/taskqueue.h(.diff)
>   idem dito.

I noticed that the correct version of these files were already in
RELENG_6, so I upgraded my box (and hit a snag with a missing MFC.
Thankfully it was solved extremely quick over at the -stable list). It
is now running:
tingo at kg-quiet$ uname -a
FreeBSD kg-quiet.kg4.no 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #12: Sat
Dec 30 18:25:42 CET 2006     root@:/usr/obj/usr/src/sys/QUIET  amd64

> i can imagine very well that there might be problems. please let me
> know.

Ok, I did 'make patch-iicbb', made a new kernel and rebooted. Worked
flawlessly.
When I do 'make' it bombs out:
In file included
from /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:83:
@/dev/pci/pcivar.h: In function `pci_get_ether':
@/dev/pci/pcivar.h:217: warning: cast to pointer from integer of
different size @/dev/pci/pcivar.h: In function `pci_set_ether':
@/dev/pci/pcivar.h:217: warning: cast from pointer to integer of
different
size /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:
In function
`cxm_download_firmware': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:756:
error: `cxm_decfw' undeclared (first use in this
function) /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:756:
error: (Each undeclared identifier is reported only
once /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:756:
error: for each function it appears
in.) /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:753:
warning: unused variable
`cxm_encfw' /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:
In function
`cxm_encoder_wait_for_lock': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1758:
error: `muted' undeclared (first use in this
function) /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:
In function
`cxm_write_ivar': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:2409:
warning: cast to pointer from integer of different size *** Error code 1

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm.
*** Error code 1

Stop in /usr/ports/multimedia/pvrxxx.

I have include the complete make output (sea attached file).
-- 
Regards,
Torfinn Ingolfsen,
Norway

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pvrxxx-make.out
Type: application/octet-stream
Size: 7679 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20061230/9695f517/pvrxxx-make.obj


More information about the freebsd-multimedia mailing list