Dirk and Ivan,
  Being a newbie to linux and u-boot, and having discovered, actually
been directed to this list, belatedly, I am sure I have not done things
in the most efficient method.
I started with u-boot-1.1.3.  After a lot of thrashing, I am now able to
write the UBL and U-boot to nand flash using the HW_ECC and at this
point I use software ECC for everything else.
I am able to flash the kernel and get it to boot with an nfs mount.  I
have so far been unable to get a usable filesystem written to nand.  I
have recompiled the kernel with ATA support off and
the NADN flash options set to Verify Nand Page Writes, Nand Flash device
on Davinci Soc and Hardware Ecc support.  I have tried both NFTL and FTL
support both on and off. When I nfs boot from this image, the kernel
apparently sees my nand as is evidenced by the following in the
bootlog...
 
NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB
1,8V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "nand_davinci.0":
0x00000000-0x00040000 : "bootloader"
0x00040000-0x00060000 : "params"
0x00060000-0x00460000 : "kernel"
0x00460000-0x04000000 : "filesystem"
nand_davinci: hardware revision: 2.1

My plan was to try an ftl_format on /dev/mtd3 and then to write the fs
using nandwrite... sort of along the lines of spraaa0
 
However, I don't seem to have either ftl_format or nandwrite available
from the kernel.  Also if I try doing a mount -l
I get a bunch of Buffer I/O errors on the 4 NAND partitions...
 
  Any suggestions.
  Thanks.
-Scott


Confidentiality Notice:
The information contained in this transmission is legally
privileged and confidential, intended only for the use of the
individual(s) or entities named above. This email and any files
transmitted with it are the property of Pelco. 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 review, disclosure, copying,
distribution, retention, or any action taken or omitted to be taken
in reliance on it is prohibited and may be unlawful. If you receive
this communication in error, please notify us immediately by
telephone call to +1-559-292-1981 or forward the e-mail to
[EMAIL PROTECTED] and then permanently delete the e-mail and
destroy all soft and hard copies of the message and any
attachments. Thank you for your cooperation.
_______________________________________________
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