From: Kent Borg <kentborg@borg.org>
To: Linux Mtd <linux-mtd@lists.infradead.org>,
Abraham vd Merwe <abraham@2d3d.co.za>
Subject: Building MTD with JFFS2
Date: Fri, 3 Aug 2001 15:09:21 -0400 [thread overview]
Message-ID: <20010803150921.C20809@borg.org> (raw)
In-Reply-To: <20010731175442.I10857@borg.org>; from kentborg@borg.org on Tue, Jul 31, 2001 at 05:54:42PM -0400
On Tue, Jul 31, 2001 at 05:54:42PM -0400, I wrote:
> Hello, a newbie here, and I thought I was making good progress
> (debugging why I couldn't talk to our flash at all), and then I got
> confused over sources.
And now I am getting closer.
Following e-mailed advice of Abraham vd Merwe <abraham@2d3d.co.za> I
used the infradead.org sources. He sent me a script that copied the
right cvs-ed files into the right places in the regular 2.4 kernel
tree, but that left me with no configuration mention of JFFS2 and a
compile error in the old JFFS directory.
Resorting to a little RTFM I looked at the mtd-jffs-HOWTO and followed
its approach ("sh patchin.sh /usr/src/linux"), and got the same
results: no mention of JFFS2 in the configuring and the same compile
error in linux/fs/jffs (inode-v23.c, line 93, no member named
s_maxbytes).
Looking at the mtd/patches/Configure.help I see mention of
CONFIG_JFFS2_FS and CONFIG_JFFS2_FS_DEBUG, I tried manually defining
them in autoconf.h as 1 and 3 respectively, and in linux/fs/Makefile I
changed the instances of jffs and JFFS to jffs2 and JFFS2 respectively.
This made my compile happy, but, though the make dep seems to have
visited the linux/fs/jffs directory, the make itself didn't.
Hmmm. Ideas on how to get out of the newbie mud?
In the mean time, because we don't have CFI chips, I think I will look
into whether I need to write my own mtd driver. (AMD and Intel chips,
but old ones.)
Thanks,
-kb, the Kent who is glad there are those who have been here before
him.
next prev parent reply other threads:[~2001-08-03 19:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-31 21:54 infradead.org vs kernel.org sources Kent Borg
2001-08-03 19:09 ` Kent Borg [this message]
2001-08-07 10:19 ` Building MTD with JFFS2 David Woodhouse
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=20010803150921.C20809@borg.org \
--to=kentborg@borg.org \
--cc=abraham@2d3d.co.za \
--cc=linux-mtd@lists.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.