• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 34
[LINUX] Problems compiling crystalhd branch
#1
Hi, my setup is as described here:
http://forum.xbmc.org/showpost.php?p=446...tcount=721

I've tried compiling latest trunk, i've tried the rev before r25048 (as davilla suggested) but there is just no compiling it. Someone, was it davilla?, mentioned karmic was supported by the leaked bmc70012 linux drivers. Only up to 8.04? Did anyone successfully compile the crystalhd branch with crystalhd actually working?

------------

I got it working, check this guide for details:
http://dingleberry.me/2009/11/compile-xb...-on-linux/
Reply
#2
cake Wrote:I've tried compiling latest trunk, i've tried the rev before r25048 (as davilla suggested) but there is just no compiling it.

That better be crystalhd branch not latest trunk

Pastebin your compile errors, that's always a good start.
Reply
#3
Installing 8.04 onto an atv-bootloader card now. Hopefully 4gigs is enough. Smile

I'll be getting gstreamer working first (looks to be fairly straight forward with the drivers out in the wild) then I'll give compiling CrystalHD XBMC branch a go. I'll definitely post my progress here.

EDIT: After taking FAR too freakin long to install onto a USB flash drive, I replaced the hard disk in the appletv with an old one out of a laptop. Gonna try this again.
Reply
#4
latest crystalhd branch was what i meant yes. I booted the box and lost the compile errors i got and it takes about 45 mins to get to the point where it stops. I'll post it next time i try to compile. A few questions tho;
1. If i understood correctly I need to include the files from: http://trac.xbmc.org/changeset/22347/branches/xdmx/XBMC
before trying to compile the crystalhd branch?
2. I cannot seem to find the bcm_link_run.sh script mentioned here:
http://forum.xbmc.org/showpost.php?p=446...tcount=731
3. http://forum.xbmc.org/showpost.php?p=446...tcount=728 mentions bc_drv_if.h instead of the missing c_ldil_if.h, is a simple cp enough?
Reply
#5
One thing is for sure, totem didnt want to play any x264 on my karmic install Smile
Reply
#6
A view hints :

Copy the files from http://trac.xbmc.org/changeset/22347/branches/xdmx/XBMC to /usr/include/crystalhd

ls -l /usr/include/crystalhd/

-rwxr-xr-x 1 root root 86870 Nov 26 09:41 7411d.h
-rwxr-xr-x 1 root root 16587 Nov 26 09:41 bc_dts_defs.h
-rwxr-xr-x 1 root root 1910 Nov 26 09:41 bc_dts_types.h
-rwxr-xr-x 1 root root 43370 Nov 26 09:41 bc_ldil_if.h
drwxr-xr-x 2 root root 4096 Nov 26 09:41 link
drwxr-xr-x 2 root root 4096 Nov 26 09:41 linux
-rwxr-xr-x 1 root root 15568 Nov 26 09:41 vdec_info.h
drwxr-xr-x 3 root root 4096 Nov 26 09:41 windows

bc_ldil_if.h is a copy of windows/bc_drv_if.h

Copy bcmFilePlayFw.bin -> /usr/lib/bcmFilePlayFw.bin
Copy libldil.so.1.0 -> /usr/lib/libldil.so.1.0
Link /usr/lib/libldil.so.1.0 //usr/lib/libldil.so.1
Link /usr/lib/libldil.so.1.0 /usr/lib/libldil.so

On archlinux i had to edit /usr/include/crystalhd/bc_dts_types.h and remarked "typedef void VOID;" ( //typedef void VOID; )

bcm_70012_dev.sh is found in linux_release_generic/Driver/.

I also copied /usr/include/crystalhd -> xbmc_src/lib/.
Reply
#7
gimli : got it all compiled under ubuntu, but i am getting :
*ERR*:...bc_link_cmds.c:315: Link invalid state 0

Probably missing 'bcmFilePlayFw.bin'. Where did you get that ?
Reply
#8
hisper Wrote:gimli : got it all compiled under ubuntu, but i am getting :
*ERR*:...bc_link_cmds.c:315: Link invalid state 0

Probably missing 'bcmFilePlayFw.bin'. Where did you get that ?

The HP Mini 110 distro has it.
Reply
#9
davilla Wrote:The HP Mini 110 distro has it.

Any hints on where? Having some problems finding that one in the plethora of information...

EDIT:
Scratch that... It was installed with one of the debs in the right place.
Reply
#10
bcmFilePlayFw.bin can be found in the windows zip:
http://www.norco.net.cn/UpLoadFile/Drive...allers.zip
Reply
#11
OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?

I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)
Reply
#12
dan1son Wrote:OK. I just want to make sure this is still the case. I need to go through the steps on the bootloader to get sound working even on 8.04? I'm not getting any sound right now (I really want optical AC3 pass-through to work). Is that a possibility at all?

I should clarify I'm only trying sound playback in totem right now. Can't get anything to play through HDMI or optical. (assuming those use the same output on the card?)

yes.

I'm also running nvidia 185.18.14 but analog out. Not sure if audio over hdmi works with this version.

Other hints, install cpufreq as Ubuntu 8.04 will cycle down to 600MHz when CPU drops below 20 percent.

sudo cpufreq-set -d 1000MHz -u 1000MHz

will stop that silliness.

Add "processor.max_cstate=2" to the kernel boot args in menu.1st to keep out of C3.
Reply
#13
Upon further investigation it seems as though sound works fine in Gnome, but not in XFCE without manually starting ESD... even then it's just stereo...

I followed the steps here http://code.google.com/p/atv-bootloader/...buntuHardy
Reply
#14
gimli, that makes this much less sporting!
Reply
#15
crystalhd branch is safe now, I highly recommend enabling pixel buffer objects in settings -> system -> video Smile
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 34

Logout Mark Read Team Forum Stats Members Help
[LINUX] Problems compiling crystalhd branch2