Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » Adding new platform to RTSC
Adding new platform to RTSC [message #5189] Tue, 07 July 2009 18:58 Go to next message
Madhvi is currently offline MadhviFriend
Messages: 9
Registered: July 2009
Junior Member
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/ex amples/servers/all_codecs/../../../../../..;/home/a0869614/m ov11/tools/tools/xdc/xdctools_3_10_05_61/packages;/home/a086 9614/mov11/codec_engine_2_24/cetools/packages;/home/a0869614 /mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/packag es;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctools _3_10_05_61/packages;../../../../../.. "
-Dxdc.root=/home/a0869614/mov11/tools/tools/xdc/xdctools_3_1 0_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/a0 869614/mov11/codec_engine_2_24/cetools/packages;/home/a08696 14/mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/pack ages;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctoo ls_3_10_05_61/packages;../../../../../..;/home/a0869614/mov1 1/tools/tools/xdc/xdctools_3_10_05_61;/home/a0869614/mov11/t ools/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/pac kages/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/pac kages/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/e xamples/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.d sdp.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_W izard_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
Re: Adding new platform to RTSC [message #5327 is a reply to message #5189] Tue, 07 July 2009 20:14 Go to previous message
Dave Russo is currently offline Dave RussoFriend
Messages: 172
Registered: July 2009
Senior Member
Madhvi wrote:
> 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/ex amples/servers/all_codecs/../../../../../..;/home/a0869614/m ov11/tools/tools/xdc/xdctools_3_10_05_61/packages;/home/a086 9614/mov11/codec_engine_2_24/cetools/packages;/home/a0869614 /mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/packag es;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctools _3_10_05_61/packages;../../../../../.. "
> -Dxdc.root=/home/a0869614/mov11/tools/tools/xdc/xdctools_3_1 0_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/a0 869614/mov11/codec_engine_2_24/cetools/packages;/home/a08696 14/mov11/ce_2_24_packages;/apps/ti/dspbios/bios_5_33_05/pack ages;/vobs/rtenv;/home/a0869614/mov11/tools/tools/xdc/xdctoo ls_3_10_05_61/packages;../../../../../..;/home/a0869614/mov1 1/tools/tools/xdc/xdctools_3_10_05_61;/home/a0869614/mov11/t ools/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/pac kages/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'
>
Platform packages reference "devices" that typically define a memory map
for the "on-chip" memory. This allows one to create multiple platforms
with different external memory (and peripherials) without duplicating
the device information (which is the same).

The error above suggests that you duplicated the platform package files
and renamed the device named in the Platform.xdc file to
TMS320CTNETV107X _but_ you did not create the device module containing
the device information. You need to create a device module named
TMS320CTNETV107X.

To create the TMS320CTNETV107X module simply copy another device .xdc
file from the ti.catalog.c6000 package and modify it to reflect the
TMS320CTNETV107X properties. Put this module in your platform package
(modify the package.xdc file to name this new module and modify the
Platform module to name the platform package as the "catalog" containing
the device) and re-build the platform package.
Previous Topic:XDC build error with specific XDCARGS
Next Topic:Add new device (Leo) to catalog and new platform
Goto Forum:
  


Current Time: Sat Dec 20 10:36:09 GMT 2014

Powered by FUDForum. Page generated in 0.02441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software