* mtd_open errors
@ 2005-03-25 10:47 S. van Beek
2005-03-25 11:00 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: S. van Beek @ 2005-03-25 10:47 UTC (permalink / raw)
To: linux-mtd
Hello,
Im using flash memory on a memec virtex II pro vp7 design board with
communications 2 module. I'm running Linux kernel 2.4.20 from Montavista
with mtd support compiled in the kernel. I have debugging set to 3.
I see the mtd partitions being created during boot and also my /proc/mtd
looks good.
But when I try to do anything with the devices I get errors:
# flash_unlock /dev/mtd/1
MTD_open
Could not open mtd device: /dev/mtd/1
# ftl_format /dev/mtd/1
MTD_open
open failed: Permission denied
My first partition is flagged read only in the partitions struct, the second
has no flags set so should be writeable?
I could use some clues on what could be wrong.
Kindest regards
Sander van Beek
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd_open errors
2005-03-25 10:47 mtd_open errors S. van Beek
@ 2005-03-25 11:00 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2005-03-25 11:00 UTC (permalink / raw)
To: S. van Beek; +Cc: linux-mtd
On Fri, 2005-03-25 at 11:47 +0100, S. van Beek wrote:
> I'm running Linux kernel 2.4.20 from Montavista
You'll need to ask Montavista for support if you're using a kernel that
old. Read http://www.linux-mtd.infradead.org/source.html#kernelversions
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-25 11:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25 10:47 mtd_open errors S. van Beek
2005-03-25 11:00 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox