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.

Some questions about DM8168 pcie

Hi all:

I have some questions about ti8168 pcie,

1. where can find the address of Configuration Registers Common to Type 0 and Type 1 Headers in TRM?

I see the code it is 0x51001000, Is this right?

2.How to use TI81XX-LINUX-PSP-04.04.00.02.tgz patches, so many pathces,

should i have to patch one by one to the kernel src code ?

3. Followed TI81XX_PSP_PCI_Express_Endpoint_Boot_Driver_User_Guide,

I boot my dm8168 ep from dm8168 rc successfully,

the qustions is how to use the driver at the app program, there is no ep application interface then ?

4. How to enable  EDMA transfer and MSI interrupt for RC and Ep ?

Can someone answer me these qustions ?

best regards

xavier

  • Find my answers inline in the quoted text below.

     

    Xavier said:

    Hi all:

    I have some questions about ti8168 pcie,

    1. where can find the address of Configuration Registers Common to Type 0 and Type 1 Headers in TRM?

    I see the code it is 0x51001000, Is this right?

    {RK]  Yes this is right and if you want to access the header of a remote device it is 0x51002000.

    The folowing section of TRM gives more details  17.2.4 Address Spaces

    2.How to use TI81XX-LINUX-PSP-04.04.00.02.tgz patches, so many pathces,

    should i have to patch one by one to the kernel src code ?

    {RK]  The archive TI81XX-LINUX-PSP-04.04.00.02.tgz is complete kernel and uboot package. You should refer to http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide to know how to use this.

    3. Followed TI81XX_PSP_PCI_Express_Endpoint_Boot_Driver_User_Guide,

    I boot my dm8168 ep from dm8168 rc successfully,

    the qustions is how to use the driver at the app program, there is no ep application interface then ?

    {RK]  Refer to http://processors.wiki.ti.com/index.php/TI81XX_PSP_PCI_Express_Endpoint_Driver_User_Guide for sample kernel modules and applications

    4. How to enable  EDMA transfer and MSI interrupt for RC and Ep ?

    {RK] Same as answer 3.

    Can someone answer me these qustions ?

    {RK] I hope you find the answers helpful.

    best regards

    xavier

     

    Regards,

    RK

  • tank you for your replay! Can you explain what are inbound mem and outbound mem ? And when to use them?