CrystalHD & current SVN builds of XBMC?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
lordfritz Offline
Junior Member
Posts: 3
Joined: May 2010
Reputation: 0
Post: #46
Same errors in the Xcode project (r114):

Code:
OBJFILES = libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o linux_compatible.o


SRCFILES = libcrystalhd_if.cpp libcrystalhd_int_if.cpp libcrystalhd_fwcmds.cpp libcrystalhd_priv.cpp libcrystalhd_fwdiag_if.cpp libcrystalhd_fwload_if.cpp libcrystalhd_parser.cpp linux_compatible.cpp


LNM = libcrystalhd.dylib


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_if.o libcrystalhd_if.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o libcrystalhd_parser.o libcrystalhd_parser.cpp


g++  -D__LINUX_USER__ -I../../include -I../../include/link -I../../include/flea -g -O0 -Wall -fPIC -arch i386 -shared -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4  -c -o linux_compatible.o linux_compatible.cpp


In file included from /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach/mach_init.h:57,


                 from linux_compatible.cpp:32:


/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory


In file included from linux_compatible.cpp:32:


/Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach/mach_init.h:115:0 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach/mach_init.h:115: error: 'va_list' has not been declared


make: *** [linux_compatible.o] Error 1
find quote
lordfritz Offline
Junior Member
Posts: 3
Joined: May 2010
Reputation: 0
Post: #47
Compiled r115 with succes, but got the same problem (I guess) as iwaleed.

Fritz$ ls -l /usr/lib/libcrystalhd.dylib
-rwxr-xr-x 1 root wheel 127888 Jun 29 23:10 /usr/lib/libcrystalhd.dylib

dmesg:
http://pastebin.com/udSf5pDH

XBMC log:
http://pastebin.com/wG7DVrXf
find quote
iwaleed Offline
Junior Member
Posts: 22
Joined: Jun 2010
Reputation: 0
Post: #48
after i start XBMC i got this mesg from dmesg


Opening new user[0] handle
opening HW
crystalhd_hw_open: setting up functions, device = Link
Starting Crystal HD Device
Opening HW. hw:0x22c3a04, hw->adp:0x1f60d00
allocated 26 elem
Initializing Dio pool 18 1024 305c 0x1de7e44
crystalhd_link_download_fw entered
Firmware Downloaded Successfully
Firmware command T/O
FwCmd Failed.
fw cmd 73763001 failed
Closing user[0] handle
Closing HW
Stopping Crystal HD Device
find quote
beytarj Offline
Member
Posts: 58
Joined: May 2010
Reputation: 0
Post: #49
hi.
i have mac osx 10.6.4 with bmc70012.
i want to check latest driver with latest xbmc svn.
can someone upload crystalhd r115 compiled version?
find quote
nozomi Offline
Member
Posts: 59
Joined: May 2010
Reputation: 0
Post: #50
I tried to compile r115 from here: svn checkout http://crystalhd-for-osx.googlecode.com/svn/trunk/ crystalhd-for-osx-read-only

Is that correct? I use an iMac with OSX 10.6.4 and when I run make stuff doesn't fly. Sad

I would also appreciate a r115 compiled version Smile Or if someone tells me how to make it work on 10.6
find quote
iwaleed Offline
Junior Member
Posts: 22
Joined: Jun 2010
Reputation: 0
Post: #51
i think this new driver does not support old cards (old layout) it works with new ones rev 1.3 because i use the linux version ([AppleTV] Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image) and do the upgrade with the driver and xbmc then what i get from the dmesg


[ 78.954050] crystalhd 0000:02:00.0: Entering chd_dec_open
[ 78.954059] crystalhd 0000:02:00.0: Opening new user[0] handle
[ 78.954063] opening HW
[ 78.954068] crystalhd_hw_open: setting up functions, device = Link
[ 131.844369] Opening HW. hw:0xcf8f8200, hw->adp:0xce3466c0
[ 137.843034] crystalhd 0000:02:00.0: Firmware Downloaded Successfully
[ 142.972082] crystalhd 0000:02:00.0: Firmware command T/O
[ 142.972096] crystalhd 0000:02:00.0: FwCmd Failed.
[ 142.972103] crystalhd 0000:02:00.0: fw cmd 73763001 failed
[ 143.086649] crystalhd 0000:02:00.0: Entering chd_dec_close
[ 143.086662] crystalhd 0000:02:00.0: Closing user[0] handle
[ 143.086667] Closing HW
[ 87.179299] hfs: Filesystem was not cleanly unmounted, running fsck.hfsplus is recommended. mounting read-only.


i think it is the same from the osx not a compile problem
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #52
nozomi Wrote:I tried to compile r115 from here: svn checkout http://crystalhd-for-osx.googlecode.com/svn/trunk/ crystalhd-for-osx-read-only

Is that correct? I use an iMac with OSX 10.6.4 and when I run make stuff doesn't fly. Sad

I would also appreciate a r115 compiled version Smile Or if someone tells me how to make it work on 10.6

perhaps include some logging from the make would help figure out why you can't build.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #53
There's some regression going on with old layout bcm70012 cards, not sure what's going on but looking into it. "Firmware command T/O" errors were seen sporadically with 1.0.3 tagged driver/lib/firmware and old layout cards and now it seems to be hitting all old layout cards with new driver/lib/firmware.

I'm in discussions with Broadcom as to what might be the issue.

It's a little difficult to debug as I don't have any older layout cards, only new layout bcm70012s and the new bcm70015 cards.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
nozomi Offline
Member
Posts: 59
Joined: May 2010
Reputation: 0
Post: #54
davilla Wrote:perhaps include some logging from the make would help figure out why you can't build.

Ok this is what I get:

pastebin

I must be doing something wrong because that seems like a whole lot of errors?

Thanks for any help, because I'm not used to fiddle with these things. :o
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #55
nozomi Wrote:Ok this is what I get:

pastebin

I must be doing something wrong because that seems like a whole lot of errors?

Thanks for any help, because I'm not used to fiddle with these things. :o

Is Xcode installed ? Does "/Developer/SDKs/MacOSX10.4u.sdk" exist (did you install 10.4SDK ) ?


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
nozomi Offline
Member
Posts: 59
Joined: May 2010
Reputation: 0
Post: #56
davilla Wrote:Is Xcode installed ? Does "/Developer/SDKs/MacOSX10.4u.sdk" exist (did you install 10.4SDK ) ?

yes I have xcode.

I have:

MacOSX10.5.sdk
MacOSX10.6.sdk

in that folder Shocked

Soooo I should install 10.4SDK then?
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #57
nozomi Wrote:I have:

MacOSX10.5.sdk
MacOSX10.6.sdk

in that folder Shocked

On the Xcode dmg will be the 10.4SDK pkg, install it.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
nozomi Offline
Member
Posts: 59
Joined: May 2010
Reputation: 0
Post: #58
davilla Wrote:On the Xcode dmg will be the 10.4SDK pkg, install it.

I downloaded xcode and used pacifist to install 10.4SDK pkg, worked awesome! Big Grin

one final question: Is it ok if I I put BroadcomCrystalHD.kext in System/Library/Extensions instead of the /tmp folder?
find quote
davilla Offline
Team-XBMC Developer
Posts: 11,387
Joined: Feb 2008
Reputation: 64
Post: #59
nozomi Wrote:I downloaded xcode and used pacifist to install 10.4SDK pkg, worked awesome! Big Grin

one final question: Is it ok if I I put BroadcomCrystalHD.kext in System/Library/Extensions instead of the /tmp folder?

I would first test out the driver/lib/firmware in /tmp first.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
iwaleed Offline
Junior Member
Posts: 22
Joined: Jun 2010
Reputation: 0
Post: #60
i think i need to through out my old bcm70012 Big Grin

Can someone provide me with the new bcm70012 ver1.3 because my country not listed in http://www.logicsupply.com i can pay with paypal Smile
find quote
Post Reply