Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic: (7 Items)
   
QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
Hello!

I'm trying to launch this BSP (https://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/X86Bios) on my Intel Atom
 E3800 board. I built QNX BSP with minimum amount of modules (only pci driver and mmc for downloading other modules from
 emmc) driver as elf. After that I build Coreboot bios (https://www.coreboot.org/) with QNX BSP elf as payload. I 
flashed image with coreboot and QNX kernel to SPI RAM by programmer. QNX launched, but there is some problems (see full 
launch log in attachments) with emmc and pci server. Here QNX startup log and cat /dev/slog after that:

Welcome to QNX Neutrino 6.5.0 SP1!
Starting slogger...
Starting serial server...
Starting PCI server...
Start xHCI USB services...
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
main:  Unable to locate pci server
Starting Input services...
Starting some consoles...
# devb-mmcsd mmcsd vid=0x8086,did=0x0f14,irq=18
# No host controller found
xpt_configure:  mmcsd SIM attach failure
#
# cat /dev/slog
jєLжpci-bios: No BIOS present - Status ffffffff - errno 14!jєLжpci-bios: HWI failed!enjєLжpci_server: No dll 
loaded!


What am I doing wrong? 

Full launch log and my build file in attachments.

Regards, Vasily
Attachment: Text x86-generic.build 4.19 KB Text launch_log.txt 23.95 KB
Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
# sloginfo
Time             Sev Major Minor Args
Oct 28 18:30:02    2    17     0 pci-bios: No BIOS present - Status ffffffff - errno 14!
Oct 28 18:30:02    2    17     0 pci-bios: HWI failed!
Oct 28 18:30:02    2    17     0 pci_server: No dll loaded!
Oct 28 18:32:10    2    19   1800 devb-mmcsd 1.00A (Jan 12 2017 11:25:35)
Oct 28 18:32:10    2     5     0 libcam.so (Jun 20 2012 13:40:15) bver 6050001
Oct 28 18:32:10    2    19   1800 sdhci_init: pci_attach failed
Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
The PCI server uses BIOS calls to read/write the PCI configuration space, so I guess that your hardware doesn't have 
this functionality in your BIOS, or maybe it is a BIOS option.

On 2018-07-11, 8:01 AM, "Vasilij Yanikeev" <community-noreply@qnx.com> wrote:

    # sloginfo
    Time             Sev Major Minor Args
    Oct 28 18:30:02    2    17     0 pci-bios: No BIOS present - Status ffffffff - errno 14!
    Oct 28 18:30:02    2    17     0 pci-bios: HWI failed!
    Oct 28 18:30:02    2    17     0 pci_server: No dll loaded!
    Oct 28 18:32:10    2    19   1800 devb-mmcsd 1.00A (Jan 12 2017 11:25:35)
    Oct 28 18:32:10    2     5     0 libcam.so (Jun 20 2012 13:40:15) bver 6050001
    Oct 28 18:32:10    2    19   1800 sdhci_init: pci_attach failed
    
    
    
    _______________________________________________
    
    General
    http://community.qnx.com/sf/go/post118939
    To cancel your subscription to this discussion, please e-mail general-community-unsubscribe@community.qnx.com
    

Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
Yes, you are right! Thank you! I rebuild coreboot with seabios and pci driver  on qnx core succesfuly launched!

# sloginfo
Time             Sev Major Minor Args
Apr 15 18:29:13    3    17     0 pci_server: enabling MSI for video
Apr 15 18:29:13    6    17     0 free_mem_start = 0x3ae00000, free_mem_end = 0xfec00000
Apr 15 18:29:13    6    17     0 intrinfo size = 320  entry size = 64  count = 5
Apr 15 18:29:13    6    17     0 base = 0x80010000  num = 6  cascade = 0x7fffffff  intr 48
Apr 15 18:29:13    6    17     0 base = 0x8001ffff  num = 1  cascade = 0x7fffffff  intr 47
Apr 15 18:29:13    6    17     0 base = 0x80000000  num = 3  cascade = 0x7fffffff  intr 2
Apr 15 18:29:13    6    17     0 base = 0x00000000  num = 87  cascade = 0x7fffffff  intr 54
Apr 15 18:29:13    6    17     0 base = 0x00000100  num = 114  cascade = 0x7fffffff  intr 141
Apr 15 18:29:13    5    17     0 Get routing failed 81
Apr 15 18:29:13    6    17     0 find_host_bridge - bridge_count 8 - num_pci_bridges 8


Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
I succesfuly launched driver for VID/DID = 0x8086/0x0F16 (simple MMCSD card). Launch command is:

devb-mmcsd mmcsd vid=0x8086,did=0x0f16,irq=18

But I unable to launch this driver for emmc (0x8085/0xF50):

devb-mmcsd mmcsd vid=0x8086,did=0x0f50,irq=12

No host controller found
xpt_configure:  mmcsd SIM attach failure

What am I doing wrong?
Attachment: Text sloginfo.txt 16.85 KB Text pci_v.txt 54.54 KB
Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
I succesfuly launched driver for VID/DID = 0x8086/0x0F16 (simple MMCSD card). Launch command is:

devb-mmcsd mmcsd vid=0x8086,did=0x0f16,irq=18

But I unable to launch this driver for emmc (0x8085/0xF50):

devb-mmcsd mmcsd vid=0x8086,did=0x0f50,irq=12

No host controller found
xpt_configure:  mmcsd SIM attach failure

What am I doing wrong?
Attachment: Text sloginfo.txt 16.85 KB Text pci_v.txt 54.54 KB
Re: QNX6.5 emmc/MMC and pci drivers problems in BSP for x86-generic  
I succesfuly launched driver for VID/DID = 0x8086/0x0F16 (simple MMCSD card). Launch command is:

devb-mmcsd mmcsd vid=0x8086,did=0x0f16,irq=18

But I unable to launch this driver for emmc (0x8085/0xF50):

devb-mmcsd mmcsd vid=0x8086,did=0x0f50,irq=12

No host controller found
xpt_configure:  mmcsd SIM attach failure

What am I doing wrong?
Attachment: Text sloginfo.txt 16.85 KB Text pci_v.txt 54.54 KB