Flash Device Driver

3 messages, 3 authors, 2001-03-28 · open the first message on its own page

Flash Device Driver

From: <hidden>
Date: 2001-03-24 01:13:10

 Hello,

 I found Flash Device driver related files in linux-2.4.3-pre3-2001-03-11
 I have Intel TE28F160B3(2MBytes, 16bit port size, bottom boot type) flash memory.

 Question1:
 Can I use my intel flash memory for your flash device driver?
 I got flash vendor id : CFI_VENDOR_INTEL_STANDARD
 so , I modified your code like this.
  } else if ((primary_vendor == CFI_VENDOR_INTEL_SHARP_EXTENDED) ||
           (primary_vendor == CFI_VENDOR_INTEL_STANDARD) ) {
 Is it possible ??

 Question2:
 when kernel booted, I found this messages.
 Found 1x16bit 2MBytes CFI Flash device of type Intel Standard at 0xFFE00000
 registered flash device /dev/flasha (minor 0, 4 partitions)
 and when I got shell prompt. I made like this.
 mknod /dev/flasha c 60 0
 mknod /dev/flasha1 c 60 1
 mknod /dev/flasha2 c 60 2
 mknod /dev/flaaha3 c 60 3
 mknod /dev/flasha4 c 60 4

 I tried like this.
 ls -al >> result.txt
 cat result.txt >> /dev/flasha4
 cat /dev/flasha4
 but I coudn't find my result.txt contents..
 Is it impossible??

 Questions3:
 I read your README but I had a question.
 Where can I find flash_erase ??
 W. Denx wrote flash_erase /dev/flasha start_addr end_addr
 Thanks for any comments and replyings...

 kingseft


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Stability of MontaVista's 2.4.0-test2-1.2.2-1

From: Sébastien Côté <hidden>
Date: 2001-03-28 19:26:57

Hi,

Did anyone have stability problem with MontaVista's kernel
2.4.0=test2-1.2.2-1 ???  I'm running  it on a board similar to Sandpoint
with a 7400 processor and sometimes it crashes because "current->mm ==
NULL" (from do_page_fault).

I'm not using any initrd but a shell (ash) instead.  This seems to
happen when I run a lot of programs in my script.  I also seems to be
related to a synchronisation problem since it gets a lot more stable
when I add "printk"s in the functions switch_mm and activate_mm.

This could also be related to the fact that I'm running in little-endian
but since it only crashes once in a while, I would doubt it!  So I'm a
bit suspicious about this test kernel, did anybody else have problems
with it??

Sébas..

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Stability of MontaVista's 2.4.0-test2-1.2.2-1

From: Mark A. Greer <hidden>
Date: 2001-03-28 21:10:33

That version of the kernel does have problems.  Get the latest linuxppc_2_5
source and try that.  I haven't tested the last couple weeks but before then,
it was very solid.  Sandpoint support is in it.

Mark
--

Sébastien Côté wrote:
Hi,

Did anyone have stability problem with MontaVista's kernel
2.4.0=test2-1.2.2-1 ???  I'm running  it on a board similar to Sandpoint
with a 7400 processor and sometimes it crashes because "current->mm ==
NULL" (from do_page_fault).

I'm not using any initrd but a shell (ash) instead.  This seems to
happen when I run a lot of programs in my script.  I also seems to be
related to a synchronisation problem since it gets a lot more stable
when I add "printk"s in the functions switch_mm and activate_mm.

This could also be related to the fact that I'm running in little-endian
but since it only crashes once in a while, I would doubt it!  So I'm a
bit suspicious about this test kernel, did anybody else have problems
with it??

Sébas..
--
Mark A. Greer (mgreer@mvista.com; 480-517-0287)
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ  85282


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help