I updated last night to the latest git version of the driver. I am
getting lots of these errors now. I am using the last svn version of
xbmc.? Any ideas?
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 73763136 failed
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 7376311b failed
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 73763136 failed
*ERR*:drivers/staging/crystalhd/crystalhd_cmds.c:304: Link invalid state
1
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 73763136 failed
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 7376311b failed
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 73763136 failed
*ERR*:drivers/staging/crystalhd/crystalhd_cmds.c:304: Link invalid state
1
*ERR*:drivers/staging/crystalhd/crystalhd_hw.c:1792: res_buff[2] !=
C011_RET_SUCCESS
fw cmd 73763136 failed
Yea.. it is the 970012. (See Specs I am using @
http://www.geekzone.co.nz/LennonNZ/7131 .
yes I can use the really old version which works but alot worse, but it
might be nice if the drivers would work properly one day :-)
Thanks
Yes it has the black bit on it .It looks like the one on
http://www.geekzone.co.nz/LennonNZ/7131
it does not look like the one on this website:
http://www.logicsupply.com/products/bcm970012
Are they not 100% the same?
Here is lspci if it helps?
02:00.0 Multimedia controller: Broadcom Corporation BCM70012 Video
Decoder [Crystal HD] (rev 01)
Subsystem: Broadcom Corporation Device 2612
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at dfc00000 (64-bit, non-prefetchable)
[size=64K]
Region 2: Memory at df800000 (64-bit, non-prefetchable)
[size=4M]
Capabilities: [48] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [60] Vendor Specific Information <?>
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable+
Address: 00000000fee0300c Data: 4189
Capabilities: [cc] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <4us, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 41-63-06-24-12-18-10-00
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: Broadcom 70012 Decoder
Kernel modules: crystalhd
Unfortunately no, the boards are not exactly identical. They have different layouts. And it seems that the ones with the heat spreader were sold by someone potentially with un-reliable memory devices. We never authorized those cards for the retail market.
The one's that logicsupply carries are the official cards.
However having said that, Scott Davilla is going to be experimenting with some settings I asked him to try to see if we can get the cards all working stable.
If you want to try out something - in crystalhd_linkfuncs.c There is a write to MISC_PERST_VREG_CTRL - can you change the value to 0xF5 or 0xF6 instead of 0xF3 and see if it make the cards work?
Thanks
Naren Sankar (+1 408 218 6327)
Architect/PLM
Media PC, Broadband Communications Group
Broadcom Corp.
I'm on a three week trip right now. I do have an atv(linux)
w/bcm70012 and MacMini w/bcm70015 but no old layout cards with me.
Aug 5th, I'll be back and can resume fiddling with old layout cards.
Try 165, the original Linux driver/lib used 165 and that seems safe
for old layout BCM970012 cards. New layout BCM970012 are fine at 200.
Unfortunately, there is no way to tell the difference via PCI regs
between old and new, some old layout versions will have 2612 as the
subsystem id but I've also seen ones that have the same subsystem id
as the new layout BCM970012.
What about the Device Serial number.. Can they be identified via that?
ie lspci -vvv (as root)
Kernel driver in use: crystalhd
Kernel modules: crystalhd
I don't think this will work. My Serial Number is:
00-10-18-12-24-06-38-c4 .
Another question I've asked me, how does the windows driver work on all
three variants?
greetings
Hendrik Borghorst
>41-63-06-24-12-18-10-00
>00-10-18-12-24-06-38-c4 .
How odd, flip the order and now they are much closer
00-10-18-12-24-06-63-41
00-10-18-12-24-06-38-c4
I do intend to walk through the Windows HW initialization code and the Linux HW initialization code and see what could be different that causes Linux to not work as expected.
One other option is that we could ask everyone to program the SSID on their old layout cards (heat spreader) cards to use 2612 and use that to differentiate the driver. Don't exactly like that idea.
Both cards should work at 200MHz and in general 200MHz operation is desired for some extreme corner case clips (like the Allegro stress streams). But for most users 165MHz could also be ok since most "real-world" streams should decode with adequate performance at that levels.
Naren Sankar (+1 408 218 6327)
Architect/PLM
Media PC, Broadband Communications Group
Broadcom Corp.
-----Original Message-----
From: crystalhd-...@googlegroups.com [mailto:crystalhd-...@googlegroups.com] On Behalf Of Hendrik Borghorst
Sent: Wednesday, July 28, 2010 6:00 PM
To: crystalhd-...@googlegroups.com
greetings
Hendrik Borghorst
--