public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* why the kernel doesnt work
@ 2002-03-13  9:25 Jim Zeus
  2002-03-13  9:28 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Zeus @ 2002-03-13  9:25 UTC (permalink / raw)
  To: David  Woodhouse, David  Woodhouse; +Cc: all in MTD mailinglist

HI , David 
 
I am trying to add a intel 28f128 strataflash to perseus borad 
I think what I should do is just to:
1.create a file named perseus-flash.c in /drivers/mtd/maps based on physmap
2.modify the Config.in and Makefile in the same directory
3.set the configuration and remake the kernel image to restart

is that right? and if it is,what should happen or how can i check whether the flash works well.

thanks

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Run a small business? Then you need professional email like you@yourbiz.com from Everyone.net  http://www.everyone.net?tag

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

* Re: why the kernel doesnt work
  2002-03-13  9:25 Jim Zeus
@ 2002-03-13  9:28 ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2002-03-13  9:28 UTC (permalink / raw)
  To: zeusj; +Cc: all in MTD mailinglist

zeusj@firstlinux.net said:
> I am trying to add a intel 28f128 strataflash to perseus borad 
> I think what I should do is just to:
> 1.create a file named perseus-flash.c in /drivers/mtd/maps based on physmap
> 2.modify the Config.in and Makefile in the same directory
> 3.set the configuration and remake the kernel image to restart

> is that right? and if it is,what should happen or how can i check 
> whether the flash works well.

That's right. You should see happy messages when it detects the flash, and 
an appropriate entry in /proc/mtd.

--
dwmw2

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

* Re: why the kernel doesnt work
@ 2002-03-14  4:16 Jim Zeus
  2002-03-14  7:43 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Zeus @ 2002-03-14  4:16 UTC (permalink / raw)
  To: David Woodhouse; +Cc: all in MTD mailinglist

thank you for your reply , David , I've got the appropriate entry in /proc/mtd
and I make the device file with "mknod /dev/mtdblock0 b 31 0",
but when I try to mount jffs on it, it appears wrong 
message"no such device", what'wrong with it?

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Run a small business? Then you need professional email like you@yourbiz.com from Everyone.net  http://www.everyone.net?tag

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

* Re: why the kernel doesnt work
  2002-03-14  4:16 why the kernel doesnt work Jim Zeus
@ 2002-03-14  7:43 ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2002-03-14  7:43 UTC (permalink / raw)
  To: zeusj; +Cc: all in MTD mailinglist

zeusj@firstlinux.net said:
> thank you for your reply , David , I've got the appropriate entry in /
> proc/mtd and I make the device file with "mknod /dev/mtdblock0 b 31
> 0", but when I try to mount jffs on it, it appears wrong  message"no
> such device", what'wrong with it?

In the 2.4 kernel, you also need CONFIG_MTD_BLOCK defined so the fake 
blockdevice driver is included. (This is about to be fixed in 2.5, but that 
won't be backported to 2.4).


--
dwmw2

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

end of thread, other threads:[~2002-03-14  7:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14  4:16 why the kernel doesnt work Jim Zeus
2002-03-14  7:43 ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2002-03-13  9:25 Jim Zeus
2002-03-13  9:28 ` David Woodhouse

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