Hi,
 
I am able to at least execute this on Windows. The issue I faced was due to 
.exe residing on shared folder between Linux and Windows. I needed to copy the 
execuatble on to C drive and it at least seems to execute. I have not yet 
downloaded UBL to EVM.
 
Regards,
Neeraj


--- On Mon, 12/1/08, Neeraj Tandon <[EMAIL PROTECTED]> wrote:

From: Neeraj Tandon <[EMAIL PROTECTED]>
Subject: RE: DM6467 serial boot and flash utility question
To: "[email protected]" 
<[email protected]>, "Allred, Daniel" <[EMAIL 
PROTECTED]>
Date: Monday, December 1, 2008, 3:05 PM







Hi,
 
I was able to compile the target UBL after your suggestions. I am also able to 
get a slh_DM646x.exe on redhat EL4 host platform.
 
When I try to use this utility I get an error as noted at the end of this mail. 
I am using mono version 1.9.1 compiler

Any suggestion what should I do to make this download a UBL over serial boot.
 
Regards,
Neeraj
 
:\>slh_DM646x.exe -h
Unhandled Exception: System.Security.SecurityException: Request for the permissi
on of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.
0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase)
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at TIBootAndFlash.Program.Main(String[] args)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Vers
ion=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="Z:\slh_DM646x.exe"/>
The demand was for:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Vers
ion=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
PathDiscovery="Z:\slh_DM646x.exe"/>
The granted set of the failing assembly was:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Access="Open"/>
<IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, m
scorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Allowed="ApplicationIsolationByUser"
UserQuota="512000"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Ve
rsion=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Execution"/>
<IPermission class="System.Security.Permissions.UIPermission, mscorlib, Version=
2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Window="SafeTopLevelWindows"
Clipboard="OwnClipboard"/>
<IPermission class="System.Security.Permissions.UrlIdentityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Url="file:///Z:/slh_DM646x.exe"/>
<IPermission class="System.Security.Permissions.ZoneIdentityPermission, mscorlib
, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Zone="Internet"/>
<IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
version="1"
Level="SafePrinting"/>
</PermissionSet>
The assembly or AppDomain that failed was:
slh_DM646x, Version=1.0.3249.42304, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
Int32 Main(System.String[])
The Zone of the assembly that failed was:
Internet
The Url of the assembly that failed was:
file:///Z:/slh_DM646x.exe
 


--- On Fri, 11/21/08, Allred, Daniel <[EMAIL PROTECTED]> wrote:

From: Allred, Daniel <[EMAIL PROTECTED]>
Subject: RE: DM6467 serial boot and flash utility question
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, 
"[email protected]" 
<[email protected]>
Cc: "Maupin, Chase" <[EMAIL PROTECTED]>
Date: Friday, November 21, 2008, 7:33 AM








Neeraj,
 
The older GCC tools (like the MV ones you appear to be using) would complain 
about the # signs in front of the zeros in any of the commands for talking to 
the CP15 registers.  The new CodeSourcery tools, which are GCC 4.2.3, do not.  
In addition, the TI TMS470 codegen tools require the # symbols.  This was part 
of the reason for moving to the newer CodeSourcery tools. 
  
Regarding the timake program, this is part of CCS, which is currently only 
found on Windows.  Since you are running under Linux, there should be no reason 
to compile any of the CCS applications/projects included in the release.  I 
would recommend editing the top-level makefile to not enter the CCS path. 
  
Regards, 
Daniel 
  

Daniel J. Allred
High Performance DSP/SoC 
Catalog DSP / Emerging End Equipment 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neeraj Tandon
Sent: Friday, November 21, 2008 12:34 AM
To: [email protected]
Subject: Re: DM6467 serial boot and flash utility question
  




  

Hi ,

 

I tried to build the UBL part of this utility and came across another issue. 
The boot.o is not building. Can someone please suggest something to proceed on 
this.

 

Enclosing the build error below.

 

Regards,

Neeraj

 

   

 

pwd

/home2/public/DM646x_FlashAndBootUtils_1_10/DM646x/GNU/slt/build

 

 

make

arm_v5t_le-gcc -c -Os -Wall -mlong-calls -ffreestanding 
-I../../../Common/include -I../../../../Common/include 
-I../../../../Common/arch/arm926ejs/include -I../../../../Common/slt/include 
-I../../../../Common/ubl/include -I../../../../Common/drivers/include 
-I../../../../Common/gnu/include ../../../../Common/slt/src/slt.c -o slt.o 

 

arm_v5t_le-gcc -c -Os -Wall -mlong-calls -ffreestanding 
-I../../../Common/include -I../../../../Common/include 
-I../../../../Common/arch/arm926ejs/include -I../../../../Common/slt/include 
-I../../../../Common/ubl/include -I../../../../Common/drivers/include 
-I../../../../Common/gnu/include ../../../../Common/arch/arm926ejs/src/boot.c 
-o boot.o 

/tmp/ccSMZLhp.s: Assembler messages:

/tmp/ccSMZLhp.s:22: Error: bad expression -- `mrc p15,#0,r0,c1,c0,#0'

/tmp/ccSMZLhp.s:27: Error: bad expression -- `mcr p15,#0,r0,c1,c0,#0'


--- On Thu, 11/20/08, Neeraj Tandon <[EMAIL PROTECTED]> wrote: 
From: Neeraj Tandon <[EMAIL PROTECTED]>
Subject: DM6467 serial boot and flahs utility question
To: [email protected]
Date: Thursday, November 20, 2008, 5:54 PM 






Hi,


 

Wiki page list a utility for serial load and flashing :

 

http://wiki.davincidsp.com/index.php?title=Serial_Boot_and_Flash_Loading_Utility#Compiling

 

I downloaded this and was compiling on linux. All the makefiles in CCS 
directory use "timake" . My build fails at this 

 

Does anyone know what is to be used for timake ?

 

I have installed "mono" from mono project site but it does not look like this 
"timake" is a part of it.

 

Regards,

Neeraj


--- On Thu, 11/20/08, Neeraj Tandon <[EMAIL PROTECTED]> wrote: 

From: Neeraj Tandon <[EMAIL PROTECTED]>
Subject: DM6467 serial boot and flahs utility question
To: [email protected]
Date: Thursday, November 20, 2008, 5:54 PM 






Hi,


 

Wiki page list a utility for serial load and flashing :

 

http://wiki.davincidsp.com/index.php?title=Serial_Boot_and_Flash_Loading_Utility#Compiling

 

I downloaded this and was compiling on linux. All the makefiles in CCS 
directory use "timake" . My build fails at this 

 

Does anyone know what is to be used for timake ?

 

I have installed "mono" from mono project site but it does not look like this 
"timake" is a part of it.

 

Regards,

Neeraj

 
 _______________________________________________Davinci-linux-open-source 
mailing [EMAIL 
PROTECTED]://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to