Kim,

You should use mtd2 partition of cause. There is an error in spraaa0
AppNote.
And not ftl_format, it is not so good for the NAND, better use
flash_eraseall.
But better to do it by the u-boot:
 tftp 0x85000000 uImage
 nand erase 0x60000 0x400000
 nand write 0x85000000 0x60000 <uImage size>

 to load the kernel just use: nboot 0x80700000;bootm 

BR,
Maxim Shabrov
------
Odin TeleSystem Inc., Russian Office.
web:     www.odints.com
ICQ#    10139715
Skype: Maxim_Shabrov
 
 

> -----Original Message-----
> From: Kim Klaiman [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 11, 2007 10:38 PM
> To: Maupin, Chase; [email protected]
> Subject: RE: Booting DaVinci EVM from NAND Flash
> 
> Thanks Chase,
> 
> I have now U-Boot on my NAND, I can boot the kernel from nfs. 
> Now I'm trying to write the kernel to NAND flash following 
> spraaa0 and I have some troubles doing it.
> When I try " ftl_format /dev/mtd0" I get "open failed: 
> Permission denied".
> Actually, formatting /dev/mtd0 doesn't make sense to me, 
> since this partition is reserved for the bootloader, isn't it?
> 
> 
> -----Original Message-----
> From: Maupin, Chase [mailto:[EMAIL PROTECTED]
> Sent: September 11, 2007 11:14 AM
> To: Kim Klaiman; [email protected]
> Subject: RE: Booting DaVinci EVM from NAND Flash
> 
> Kim,
> 
> The safest thing to do is to set the S3 switch to 1100111110 
> which is UART mode.  In this way the board will not boot 
> anything that you might already have in the NAND flash.  
> After you flash the board you should power it off and reset 
> the S3 switch to 0000111110 to NAND boot.  Also make sure 
> that your J4 jumper is set to NAND.  Please let me know if 
> you need additional information.
> 
> Sincerely,
> Chase Maupin
> Software Applications
> Catalog DSP Products
> e-mail: [EMAIL PROTECTED]
> phone: (281) 274-3285
> -----Original Message-----
> From: Kim Klaiman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 11, 2007 8:30 AM
> To: Maupin, Chase; [email protected]
> Subject: RE: Booting DaVinci EVM from NAND Flash
> 
> Thank you very much Chase,
> 
> It took some time, but now I have all those programs.
> I have another question regarding the loading process.
> Spraaa0 says on page 3 
> (http://focus.ti.com/lit/an/spraaa0/spraaa0.pdf):
> 
> "Set S3 red switch (circled in green in Figure 1) to 0000111110"
> 
> But there is another document -
> http://c6000.spectrumdigital.com/davincievm/revd/files/How_to_
> Flash_U-Bo
> ot_on_DaVinci_EVM.pdf which says on page 5:
> "Make sure the red S3 switch DIP positions 1 and 2 are set to ON"
> 
> So which one is correct?
> 
> Thanks again,
> Kim
> 
> 
> -----Original Message-----
> From: Maupin, Chase [mailto:[EMAIL PROTECTED]
> Sent: September 10, 2007 11:10 AM
> To: Kim Klaiman; [email protected]
> Subject: RE: Booting DaVinci EVM from NAND Flash
> 
> Kim,
> 
> You can find all three of these programs by going to 
> www.ti.com/dvevmupdates.  Create an account if you have not 
> already done so and log in.  From the main page select the 
> DM644x DVEVM section.  In the miscellaneous Components 
> section at the bottom of the page there is a package called 
> "restore_1_20_00_10.tar.gz".  If you download this package 
> and extract it there will be another .tar.gz package inside 
> called Release_BinaryPackage.tar.gz.  If you unpack that 
> package inside are the flashwriter, ubl, and u-boot images 
> you are looking for.
> 
> You can also use the address below.  This should take you 
> directly to the restore package mentioned above.
> 
> https://www-a.ti.com/extranet/cm/product/dvevmsw/dspswext/down
> load/resto
> re_1_20_00_10.tar.gz
> 
> 
> Sincerely,
> Chase Maupin
> Software Applications
> Catalog DSP Products
> e-mail: [EMAIL PROTECTED]
> phone: (281) 274-3285
> 
> -----Original Message-----
> From:
> [EMAIL PROTECTED]
> vincidsp.c
> om
> [mailto:davinci-linux-open-source-bounces+chase.maupin=ti.com@
> linux.davi
> ncidsp.com] On Behalf Of Kim Klaiman
> Sent: Monday, September 10, 2007 9:57 AM
> To: [email protected]
> Subject: Booting DaVinci EVM from NAND Flash
> 
> Hello all,
> 
> "Booting DaVinci EVM from NAND Flash" (SPRAAA0) document 
> requires ubl_nand.bin (14 KB first stage boot-loader), 
> u-boot-567-nand.bin (second stage boot loader) and 
> flashwriter_nand.out CCS program.
> 
> Where can I get those programs?
> 
> Thanks,
> Kim Klaiman
> _______________________________________________
> 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