Требуется прикрутить эту плату к процессорному модулю G20.
Скомпилировал драйвер программой mdiswizqnx.exe.
Компиляция произошла без ошибок.
Согласно документации перекинул необходимые файлы на qnx машину.
- /usr/bin/devc-serm77
- /usr/lib/mdis/libmen_ll_m77.so
- /usr/lib/mdis/libmen_ll_m77_sw.so
- /etc/mdis/m77_1.bin
- /etc/mdis/m77_2.bin
Стал запускать:
devc-serm77 -D m77_1 -u 20
и
devc-serm77 -D m77_2 -u 20
Вывод:
devc-serm77: No serial ports found
В чем может быть проблема ?
Оборудование:
https://www.men.de/products/other-communication/m77/Vendor ID = 1172h, Altera Corporation
Device ID = 203dh, Unknown Unknown
uname -a: QNX PM2 6.6.0 2011/03/16-15:37:00-MSK x86pc x86
Вывод pidin ar:
# pidin ar
pid Arguments
1 procnto-smp
8194 pci-bios -v
12292 io-usb -v -dohci -duhci -dehci
20483 devb-umass cam quiet blk noatime disk name=hd qnx6 sync=optional
57349 io-hid -d usb /dev/io-usb/io-usb
57350 devc-con-hid -r 30,250 -n8
61447 random -t
61449 /sbin/tinit
69642 slogger
73739 pipe
77836 mqueue
155661 /usr/sbin/mcd /etc/mcd.conf
159758 random -t
163855 enum-devices -c/etc/system/enum/common -i. -I~ -I.bak -ebootdev -Elegacy neednet,$(legacy) -E=D bus=none
180242 enum-usb
192529 io-pkt-v4-hc -ptcpip
303120 devc-pty -n 32
315418 dumper -d /var/dumps
344091 qconn
352285 inetd
561182 /usr/sbin/ntpd -c /etc/ntp/ntp.conf
565276 gns -s
593928 login_ksz
593951 login_ksz
593952 login_ksz
593953 login_ksz
667667 in.telnetd
671764 -sh
843797 pidin ar
Вывод pci -v (обрезал до вывода нужных плат):
PCI version = 3.00
...
Class = Bridge (Other)
Vendor ID = 1172h, Altera Corporation
Device ID = 203dh, Unknown Unknown
PCI index = 0h
Class Codes = 068000h
Revision ID = 4h
Bus number = 1
Device number = 0
Function num = 0
Status Reg = 10h
Command Reg = 7h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 10h un-cacheable
Subsystem Vendor ID = b9h
Subsystem ID = 5a91h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 7
CPU Interrupt = 7h
Capabilities Pointer = 50h
Capability ID = 5h - Message Signaled Interrupts
Capabilities = 84h - 0h
Capability ID = 1h - Power Management
Capabilities = 3h - 8h
Capability ID = 10h - PCI Express
Capabilities = 12h - 288001h
Class = Bridge (Other)
Vendor ID = 1172h, Altera Corporation
Device ID = 203dh, Unknown Unknown
PCI index = 1h
Class Codes = 068000h
Revision ID = 4h
Bus number = 7
Device number = 0
Function num = 0
Status Reg = 10h
Command Reg = 7h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 10h un-cacheable
Subsystem Vendor ID = b9h
Subsystem ID = 5a91h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 7
CPU Interrupt = 7h
Capabilities Pointer = 50h
Capability ID = 5h - Message Signaled Interrupts
Capabilities = 84h - 0h
Capability ID = 1h - Power Management
Capabilities = 3h - 8h
Capability ID = 10h - PCI Express
Capabilities = 12h - 288001h
...
pci -vvv:
Class = Bridge (Other)
Vendor ID = 1172h, Altera Corporation
Device ID = 203dh, Unknown Unknown
PCI index = 0h
Class Codes = 068000h
Revision ID = 4h
Bus number = 1
Device number = 0
Function num = 0
Status Reg = 10h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Error Response disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
PCI INTx enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 10h un-cacheable
Subsystem Vendor ID = b9h
Subsystem ID = 5a91h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 7
CPU Interrupt = 7h
Capabilities Pointer = 50h
Capability ID = 5h - Message Signaled Interrupts
Capabilities = 84h - 0h
Capability ID = 1h - Power Management
Capabilities = 3h - 8h
Capability ID = 10h - PCI Express
Capabilities = 12h - 288001h
Device Dependent Registers:
0x040: 0000 0000 6061 0002 0000 0000 0000 0000
0x050: 0578 8400 0000 0000 0000 0000 0000 0000
0x060: 0000 0000 0000 0000 1178 0000 0000 0000
0x070: 0000 0000 0000 0000 0180 0300 0800 0000
0x080: 1000 1200 0180 2800 1028 0900 11f4 0301
0x090: 4000 1110 0000 0400 0000 0000 0000 0000
0x0a0: 0000 0000 1000 0000 0000 0000 0000 0000
0x0b0: 0100 0100 0000 0000 0000 0000 0000 0000
0x0c0: 0000 0000 0000 0000 0000 0000 0000 0000
...
0x0f0: 0000 0000 0000 0000 0000 0000 0000 0000
Class = Bridge (Other)
Vendor ID = 1172h, Altera Corporation
Device ID = 203dh, Unknown Unknown
PCI index = 1h
Class Codes = 068000h
Revision ID = 4h
Bus number = 7
Device number = 0
Function num = 0
Status Reg = 10h
Command Reg = 7h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Error Response disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents disabled
PCI INTx enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 10h un-cacheable
Subsystem Vendor ID = b9h
Subsystem ID = 5a91h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 7
CPU Interrupt = 7h
Capabilities Pointer = 50h
Capability ID = 5h - Message Signaled Interrupts
Capabilities = 84h - 0h
Capability ID = 1h - Power Management
Capabilities = 3h - 8h
Capability ID = 10h - PCI Express
Capabilities = 12h - 288001h
Device Dependent Registers:
0x040: 0000 0000 6061 0002 0000 0000 0000 0000
0x050: 0578 8400 0000 0000 0000 0000 0000 0000
0x060: 0000 0000 0000 0000 1178 0000 0000 0000
0x070: 0000 0000 0000 0000 0180 0300 0800 0000
0x080: 1000 1200 0180 2800 1028 0900 11f4 0301
0x090: 4000 1110 0000 0400 0000 0000 0000 0000
0x0a0: 0000 0000 1000 0000 0000 0000 0000 0000
0x0b0: 0100 0100 0000 0000 0000 0000 0000 0000
0x0c0: 0000 0000 0000 0000 0000 0000 0000 0000
...
0x0f0: 0000 0000 0000 0000 0000 0000 0000 0000