public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* RE: Re: How does one mount an existing jffs2 partition so it is   writeable?
@ 2002-08-20 18:18 Christopher Hoover
  2002-08-20 18:42 ` Conn Clark
  0 siblings, 1 reply; 13+ messages in thread
From: Christopher Hoover @ 2002-08-20 18:18 UTC (permalink / raw)
  To: 'Conn Clark', 'MTD Mailing List'

At one point locking and unlocking flash with variable-sized blocks
(such as Intel C3 flash) simply didn't work.  I fixed it -- the correct
code is in CVS and in current 2.4 (after some release I cannot
remember), but the changes unfortunately aren't in 2.5.

Check drivers/mtd/chips/cfi_cmdset_0001.c in your sources.   You should
see a changelog entry from me dated 02/05/2002; if you don't see it, you
don't have the fix.

-ch
ch@murgatroid.com
ch@hpl.hp.com

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Re: How does one mount an existing jffs2 partition so it is  writeable?
@ 2002-08-20  0:25 Christopher Hoover
  2002-08-20 10:21 ` David Woodhouse
  0 siblings, 1 reply; 13+ messages in thread
From: Christopher Hoover @ 2002-08-20  0:25 UTC (permalink / raw)
  To: 'Conn Clark', 'Jörn Engel'
  Cc: 'MTD Mailing List'

Do you need to unlock your flash before you can write to it?  That's not
done automatically by mtd or jffs2.  There's a diff in the ARM patch
system by me that might be applicable.

-ch

^ permalink raw reply	[flat|nested] 13+ messages in thread
* How does one mount an existing jffs2 partition so it is writeable?
@ 2002-08-19 17:34 Conn Clark
  2002-08-19 23:42 ` Jörn Engel
  0 siblings, 1 reply; 13+ messages in thread
From: Conn Clark @ 2002-08-19 17:34 UTC (permalink / raw)
  To: MTD Mailing List

Hi All,

	How does one mount an existing jffs2 partition so it is writeable?
After a reboot I can mount my jffs2 and read from it, but not write to it
I can erase it first and mount it then read and write to it , but then I
lose my info on it which defeats the whole reason for having it.


Here is what I am doing.


[/]# MAKEDEV
[/]# mkdir gpig         
[/]# mount /dev/mtdblock3 /gpig
[/]# cd gpig
[/gpig]# ls
kernel_192e_V0.0.03ps
[/gpig]# cp ../bin/MAKEALL .
cp: ../bin/MAKEALL: No such file or directory
[/gpig]# 
[/gpig]# cp ../bin/MAKEDEV .
Write of 68 bytes at 0x00059a28 failed. returned 0, retlen 0
Not marking the space at 0x00059a28 as dirty because the flash driver returned retlen
zero
cp: ./MAKEDEV: Input/output error
[/gpig]# 
 
What step am I missing?


Thanks in advance

	Conn
-- 

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com

Stock Ticker Symbol				ELST

"clark@esteem.com" Copyright 2000 By Electronic Systems Technology
 This email address may be used to communicate to Conn Clark
 provided it is not being used for advertisement purposes, unless
 prior written consent is given. This email address may not be 
 sold under any circumstances. All other rights reserved.

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

end of thread, other threads:[~2002-08-21  0:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <000001c2489f$bf76d070$7c00000a@SNAGGLE>
2002-08-21  0:15 ` How does one mount an existing jffs2 partition so it is writeable? Conn Clark
2002-08-20 18:18 Christopher Hoover
2002-08-20 18:42 ` Conn Clark
2002-08-20 21:50   ` Christopher Hoover
  -- strict thread matches above, loose matches on Subject: below --
2002-08-20  0:25 Christopher Hoover
2002-08-20 10:21 ` David Woodhouse
2002-08-20 12:12   ` Jamey Hicks
2002-08-20 12:19     ` David Woodhouse
2002-08-20 13:12       ` Jörn Engel
2002-08-20 16:34     ` Christopher Hoover
2002-08-20 19:24       ` Jörn Engel
2002-08-20 21:45         ` Christopher Hoover
2002-08-20 21:46           ` David Woodhouse
2002-08-19 17:34 Conn Clark
2002-08-19 23:42 ` Jörn Engel

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