Hi Guys,

Thnaks for the support. I have solved this issue. The problem was in the FPGA logic which was enabling/disabling the CE0/1 signals for NAND devices. Ideally for NAND-1 CE0 and NAND-2 CE1 should be high which was swapped in my FPGA code. I concluded this by probing the CE0/1 signals on the scope. I fixed this swapping error in FPGA code and everything is working well now!!!

Once again thanks a tone for all of your support!!!

--
Regards,
Krunal


On 06/18/2010 12:46 PM, Krunal Patil wrote:
Hi,

I tried using second approach but I am not able to access 2nd nand chip from the UBoot. When I execute command "nand dump 0x40000000" from the Uboot I am getting error "Error (-22) reading page 40000000". It works well till address 0x3fffffff (1GB).


--
Regards,
Krunal


On 06/18/2010 03:20 AM, Jon Povey wrote:
Steve Poulsen wrote:
1) Use hexdump to view the first bit of the bootloader and note the
data values. 2) Load a filesystem into filesystem2.
3) Use hexdump to view the first bit of the bootloader and note the
changes. 4) hexdump filesystem2 and search for the pattern.  ( you
might dump it to NFS filesystem for easier searching)
Good suggestions - Krunal note if you try this first one, you may have to write 
a lot of data to filesystem2 before you see it overwrite the bootloader.

If it's completely erased then writing about 512MB (0x20000000) should cross 
into the second chip select. But wear levelling abstration layers may move 
things around or leave gaps.

I would try Steve's u-boot approach:

1) In u-boot, use the nand commands to erase, write, and dump.  You
should be able to narrow it down to "writing to block N causes block
M to also change".
--
Jon Povey
[email protected]

Racelogic is a limited company registered in England. Registered number 2743719 
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .

The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network




Email Scanned for Virus&  Dangerous Content by :www.CleanMailGateway.com

____________________________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it are 
intended solely for the use of the addressee and may contain legally privileged 
and confidential information. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution, copying, or other use of this message or its attachments is 
strictly prohibited. If you have received this message in error, please notify 
the sender immediately by replying to this message and please delete it from 
your computer. Any views expressed in this message are those of the individual 
sender unless otherwise stated.Company has taken enough precautions to prevent 
the spread of viruses. However the company accepts no liability for any damage 
caused by any virus transmitted by this email.
____________________________________________________________________________________

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

Reply via email to