Are you running DVFlasher_1_00 or DVFlasher_1_11.  If you recompile DVFlasher 
program from the DVFlasher_1_11.tar file, you should be running 
DVFlasher_1_11.exe.  Also, if you want to flash the NAND flash to make it 
bootable, you should use the -fnandbin or -fnandsrec options, not -b.

 

If you make sure that you are running the right executable and you still get 
the error, then there may be a problem with the Mono installation on your 
system.  That's something beyond where I can help.  But if you can get the 
DVFlasher program to compile, but not run, you can copy the executable to a 
Windows machine with the .Net 2.0 or above framework installed and you should 
be able to run it from there.  You can also install Mono on a Windows machine 
and run it using the same command you used on Linux.

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / Emerging End Equipment

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amit Nainawat
Sent: Wednesday, March 14, 2007 3:05 PM
To: Allred, Daniel
Cc: Ivan Tonchev; Linux DaVinci
Subject: Re: dvflasher_1_11.tar NAND patch

 

Hi,

Board setting .. SW USER  to 00001111 and Jumper J4 to NAND

1. Patched nand.c with Mr. Ivan code.
2. execute $ mono DVFlasher_1_00.exe -b u-boot-nand.bin (u-boot-nand.bin file i 
found in the restore directory)



output is :


----------------------------------------------------- 
  TI DVFlasher Host Program for DM644x
  (C) 2007, Texas Instruments, Inc.
-----------------------------------------------------


Platform is Unix/Linux.
Sending and running application found in u-boot-567-nand.bin .


Attempting to connect to device /dev/ttyS0...
libMonoPosixHelper.so
[EMAIL PROTECTED] DVFlasher]#
 
Any clues?
Regards
Nainawat






On 3/14/07, Allred, Daniel <[EMAIL PROTECTED]> wrote:

I assume you are running Linux.  Your Mono installation is quite out of date.  
Any version newer than 1.1.3 should do (current version is 1.2.3).  You can 
find your version by issuing the following command:

            mono -V

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / Emerging End Equipment

________________________________

From: Amit Nainawat [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 1:29 PM
To: Allred, Daniel
Subject: Re: Davinci DVEVM board not responding

 

I have tried compiling the DVFlasher after downloading form TI site, 
encountered to following errors:


[EMAIL PROTECTED] DVFlasher]# make 
Adjusting binary entry point addresses in the host source code.
sed -i 's/\([:space:]*myCmdParams\.NORUBLExecAddr = 
0x\)\([0-9a-fA-F]\{4\}\)/\12b04/' ./DVFlasher.cs
sed -i 's/\([:space:]*myCmdParams\.NANDUBLExecAddr = 
0x\)\([0-9a-fA-F]\{4\}\)/\12518/' ./DVFlasher.cs 
ALPHA SOFTWARE: Mono C# Compiler 0.96.0.0 <http://0.96.0.0/>  for Generics
DVFlasher.cs(170) error CS0246: Cannot find type `SerialPort' 
DVFlasher.cs(1201) error CS0246: Cannot find type `SerialPort' 
DVFlasher.cs(1264) error CS0246: Cannot find type `SerialPort'
DVFlasher.cs(21) error CS0246: The namespace `System.IO.Ports' can not be found 
(missing assembly reference?)
CRC32.cs(12) error CS0246: The namespace `System.IO.Ports' can not be found 
(missing assembly reference?) 
Compilation failed: 5 error(s), 0 warnings
make: *** [DVFlasher_1_11.exe] Error 1

Dose DVFlasher needs some special environment to make? 
Where can I get DVFlasher exe it self for making the repair fast? 

Thank you very much
Amit Nainawat








On 3/14/07, Allred, Daniel < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 
wrote:

Amit,

So you upgraded U-boot to a new version, from within the U-boot environment, 
but now you can't boot?  Verify your DM6446 is still functional (it should be) 
by switching the EVM to UART boot mode (SW3 1-2 both set to on) and power on 
the board.  On the PC side open a terminal program to verify that you see 
repeated BOOTME messages.  If so, then you'll be able to reflash the U-boot 
using the DVFlasher application available on the DVEVM update site.  The file 
is DVFlasher_1_11.tar.  Directions are included, but note that if your board is 
a revision A board, then you need to make sure that the U-boot you use is 
compiled to run the DSP at 567 MHz and the DDR at 189 MHz.  You might need to 
go into the Platform.s file to restore these old frequency settings.  Those 
settings are no longer used by default since newer versions of the chip have 
been fixed.  The original silicon versions required these non-standard timings 
to function.

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / Emerging End Equipment

________________________________

From: Amit Nainawat [mailto: [EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 11:56 AM
To: Allred, Daniel
Subject: Davinci DVEVM board not responding

 

Dear Daniel,
We were working on the Davinci board, A revision, for upgrading the Linux 
version 2.6.20 that also required (not sure but we did) upgrading the Uboot. We 
have downloaded the ubootupgrade form ( 
https://www-a.ti.com/extranet/cm/product/dvevmsw/dspswext/general/dm644x_dvevm_dvsdk.shtml
 ) site. We did exactly, what was told to do in the u-boot-upgrade.html which 
is available in directory dvevm_1_10. Now the board doesn't connect to the NFS 
host and serial port seems not working. I had read in the u-boot-upgrade.html, 
that if upgrading goes wrong board may not respond and it requires a repair. 
Kindly help what best can be done as soon as possible.
I wish you can find some time for my problem, I am lost, what should I do now? 
Thankyou
Amit Nainawat.

 

 Amit Nainawat

Hardware Engineer

SkemA

Phone: +33 (0) 6 10 71 11 88 

FAX:+33 (0) 3 44 86 39 46

Email: : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

Complete address:  SKEMA - Compiègne (Siège Social, R&D) ( www.skema.fr 
<http://www.skema.fr/> )
Centre de Transfert
66, avenue de Landshut 
BP 50149

COMPIEGNE-60201 

France 

 





On 3/14/07, Allred, Daniel <[EMAIL PROTECTED]> wrote:

You are correct.  That got left over when I modified the file for supporting 
big block devices.  The customer tested it on a big block device so it worked 
fine.

 

Thanks.  It'll be fixed soon.

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / Emerging End Equipment

________________________________

From: Ivan Tonchev [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 2:22 PM
To: Allred, Daniel
Cc: Monk, Roger; Linux DaVinci
Subject: dvflasher_1_11.tar NAND patch

 

Hi Daniel,

I tested dvflasher_1_11.tar. There is a bug:  UBL does not program NAND flash 
correctly.

Here's the patch:

--- ubl/src/nand.c.broken       2007-03-14 21:15:35.000000000 +0200
+++ ubl/src/nand.c      2007-03-14 21:15:35.000000000 +0200
@@ -480,7 +480,6 @@
         }
         else
         {
-               src += gNandInfo.bytesPerPage;
                flash_write_bytes((PNAND_INFO)&gNandInfo, (void*) src, 
gNandInfo.bytesPerPage);
            }
 

Regargs,
Ivan


_______________________________________________
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