From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qnap.com.tw (unknown [211.75.85.27]) by ozlabs.org (Postfix) with SMTP id 6508167F88 for ; Wed, 24 Aug 2005 15:03:04 +1000 (EST) From: "JohnsonCheng" To: "'Ricardo Scop'" , "'Robert P. J. Day'" Date: Wed, 24 Aug 2005 13:02:31 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <200508231616.46897.scop@digitel.com.br> Message-Id: <20050824050304.6508167F88@ozlabs.org> Cc: linuxppc-embedded@ozlabs.org Subject: RE: Linux Kernel MTD question List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: linuxppc-embedded-bounces@ozlabs.org [mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of Ricardo Scop Sent: Wednesday, August 24, 2005 3:17 AM To: JohnsonCheng; 'Robert P. J. Day' Cc: linuxppc-embedded@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@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded