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.

QMSS initialization on Linux c6x

Hi to all

i try to run sys/bios application on core 1-7 and linux c6x on core 0 and i need some information about  Linux QMSS config (i can't find detail in linux-c6x.org and ti documents)

Q1: what's Link RAM (0 or 1 or both) init and used on Linux c6x?

Q2: what's qmss memory region (region 0-19) enable and used in Linux c6x ?

i glad to hear your answer and insight

thanks

Ebi

  • Hi,

    Thanks for your post.

    In order to use the QMSS’ internal Linking RAM, we need to specify a value of 0x00080000 for KeyStone I, 0x00100000 for KeyStone II’s QM1. Please check Table 4-4 from the user guide below:

    http://www.ti.com.cn/cn/lit/ug/sprugr9h/sprugr9h.pdf

    In general, Queue managers need to be programmed with identical descriptor memory regions and likewise, the linking RAM

    registers in both QMs need to be programmed identically. Please note that, Linking RAM 0 need to be configured to use internal QMSS memory where as for Linking RAM 1, it would use L2 or DDR. For efficiency reasons, it would be best to use the internal QMSS Link RAM memory.

    The Linking RAM Region 0 Base Address Register is used to set the base address for the first portion of the linking RAM. This address is used by the queue manager to calculate the 32-bit linking address for a given descriptor index. For more info. please see Table 4-1 for queue configuration region registers from the above user guide.

    I would recommend you to review the attached QMSS PPT slides for more understanding on QMSS descriptors and descriptor memory regions on slides 18 and 19.

    /cfs-file/__key/communityserver-discussions-components-files/354/4745.KeyStone-Multicore-Navigator.pptx

    Thanks & regards,

    Sivaraj K

    ----------------------------------------------------------------------------------------------------------------

    Please click the "Verify Answer" button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------------

     
  • Sivaraj,

    sorry for replying late (i was out of office) and thanks for your useful information and links

    i boot linux c6x on 6678 EVM and read QMSS register using jtag :

    linux c6x use link RAM 0 only (don't use link RAM 1 ) and single memory region configured at 0x0C000000-0xC002020 (please confirm if it is correct)

    thanks 

    Ebi

  • Hi,

    I do think, it seems ok.

    Regards,
    Sivaraj K
  • Hi

    thanks for your attention

    Ebi