Can't build pvr250 port with FreeBSD 6.0-RELEASE
Simon Ironside
sironside at interfone.net
Tue Mar 28 11:01:26 UTC 2006
Mike Tancsa wrote:
> Are you sure you did the kernel patch ?
>
> make patch-iicbb
No, I didn't. All I did was add the iicbus and iicbb devices to the
kernel configuration file and compile/install it. Because make failed I
didn't see pkg-message. So I would have made a kernel with the original
iicbus and iicbb devices.
What order should I be doing things in? You obvlously have to do make
patch-iicbb after make as make patch-iicbb after a make clean gave this:
cannot open /usr/ports/multimedia/pvr250/work/dev/cxm/Patch.iicbb-fbsd5:
No such file or directory
*** Error code 2
Stop in /usr/ports/multimedia/pvr250.
So I ran make again, and got the error I posted at the beginning of this
thread. I ran make patch-iicbb at this point and it patches correctly. I
have rebuilt my kernel, rebooted and ran make again and it worked fine.
I'm confused - what is the procedure for installing the pvr250 port then?
1. Install kernel sources if you haven't already
1. Put hcwPVRP2.sys in /usr/ports/distfiles
2. make in /usr/ports/multimedia/pvr250. Ignore the error.
3. make patch-iicbb
4. Build & install a new kernel with iicbus and iicbb devices
5. Reboot
6. Run make again in /usr/ports/multimedia/pvr250. It will work this time.
7. make install
8. kldload cxm_iic
9. kldload cxm
10. Admire the following on your console or /var/log/messages:
Mar 28 11:53:29 itx kernel: cxm0: <Conexant iTVC15 MPEG Coder> mem
0xe8000000-0x
ebffffff irq 10 at device 20.0 on pci0
Mar 28 11:53:29 itx kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C
controller>
on cxm0
Mar 28 11:53:29 itx kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
Mar 28 11:53:29 itx kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
Mar 28 11:53:29 itx kernel: cxm0: Philips FM1246 tuner
Mar 28 11:53:29 itx kernel: cxm0: SAA7115 rev 1 video decoder
Mar 28 11:53:29 itx kernel: cxm0: MSP4418G-A2 audio decoder
Mar 28 11:53:29 itx kernel: cxm0: IR Remote
Mar 28 11:53:29 itx kernel: cxm0: [GIANT-LOCKED]
Mar 28 11:53:29 itx kernel: cxm0: encoder firmware version 0x2050032
Mar 28 11:53:29 itx kernel: cxm0: decoder firmware version 0x2020023
Simon
More information about the freebsd-multimedia
mailing list