This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

integrate PCIe driver to Linux-c6x-2.0

 

After set the SW9 dip to support Pcie and configured Linux_c6x-2.0 to support PCI (with make menuconfig), the image is programmed to nand and boot correctly based the captured data in minicom. the /proc system shows no data on PCI bus, devices, etc. no any information on PCIe.

Can someone give advices on documents, procedure? I try to make sure the PCI core is there and then to insert a customized PCI driver. Now I am not sure if the PCI core part is in the image.

Taishan

 

  • Hi, Taishan,

    Please take a look at the FAQ page in linux-c6x.org. See if #3 in "Software Ecosystem Features" Section of the FAQ answers your question.

    Rex

  • Rex,

    (1) I like to confirm: does the current Linux-c6x-2.0 support PCIe 2.0? I checked the "Software Ecosystem Features", there is no PCIe updates.

    (2) can SYS/BIOS initialize PCIe controller to RC mode?

    Taishan

  • Hi, Taishan,

    The PCIe is supported in post-GA. Please see Branch_Status in linux-c6x.org->Releases. You can get the source from "Git repositories" in the Resources section of linux-c6x.org.

    Rex

  • Hi Rex,

    Thank you. I have used: ./bootstrap master to get the current post_GA version.

    Another question : I tried to boot using the C6678 default boot mode (SW3, SW4, SW5, SW6, SW9:on, on).

    IBL NOR boot on image 0 (default) (off, off, on, off)1,2 (on, on, on, on)3 (on, on, on, off)4 (on, on, on, on)

    the minicom output:

    IBL Result code 00
    IBL: Booting from NOR
    Start BIOS 6
    QMSS successfully initialized
    CPPI successfully initialized
    PA successfully initialized
    HUA version 2.00.00.04
    Setting hostname to tidemo-065764
    MAC Address: 40-5F-C2-BB-78-9B
    Configuring DHCP client
    PASS successfully initialized
    Ethernet subsystem successfully initialized
    Ethernet eventId : 48 and vectId (Interrupt) : 7
    Registration of the EMAC Successful, waiting for link up ..
    Service Status: DHCPC    : Enabled  :          : 000
    Service Status: THTTP    : Enabled  :          : 000
    Service Status: DHCPC    : Enabled  : Running  : 000
    Network Added: If-1:192.168.1.10
    Service Status: DHCPC    : Enabled  : Running  : 017

    the /var/log/syslog ourput:

    ...

    Aug  8 18:17:28 AGS dhcpd: DHCPDISCOVER from 40:5f:c2:bb:78:9b (tidemo-065764) via eth0
    Aug  8 18:17:29 AGS dhcpd: DHCPOFFER on 192.168.1.10 to 40:5f:c2:bb:78:9b (tidemo-065764) via eth0
    Aug  8 18:17:29 AGS dhcpd: DHCPREQUEST for 192.168.1.10 (192.168.1.19) from 40:5f:c2:bb:78:9b (tidemo-065764) via eth0
    Aug  8 18:17:29 AGS dhcpd: DHCPACK on 192.168.1.10 to 40:5f:c2:bb:78:9b (tidemo-065764) via eth0

    the problem is the system is hanging on the line:

    Service Status: DHCPC    : Enabled  : Running  : 017

    It seems to me the DHCP server is fine. I expect the system boots to a shell prompt. Does the board (TMDSEVM6678L) has a preload linux on NOR? what is the final correct state if boot with the defaul boot mode (  IBL NOR boot on image 0)?any suggestions on the setting?

    Taishan

  • Hi, Taishan,

    I am not sure if the EVM is shipped with NOR image, but you can follow the User's Guide to program the EVM. However, NOR boot is default to use image of ELF format. Please see FAQ on how to boot ramfs binary from NOR if this is what you want.

    Rex