Dear Ricardo and Wolfgang, Very thanks for your kindly support. I am sorry I made a mistake. Before you mount /dev/mtdblock4, you have to use mke2fs to format it. Now I think my MTD function is almost ready, except write. When I run "dd if=/dev/mtd1 of=kernel.img", it's OK. But when I run "dd if=kernel.img of=/dev/mtd1", it's failed. No error message printed, and the process time is shortly, cause Bad CRC.
Thanks, Johnson Cheng -----Original Message----- From: [EMAIL PROTECTED] [mailto:linuxppc-embedded-bounces at ozlabs.org] On Behalf Of Ricardo Scop Sent: Wednesday, August 24, 2005 3:17 AM To: JohnsonCheng; 'Robert P. J. Day' Cc: linuxppc-embedded at ozlabs.org Subject: Re: Linux Kernel MTD question Hi Johnson, On Tuesday 23 August 2005 02:31, JohnsonCheng wrote: > It doesn't work, too. > Error message: Invalid argument. Well, do you have an mtdblock4 entry in /dev? Also, you should specify your filesystem type to mount, like in: mount -t jffs2 /dev/mtdblock4 /mnt BTW, -t jffs2 is just an example. HTH, -Scop. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded