Hello All ,

We developed a custom board base on dm355 evm board. We used the nand flash 
(HY27UF(08_16)4G2B 4G-bit(512M), pagesize = 2K, eraseblocksize = 128K,). We can 
put the kernel image to the nand flash successfully. 

We got the linux nand partitions as below:

nand_davinci nand_davinci.0: Using 4-bit hardware ECC

NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)

Bad block table not found for chip 0

Bad block table not found for chip 0

Scanning device for bad blocks

Creating 5 MTD partitions on "nand_davinci.0":

0x00000000-0x00060000 : "bootloader"

0x00060000-0x00200000 : "params"

0x00200000-0x00400000 : "kernel"

0x00400000-0x01800000 : "filesystem"

0x01800000-0x20000000 : "data"

When we used ‘mount –t jffs2 /dev/mtdblock3 /mnt/nand’, we got error as below :

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01100000: 0xff00 
instead

Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes

empty_blocks 239, bad_blocks 0, c->nr_blocks 240

mount: /dev/mtdblock4: can't read superblock

After we used ‘mount –t yaffs2 /dev/mtdblock3 /mnt/nand’,  we copied a file 
into /mnt/nand and umount /mnt/nand, when we run ‘mount –t yaffs2 
/dev/mtdblock3 /mnt/nand’ again, we can not see copied file before and we can 
not see anything in mtdblock3 except that ‘lost+found’. 

Your much help is appreciated. Thanks in advance.

Regards,

Jeff


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

Reply via email to