Dave Camarillo wrote: > I'm trying to bring up a 4i65 card on a PC-104+ stack and am having a > little trouble with the hal driver load process. When I load the
Cool, PC/104! :-) > Running EMC 2.2.4-pre, latest git clone I think you mean 2.4~pre? Latest out of the git master branch? > halcmd: loadrt hostmot2 > halcmd: loadrt hm2_pci config="firmware=hm2/4i65/SVST8_4.BIT > num_encoders=2 num_pwmgens=0 num_stepgens=3" > halcmd: show all Hm, we should have definately seen a bunch of pins and stuff here. All the commands look good up to this point. > Dmesg > [ 4001.518223] hm2: loading Mesa HostMot2 driver version 0.15 > [ 4001.540869] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.6 I'd like to see the rest of the dmesg after this. Is there anything else from the hm2 subsystem? > Partial output from lspci -vvnn > 01:07.0 Bridge [0680]: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI > <-> IOBus Bridge [10b5:9030] (rev 0a) > Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >> TAbort- <TAbort- <MAbort- >SERR- <PERR- > Interrupt: pin A routed to IRQ 15 > Region 0: Memory at fddff000 (32-bit, non-prefetchable) [size=128] > Region 1: I/O ports at ef00 [size=128] > Region 2: Memory at fdc00000 (32-bit, non-prefetchable) [size=1M] > [virtual] Expansion ROM at fdb00000 [disabled] [size=64K] > Capabilities: [40] Power Management version 1 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA > PME(D0+,D1-,D2-,D3hot+,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Capabilities: [48] #06 [0080] > Capabilities: [4c] Vital Product Data This lspci output looks wrong to me. First, it looks like it's missing the second line. I'm expecting an important line beginning with "Subsystem:", just before the "Control:" line. Did something get lost in the cut-n-paste? It's happened before that the Subsystem info was set wrong, and it would cause the driver to not recognize the card. Also, it's missing Region 5, which is supposed to be 64K of memory... This might be because the board has the wrong Subsystem info, and the driver never gets ahold of it to call pci_enable() on it. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users