Hi,
When you said that the flash isn't really booting u-boot what do you see. I've 
tried to boot with an erased Flash and the DS22 LED was blinking slowly (DS22 
is the GPIO16, see the ARM subsystem reference guide : SPRUFB3 document)
I don't remember having given an address for the UBL. For u-boot, as it 
written in the readme.txt of the DM355 Flash and boot utils  :
"
2) Flash the NAND with a UBL and u-boot image

        sfh_DM35x.exe -nandflash  <UBL binary file> <binary application file>

The entry point of the UBL is assumed to be 0x0100, but this can be changed by 
using
the -UBLStartAddr option.  The entry point and load address of the application 
default
to 0x81080000 (u-boot defaults).  To change these values, use 
the -APPStartAddr and
-APPLoadAddr option.

"

Below are the complete sfh tool logs.
"
/opt/DM35x_FlashAndBootUtils_1_10/DM35x/GNU$ mono 
sfh_DM35x.exe -p /dev/ttyS0 -nandflash ./ubl/ubl_DM35x_nand.bin 
~/temp/u-boot/u-boot-1.2.0-dm355_evm.bin



-----------------------------------------------------
   TI Serial Flasher Host Program for DM35x
   (C) 2008, Texas Instruments, Inc.
   Ver. 1.10
-----------------------------------------------------


Flashing NAND with ./ubl/ubl_DM35x_nand.bin 
and /home/eric/temp/u-boot/u-boot-1.2.0-dm355_evm.bin.


Attempting to connect to device /dev/ttyS0...
Press any key to end this program at any time.


Waiting for the DM35x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
Target:  BEGIN
BEGIN commmand received. Sending CRC table...
CRC table sent.  Waiting for DONE...
DONE received.  Sending the UBL...
DONE received.  UBL was accepted.
UBL transmitted successfully.

Target:Chip initialization passed!
Target:TI SFT Version: 1.10
Target:Booting Catalog Boot Loader
Target:BootMode = UART

Waiting for SFT on the DM35x...
Target:Starting UART Boot...
Target:BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent.  Waiting for DONE...
Target:   DONE
DONE received. Command was accepted.
Sending the UBL image
Waiting for SENDIMG sequence...
SENDIMG received. Returning ACK and header for image data...
ACK command sent. Waiting for BEGIN command...
BEGIN commmand received. Sending the image data...
Image data sent.  Waiting for DONE...
DONE received.  All bytes of image data received...
Target:Writing UBL to NAND flash
Target:Number of blocks needed for header and data: 0x0x00000001
Target:Attempting to start in block number 0x0x00000001.
Target:Unprotecting blocks 0x00000001 through 0x00000001.
Target:Erasing block 0x00000001 through 0x00000001.
Target:Writing header data to Block 0x00000001, Page 0x00000000
Target:Writing image data to Block 0x00000001, Page 0x00000001
Target:Writing image data to Block 0x00000001, Page 0x00000002
Target:Writing image data to Block 0x00000001, Page 0x00000003
Target:Writing image data to Block 0x00000001, Page 0x00000004
Target:Writing image data to Block 0x00000001, Page 0x00000005
Target:Writing image data to Block 0x00000001, Page 0x00000006
Target:Writing image data to Block 0x00000001, Page 0x00000007
Target:Protecting the entire NAND flash.
Target:   DONE
Sending the Application image
Waiting for SENDIMG sequence...
SENDIMG received. Returning ACK and header for image data...
ACK command sent. Waiting for BEGIN command...
BEGIN commmand received. Sending the image data...
Image data sent.  Waiting for DONE...
DONE received.  All bytes of image data received...
Target:Writing APP to NAND flash
Target:Number of blocks needed for header and data: 0x0x00000001
Target:Attempting to start in block number 0x0x00000019.
Target:Unprotecting blocks 0x00000019 through 0x00000019.
Target:Erasing block 0x00000019 through 0x00000019.
Target:Writing header data to Block 0x00000019, Page 0x00000000
Target:Writing image data to Block 0x00000019, Page 0x00000001
Target:Writing image data to Block 0x00000019, Page 0x00000002
Target:Writing image data to Block 0x00000019, Page 0x00000003
Target:Writing image data to Block 0x00000019, Page 0x00000004
Target:Writing image data to Block 0x00000019, Page 0x00000005
Target:Writing image data to Block 0x00000019, Page 0x00000006
Target:Writing image data to Block 0x00000019, Page 0x00000007
Target:Writing image data to Block 0x00000019, Page 0x00000008
Target:Writing image data to Block 0x00000019, Page 0x00000009
Target:Writing image data to Block 0x00000019, Page 0x0000000A
Target:Writing image data to Block 0x00000019, Page 0x0000000B
Target:Writing image data to Block 0x00000019, Page 0x0000000C
Target:Writing image data to Block 0x00000019, Page 0x0000000D
Target:Writing image data to Block 0x00000019, Page 0x0000000E
Target:Writing image data to Block 0x00000019, Page 0x0000000F
Target:Writing image data to Block 0x00000019, Page 0x00000010
Target:Writing image data to Block 0x00000019, Page 0x00000011
Target:Writing image data to Block 0x00000019, Page 0x00000012
Target:Writing image data to Block 0x00000019, Page 0x00000013
Target:Writing image data to Block 0x00000019, Page 0x00000014
Target:Writing image data to Block 0x00000019, Page 0x00000015
Target:Writing image data to Block 0x00000019, Page 0x00000016
Target:Writing image data to Block 0x00000019, Page 0x00000017
Target:Writing image data to Block 0x00000019, Page 0x00000018
Target:Writing image data to Block 0x00000019, Page 0x00000019
Target:Writing image data to Block 0x00000019, Page 0x0000001A
Target:Writing image data to Block 0x00000019, Page 0x0000001B
Target:Writing image data to Block 0x00000019, Page 0x0000001C
Target:Writing image data to Block 0x00000019, Page 0x0000001D
Target:Writing image data to Block 0x00000019, Page 0x0000001E
Target:Writing image data to Block 0x00000019, Page 0x0000001F
Target:Writing image data to Block 0x00000019, Page 0x00000020
Target:Writing image data to Block 0x00000019, Page 0x00000021
Target:Writing image data to Block 0x00000019, Page 0x00000022
Target:Writing image data to Block 0x00000019, Page 0x00000023
Target:Writing image data to Block 0x00000019, Page 0x00000024
Target:Writing image data to Block 0x00000019, Page 0x00000025
Target:Writing image data to Block 0x00000019, Page 0x00000026
Target:Writing image data to Block 0x00000019, Page 0x00000027
Target:Writing image data to Block 0x00000019, Page 0x00000028
Target:Writing image data to Block 0x00000019, Page 0x00000029
Target:Writing image data to Block 0x00000019, Page 0x0000002A
Target:Writing image data to Block 0x00000019, Page 0x0000002B
Target:Writing image data to Block 0x00000019, Page 0x0000002C
Target:Writing image data to Block 0x00000019, Page 0x0000002D
Target:Writing image data to Block 0x00000019, Page 0x0000002E
Target:Writing image data to Block 0x00000019, Page 0x0000002F
Target:Writing image data to Block 0x00000019, Page 0x00000030
Target:Writing image data to Block 0x00000019, Page 0x00000031
Target:Writing image data to Block 0x00000019, Page 0x00000032
Target:Writing image data to Block 0x00000019, Page 0x00000033
Target:Writing image data to Block 0x00000019, Page 0x00000034
Target:Writing image data to Block 0x00000019, Page 0x00000035
Target:Writing image data to Block 0x00000019, Page 0x00000036
Target:Writing image data to Block 0x00000019, Page 0x00000037
Target:Writing image data to Block 0x00000019, Page 0x00000038
Target:Writing image data to Block 0x00000019, Page 0x00000039
Target:Writing image data to Block 0x00000019, Page 0x0000003A
Target:Writing image data to Block 0x00000019, Page 0x0000003B
Target:Protecting the entire NAND flash.
Target:   DONE
Target:   DONE

Operation completed successfully.
"

Eric.

Le Wednesday 10 December 2008 00:50:44 Neerav Patel, vous avez écrit :
> Hi,
>
> So I managed to get it to send data and write to flash, but now the flash
> isn't really booting into the U-Boot prompt.  What address should the UBL
> and U-Boot be written to, in the flash?
>
> Thanks in advance.
>
> Neerav
>
> -----Original Message-----
> From: Neerav Patel
> Sent: Tuesday, December 09, 2008 9:13 AM
> To: 'Griffis, Brad'; davinci-linux-open-source@linux.davincidsp.com
> Subject: RE: serial updating question
>
>
> Hi,
>
> I am using Linux and everything is installed, including mono.  I can run
> the program and everything, it just stops at "Sending UBL..."
>
> Neerav
>
> -----Original Message-----
> From: Griffis, Brad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 09, 2008 6:55 AM
> To: Neerav Patel; davinci-linux-open-source@linux.davincidsp.com
> Subject: RE: serial updating question
>
> If you're using Windows, do you have .Net Framework 2.0 installed?  If
> you're using Linux did you install mono?
>
> Brad
>
> > -----Original Message-----
> > From: Neerav Patel [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 08, 2008 4:43 PM
> > To: Griffis, Brad; davinci-linux-open-source@linux.davincidsp.com
> > Subject: RE: serial updating question
> >
> >
> > Hi,
> >
> > When I check the UART, it is constantly sending out a BOOTME command.
> > When I tried sending the sfh command out again it went through but then
> > stopped at "Sending the UBL..."  Do I have to do something else?
> >
> > Thanks
> >
> > Neerav
> >
> >
> > -----Original Message-----
> > From: Griffis, Brad [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 08, 2008 1:28 PM
> > To: Neerav Patel; davinci-linux-open-source@linux.davincidsp.com
> > Subject: RE: serial updating question
> >
> > Is your board setup for UART boot such that it's spewing out "BOOTME"? 
> > If not, there's no way for the utility to download itself to the device.
> >
> > Brad
> >
> > ________________________________________
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Neerav Patel
> > Sent: Monday, December 08, 2008 2:39 PM
> > To: davinci-linux-open-source@linux.davincidsp.com
> > Subject: serial updating question
> >
> > Hi,
> >
> > I recently got some new NAND Flash for the DM355 EVM.  I want to download
> > Montavista image that I compiled on the host side using the Getting
> > Started Guide.  I was told to use this
> > http://wiki.davincidsp.com/index.php?title=Serial_Boot_and_Flash_Loading_
> >U tility utility, so I compiled this and ran it, and no matter what I do
> > it stops at "Waiting for the DM35x.".  The simple command that I typed in
> > the shell was "mono sfh_DM35x.exe -nanderase"
> >
> > I tried to use the command that will allow me to download the image to
> > the flash, but that did the same thing?
> >
> > Any help would be greatly appreciated!
> >
> > Neerav
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to