[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Adding new platform to RTSC

I downloaded CCSv4 and tried using RTSC wizard. One thing I realized was that the wizard just creates a different platform type for an already existing device. However I want to create a new platform for a new device ? Leo TNETV107X (which is similar to Davinci but a totally different chip). So I ended by copying the files from ti/platforms/evmDM6446 to ti/platforms/evmTNETV107X and build it using xdc (used a simple config.bld and package.bld). So I got this part done.



But now, when I try to consume this package into my app, I get the following error. How do I go about resolving this?



# configuring bin/ti_platforms_evmTNETV107X/all.x64P from package/cfg/bin/ti_platforms_evmTNETV107X/all_x64P.cfg ...

/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/xs -Dxdc.path="/home/a0869614/mov11/codec_engine_2_24/examples/ti/sdo/ce/examples/servers/all_codecs/../../../../../..;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages;/home/a0869614/mov11/codec_engine_2_24/cetools/packages;/home/a0869614/mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/packages;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages;../../../../../.." -Dxdc.root=/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61 -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/a0869614/mov11/codec_engine_2_24/examples/ti/sdo/ce/examples/servers/all_codecs/../../../../../..;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages;/home/a0869614/mov11/codec_engine_2_24/cetools/packages;/home/a0869614/mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/packages;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages;../../../../../..;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61;/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/etc ;/apps/ti/dspbios/bios_5_33_05/packages/ti/bios/include" -Dxdc.bld.targets="" -DTOOLS= xdc.cfg bin/ti_platforms_evmTNETV107X/all.x64P package/cfg/bin/ti_platforms_evmTNETV107X/all_x64P.cfg package/cfg/bin/ti_platforms_evmTNETV107X/all_x64P

error: xdc.platform.Utils: "/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages/xdc/platform/Utils.xs", line 95: xdc.platform.Utils : can't create an xdc.platform.ICpuDataSheet instance; the package 'ti.catalog.c6000' does not include the module 'TMS320CTNETV107X'

js: "/home/a0869614/mov11/tools/tools/xdc/xdctools_3_10_05_61/packages/xdc/cfg/Main.xs", line 116: Error: Configuration failed!

gmake[1]: *** [package/cfg/bin/ti_platforms_evmTNETV107X/all_x64P.xdl] Error 1

gmake: *** [/home/a0869614/mov11/codec_engine_2_24/examples/ti/sdo/ce/examples/servers/all_codecs,.executables] Error 2

gmake: *** [all] Error 2







I will post this email onto the newsgroup too..



-Madhvi




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

From: Mookerjee, Amit




Hello Madhvi,

You can create an instance of the generic platform in your ?config.bld? file

This maybe achieved by making an entry in the Build.platformTable array.

Assuming you want to define your own memory map you can create a platform

instance in the following manner:





Build.platformTable['ti.platforms.generic:plat'] =

{

clockRate: 600,

catalogName: 'ti.catalog.c6000',

deviceName: 'TMS320DM6446',

customMemoryMap: [

["IRAM", {name: "IRAM", base: 0x00800000, len: 0x000f0000, space: "code/data",access: "RWX"}],

["MSMCSRAM", {name: "MSMCSRAM", base: 0x0c000000, len: 0x00200000, space: "code/data",access: "RWX"}],

["L1PSRAM", {name: "L1PSRAM", base: 0x00E00000, len: 0x00000000, space: "code",access: "RWX"}],

["L1DSRAM", {name: "L1DSRAM", base: 0x00F00000, len: 0x00000000, space: "data",access: "RW"}],

]

};



FYI-

We have a RTSC newsgroup at http://www.eclipse.org/newsportal/thread.php?group=eclipse.dsdp.rtsc

It will be great if you could post your questions on the newsgroup so we can share information with the community. This newsgroup is monitored by the RTSC team and you should get answers pretty quickly.



Hope this helps.



Best Wishes

Amit Mookerjee




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

From: Jain, Madhvi



Amit,



Is there a way to create a new platform without using CCSv4? Something similar to how targets are created? Since I am trying to create a new platform which is almost similar to DM6446, can I just copy files/folders around (similar to what we do for new targets that are similar to existing ones) instead of downloading/installing CCSv4 and then using the wizard?



-Madhvi




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

From: Mookerjee, Amit




Atul,

The RTSC platform wizard ships with XDCtools 3.15.01

A flash demo showing the usage of the wizard in CCS4 is available at http://rtsc.eclipse.org/docs-tip/Demo_of_the_RTSC_Platform_Wizard_in_CCSv4



Using the wizard you should be able to create a RTSC platform package with the specific memory map for your board.





Best Wishes

Amit Mookerjee