Please mark the list, so that other people who are facing similar issues are 
benefitted.

Enable the "NAND flash device on DaVinci SoC" along with "MTD partitioning 
support", "Direct char device access to MTD devices" and "Caching block device 
access to MTD devices" to see the partitions while booting.

Regards, Sudhakar
________________________________
From: kirthika varadarajan [[email protected]]
Sent: Monday, February 02, 2009 5:02 PM
To: Rajashekhara, Sudhakar
Subject: Re: Flash file system in DM6467 and flash partition

Nand Device Support is already enabled in make menuconfig.

Nand flash device on Davinci SoC is disabled


But i am not able to see the nand partition in while booting DM6467

On 2/2/09, Rajashekhara, Sudhakar 
<[email protected]<mailto:[email protected]>> wrote:
Make sure that you have selected the NAND support for DM6467 from menuconfig. 
What I have seen is, if the support is enabled in the menuconfig, the device 
nodes get created automatically.

Regards, Sudhakar
________________________________
From: 
[email protected]<mailto:[email protected]>
 
[[email protected]<mailto:[email protected]>]
 On Behalf Of kirthika varadarajan 
[[email protected]<mailto:[email protected]>]
Sent: Monday, February 02, 2009 4:03 PM
To: 
[email protected]<mailto:[email protected]>
Subject: Flash file system in DM6467 and flash partition


I hv a small query regarding file system in DM6467.
I am booting the device using NFS file system.
I hv mounted ramdisk in /home/user/workdir/filesys.

I need to create a file system on flash memory in order to write the 
configuration information of camera.

when i give cat /proc/mtd
[email protected]:/opt/dvsdk_dm6467<mailto:[email protected]:/opt/dvsdk_dm6467>#
 cat /proc/mtd

I get only this

dev:    size   erasesize  name

no other mtd devices found.

If I create mtd block device using the command

In target device:

mknod /dev/mtd0 c 90 0
mknod /dev/mtd1 c 90 2
mknod /dev/mtdblock0 c 31 0
mknod /dev/mtdblock1 c 31 1

mkdir  /mnt/flash0
mkdir  /mnt/flash1

mount -t yaffs /dev/mtdblock0 /mnt/flash0
mount -t yaffs /dev/mtdblock1 /mnt/flash1


Every time i get

/dev/mtdblock0 is not blockdevice

Similarly
/dev/mtdblock1 is not blockdevice

I am not able to create file system in flash

Do i hv to create YAFFS file system and other partitions in NAND flash of 
DM6467 or the partition is already created for bootloader,kernel,ramdisk etc...



Suggest me






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

Reply via email to