public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Frank R Callaghan <f.callaghan@ieee.org>
To: linux-mtd@lists.infradead.org
Subject: Help with mtd + jffs2
Date: Wed, 11 Jun 2003 14:38:52 -0400	[thread overview]
Message-ID: <200306111438.52353.f.callaghan@ieee.org> (raw)

Hi,

I have been trying to get the mtd driver working with the flash
device on the TS-5300 card - all seemed to be going well :=

$Id: ftl.c,v 1.50 2003/05/21 10:49:47 dwmw2 Exp $
physmap flash device: 200000 at 9400000
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
kmod: failed to exec /sbin/modprobe -s -k cmdlinepart, errno = 2
cmdlinepart partition parsing not available
kmod: failed to exec /sbin/modprobe -s -k RedBoot, errno = 2
RedBoot partition parsing not available
Using physmap partition definition
Creating 3 MTD partitions on "Physically mapped flash":
0x00000000-0x000e0000 : "BOOT FIRMWARE"
mtd: Giving out device 0 to BOOT FIRMWARE
ftl_cs: FTL header not found.
0x000e0000-0x00100000 : "BIOS-DO_NOT_TOUCH"
mtd: Giving out device 1 to BIOS-DO_NOT_TOUCH
ftl_cs: FTL header not found.
0x00100000-0x00200000 : "PNC-2000 filesystem"
mtd: Giving out device 2 to PNC-2000 filesystem
ftl_cs: FTL header not found.

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000e0000 00010000 "BOOT FIRMWARE"
mtd1: 00020000 00010000 "BIOS-DO_NOT_TOUCH"
mtd2: 00100000 00010000 "PNC-2000 filesystem"

But then I tryed to put the jffs2 file system image onto
the device :=

# cp /myapp/jffs2_file_sys.img /dev/mtd0
cp: unable to open `/dev/mtd0': No such device
#

but I have the device !
# ls -al /dev/mtd?
crw-------    1 root     root      90,   0 Jan  1  1970 /dev/mtd0
crw-------    1 root     root      90,   2 Jan  1  1970 /dev/mtd1
crw-------    1 root     root      90,   4 Jan  1  1970 /dev/mtd2
crw-------    1 root     root      90,   6 Jan  1  1970 /dev/mtd3
crw-------    1 root     root      90,   8 Jan  1  1970 /dev/mtd4

So Close but, So Far ;(

Can anyone suggest what I may have cocked-up ?
Where I can go from here - be nice ;)

TIA,
	Frank. 

             reply	other threads:[~2003-06-11 18:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 18:38 Frank R Callaghan [this message]
2003-06-11 19:06 ` Help with mtd + jffs2 Jörn Engel

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=200306111438.52353.f.callaghan@ieee.org \
    --to=f.callaghan@ieee.org \
    --cc=linux-mtd@lists.infradead.org \
    /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