linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "JohnsonCheng" <johnsoncheng@qnap.com.tw>
To: "'Ricardo Scop'" <scop@digitel.com.br>,
	"'Robert P. J. Day'" <rpjday@mindspring.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: Linux Kernel MTD question
Date: Wed, 24 Aug 2005 13:02:31 +0800	[thread overview]
Message-ID: <20050824050304.6508167F88@ozlabs.org> (raw)
In-Reply-To: <200508231616.46897.scop@digitel.com.br>

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

  reply	other threads:[~2005-08-24  5:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050822104924.214ED429CB@denx.de>
2005-08-22 13:07 ` Linux Kernel MTD question Wolfgang Denk
2005-08-23  3:12   ` JohnsonCheng
2005-08-23  3:24     ` Robert P. J. Day
2005-08-23  5:31       ` JohnsonCheng
2005-08-23 19:16         ` Ricardo Scop
2005-08-24  5:02           ` JohnsonCheng [this message]
2005-08-24  8:49             ` Alex Zeffertt
2005-08-25  2:59               ` JohnsonCheng
2005-08-23  5:26   ` JohnsonCheng
     [not found] <20050823053053.67D1A42AFE@denx.de>
2005-08-23  8:59 ` Wolfgang Denk
     [not found] <20050822030032.4917442C7E@denx.de>
2005-08-22  8:17 ` Wolfgang Denk
2005-08-22 10:46   ` JohnsonCheng
2005-08-21  8:02 JohnsonCheng
2005-08-21 20:58 ` Wolfgang Denk
2005-08-22  2:56   ` JohnsonCheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050824050304.6508167F88@ozlabs.org \
    --to=johnsoncheng@qnap.com.tw \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=rpjday@mindspring.com \
    --cc=scop@digitel.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).