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.

AM6442: An error when modifying resource allocation

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Ti Experts,

I followed AM64x MCU+ SDK: Modifying resource allocation instruction to modify PKTDMA resouce.

However, after modifying am64x-evm.syscfg, I encountered an issue when rebuilding:

"Build Board Configuration Obj Files"
"Create unsigned Board Configuration binary"
Load address not computed for file that does not have a segment table at XML_TI_OFD.pm line 1441.
Use of uninitialized value in multiplication (*) at script/mkhex4bin.pl line 295.
"Sign Board Configuration with HS key"

...

"Generate include-able header file from signed Board Configuration"
SYSFW Boardcfg blob created at E:\ti\mcu_plus_sdk_am64x_09_02_01_05\source\drivers\sciclient\sciclient_default_boardcfg\am64x\boardcfg_blob.bin
SYSFW Boardcfg blob created at E:\ti\mcu_plus_sdk_am64x_09_02_01_05\source\drivers\sciclient\sciclient_default_boardcfg\am64x\boardcfg_blob_linux.bin

Even the .bin file created after rebuilding, the modification doesnt work.

 

I dont know what makes that issue and how to fix it.

Thanks.

Regards,

xueying

  • Hello xueying,

    Can you please share what the use case is here? Why did you change the PKTDMA channels ?

    Are you changing the PKTDMA channels allocation for which peripherals ?

    What are the steps did you try and explain the steps that you did ?

    Are you trying to change Resources allocations on which core and which OS is running on the Core ?

    Regards,

    Anil.

  • I want to allocate PKTDMA ICSSG0 Rx channel in R5f11 core.  And I changed am64x-evm.syscfg like below:

     resourceSharing11.$name              = "modules_resourceSharing10";
     resourceSharing11.resourceName       = "Packet DMA ICSSG0 Rx channel";
     resourceSharing11.sharedFromHostName = "A53_2";
    -resourceSharing11.sharedToHostName   = "MAIN_0_R5_1";
    +resourceSharing11.sharedToHostName   = "MAIN_1_R5_3";

    However, this issue still arises despite nothing change.

    There is no error when I type:

    make -s -C tools/sysfw/boardcfg configure-gen SOC=am64x

    But when I type 

    make -s -C tools/sysfw/boardcfg sciclient_boardcfg SOC=am64x
    , the issue then arise.

    I'm not sure if it's caused by inconsistent versions of CCS/SDK/Syscfg, as I can still encounter this issue without making any modifications and rebuilding.

    (CCS version: 12.7.1; SDK version: 09.02.01.05; Sysconfig version: 1.21.0, I use)

    Regards,

  • Hello xueying,

    After changing the host, you then need to copy the file into the MCU+SDK and later need to compile an rm_cfg. File.

    For these operations you need to use the commands below.

    If you face any errors like not being able to find the file paths, mostly problems with the syscfg and ccs versions.

    Use the recommended CCS and syscfg versions of the MCU+SDK.

    commands 
    game -s -C tools/sysfw/boardcfg configure SOC=am64x
    gmake -s -C tools/sysfw/boardcfg configure-gen SOC=am64x
    gmake -s -C tools/sysfw/boardcfg sciclient_boardcfg SOC=am64x

    Regards,

    Anil.