From: Trevor Woolven <trevw@zentropix.com>
To: MTD <mtd@infradead.org>
Subject: [Fwd: MTD with 2.2.14 kernel]
Date: Fri, 24 Mar 2000 09:53:18 +0000 [thread overview]
Message-ID: <38DB3B0E.FCA11C16@zentropix.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
Sorry, forgot to CC....
--
Trevor Woolven - Director of Customer Applications Engineering
Zentropix Inc - a Lineo company
Tel: +44 (0)1273 234 647 Fax: +44 (0)1273 704 482
Visit http://www.zentropix.com/ for Real Time Linux Tools
Visit http://www.realtimelinux.org/ for Real Time Linux Information
[-- Attachment #2: Type: message/rfc822, Size: 3352 bytes --]
From: Trevor Woolven <trevw@zentropix.com>
To: Dvir Oren <dviro@lucidvon.com>
Subject: Re: MTD with 2.2.14 kernel
Date: Fri, 24 Mar 2000 09:51:47 +0000
Message-ID: <38DB3AB3.1B4DD810@zentropix.com>
Dvir Oren wrote:
>
> > I don't need to use nftl_format in order to be able to write to the
> > flash using the MTD drivers. I have managed to write successfully to a
> > DOC having formated it using the M-Systems utilities, dformat and
>
> I tried your patches for the kernel and they worked! Thank you. I
> don't understand, though, why didn't my patches work. They are
> very similar. Perhaps I initialized MTD too late, or something like
> that. Maybe I'll look into it.
>
> However, whenever I try to write to the flash without nftl_formating it
> first, I get errors. And I still wasn't able to boot from the flash.
> LILO starts loading, but gets stuck either at LI or LIL-. Oh well. I
> don't understand why it works for you, but doesn't for me. I also
> keep getting file system corruption.
>
> Thanks for the help.
>
> ---------
> Dvir Oren <dviro@lucidvon.com>
> Lucid VON Ltd. <http://www.lucidvon.com>
> 9 Saloniki St., Tel-Aviv Israel
> Tel: +972 3 644 3038 Fax: +972 3 644 3039
Glad to be of assistance. I owe you for your patched lilo, especially as
I was able to reproduce a working LILO executable from source using the
patch, something M-Systems have gone very quiet on!
I tried initialising the MTD drivers via blk_dev_init() (ll_rw_blk.c) by
taking code out of init/main.c and putting it verbatim at the end of the
function, blk_dev_init(). This seemed most logical to me as the driver
initialisation was then controlled in the same way as (I thought) all
other devices - from device_setup(). However, although I could see the
functions being called, the driver no longer worked! I want to find out
why but I have a customer to satisfy who's not bothered about the
details. Once I've finished this work, I'll be working on proper kernel
patches for the MTD stuff for Dave so I'll try to figure it out then.
I can't understand why your patched LILO doesn't work either, it works
fine for me! As you're also getting file system corruption, why don't
you try using a new device, if you have one. I've found that once a DOC
goes bad, you just can't trust it at all but good ones are good all the
time.
My dev system has a hard drive and a DOC and I usually migrate from
fully hdd to fully DOC in stages. Can you use your patched LILO to boot
a kernel from the HDD, mounting an HDD partition as your root fs? If you
can, can you use the same lilo and kernel but mount a DOC partition as
root?
Did you do an 'rdev' before running lilo to set-up the DOC for booting?
Just a few immediate thoughts, you never know one of them might spark a
flash of inspiration (forgive the pun!).
Cheers
Trevor.
--
Trevor Woolven - Director of Customer Applications Engineering
Zentropix Inc - a Lineo company
Tel: +44 (0)1273 234 647 Fax: +44 (0)1273 704 482
Visit http://www.zentropix.com/ for Real Time Linux Tools
Visit http://www.realtimelinux.org/ for Real Time Linux Information
next reply other threads:[~2000-03-24 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-24 9:53 Trevor Woolven [this message]
[not found] ` <38DB6125.D9A95166@lucidvon.com>
2000-03-24 14:42 ` [Fwd: MTD with 2.2.14 kernel] Trevor Woolven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38DB3B0E.FCA11C16@zentropix.com \
--to=trevw@zentropix.com \
--cc=mtd@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox