Hello all,
im trying to generate ROMFS .bin file from MAD utility and used deployment_template_C6678.json file with 3 .out files. Its giving me error like ERROR: addFile() File1 name already exists.
my deployment_template_C6678.json file is looks like after some modification,
{
"deviceName" : "C6678",
"partitions" : [
{
"name" : "load-partition",
"vaddr" : "0x9e000000",
"size" : "0x1000000",
"loadPartition" : true
}
],
"applications" : [
{
"name" : "app1",
"fileName" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\app_1\\build\\Hello1.out",
"libPath" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\shlibs\\build",
"allowedCores" : [0,1,2]
},
{
"name" : "app1",
"fileName" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\app_1\\build\\Hello3.out",
"libPath" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\shlibs\\build",
"allowedCores" : [0,1,2]
},
{
"name" : "app2",
"fileName" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\app_2\\build\\Hello2.out",
"libPath" : "C:\\ti\\mcsdk_2_01_02_05\\tools\\boot_loader\\mad-utils\\mad-loader\\examples\\shlibs\\build",
"allowedCores" : [0,1,2]
}
],
"appDeployment" : [
"app1",
"app1",
"app2",
"",
"",
"",
"",
""
]
}
and the error what i got is,
$ python maptool.py ./config-files/maptoolCfg_C6678.json bypass-prelink
MAP tool executing in prelink bypass mode
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\strip6x" -o=./tmp/strippedImages\app1.strip ./images/app
Images\app1
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\strip6x" -o=./tmp/strippedImages\app1.strip ./images/app
Images\app1
error: unable to rename C:/Users/HPLAPT~1/AppData/Local/Temp\050762 to
./tmp/strippedImages\app1.strip: File exists
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\strip6x" -o=./tmp/strippedImages\app2.strip ./images/app
Images\app2
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\ofd6x" -x -o c:\users\hplapt~1\appdata\local\temp\tmpxau
dj3.xml "./tmp/strippedImages\app1.strip"
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\ofd6x" -x -o c:\users\hplapt~1\appdata\local\temp\tmp46c
kec.xml "./tmp/strippedImages\app1.strip"
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\ofd6x" -x -o c:\users\hplapt~1\appdata\local\temp\tmp5rz
ksg.xml "./tmp/strippedImages\app2.strip"
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\ofd6x" -x -o c:\users\hplapt~1\appdata\local\temp\tmppyt
yi7.xml "./tmp/fs\mal_app"
c:\ti\mcsdk_2_01_02_05\tools\boot_loader\mad-utils\map-tool>"C:\ti\ccsv5\tools\c
ompiler\c6000_7.4.1\bin\ofd6x" -x -o c:\users\hplapt~1\appdata\local\temp\tmp1qc
t5j.xml "./tmp/fs\nml"
ERROR: addFile() File1 name already exists
can anyone tell me where i did mistake ??
regards,
Gourav