public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Is this correct ?
@ 2003-06-12 15:43 Frank R Callaghan
  2003-06-12 19:57 ` Frank R Callaghan
  0 siblings, 1 reply; 2+ messages in thread
From: Frank R Callaghan @ 2003-06-12 15:43 UTC (permalink / raw)
  To: linux-mtd

Hi,

Is this output indicating an error codition ?


# /sbin/erase /dev/mtd0
MTD_open
Erase Total 1 UnMTD_ioctl
its
MTD_ioctl
Performing FlasMTD_ioctl
h Erase of lengtMTD do_erase_oneblock(): ERASE 0x00000000
h 65536 at offseMTD do_erase_oneblock(): Check 0x00000044 0x00000004
t 0x0MTD do_erase_oneblock(): Check 0x0000004c 0x0000000c
MTD do_erase_oneblock(): Check 0x0000005c 0x0000001c
MTD do_erase_oneblock(): Check 0x0000005c 0x0000001c
MTD do_erase_oneblock(): Check 0x00000058 0x0000001c
MTD do_erase_oneblock(): Check 0x0000005c 0x0000001c
MTD do_erase_oneblock(): Check 0x0000005c 0x0000001c
MTD do_erase_oneblock(): Check 0x00000058 0x0000001c
MTD do_erase_oneblock(): Check 0x00000058 0x0000001c
MTD do_erase_oneblock(): Check 0x000000ff 0x000000ff
MTD do_erase_oneblock(): Check 0x000000ff 0x000000ff
MTD do_erase_oneblock(): Check 0x000000ff 0x000000ff
 doneMTD_close

I did a 'mount -t jffs2 /dev/mdtblock2 /mnt/ffs2' that went away for
a very long time <more that miniutes> but the next day it was mounted, I
could even create a file on it - which cat'ed ok.

Any help please ?

 If I can get this working I will submit the info back to the card
 manufacture so they can add it to there linux/sbc docs.

TIA,
	Frank.

ps. Thanks Jörn CONFIG_MTD_CHAR = yes fixed my last problem

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is this correct ?
  2003-06-12 15:43 Is this correct ? Frank R Callaghan
@ 2003-06-12 19:57 ` Frank R Callaghan
  0 siblings, 0 replies; 2+ messages in thread
From: Frank R Callaghan @ 2003-06-12 19:57 UTC (permalink / raw)
  To: linux-mtd

More information !

When copying a jffs2 filesystem to the device I get the
following ioctl error

# cp /myapp/jffs2_file_sys.img /dev/mtd0
MTD_open
MTD_ioctl
Invalid ioctl 5401 (MEMGETINFO = 80204d01)
MTD_write
MTD_close
#
# mount -t jffs2 /dev/mtdblock0 /var/fixed_flash/
mtdblock_open
ok

<wait forever>

What can I do to find the problem ?

-------------------------
kernel 2.4.19 +
uClibc.0.9.19 +
rtai-24.1.11 +
mtd from CVS (today)
-------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-12 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-12 15:43 Is this correct ? Frank R Callaghan
2003-06-12 19:57 ` Frank R Callaghan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox