From: "Luca Contini" <luca.contini@mediaenabling.com>
To: "J.D. Bakker" <bakker@thorgal.et.tudelft.nl>
Cc: "linux-mtd-request@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: latest MTD snapshot
Date: Fri, 29 Aug 2003 16:40:34 +0200 [thread overview]
Message-ID: <029101c36e3b$835f90f0$a970a8c0@topo> (raw)
In-Reply-To: a05200f19bb750ddd2b65@[130.161.115.44]
> At 15:56 +0200 29-08-2003, Luca Contini wrote:
> > > At 15:28 +0200 29-08-2003, Luca Contini wrote:
> > > >What Am I missing?
> >>
> >> 1) Which kernel version ?
> >
> >2.4.18-rmk6-swl6
>
> That's a pretty ancient kernel (almost 18 months old). You may want
> to retry with 2.4.21-rmk1 (works fine on the LART, which is also
> arm-based).
I'll try. But I need a patch from samsung (my board is Samsung SMDK2410 with
ARM920T) and I don't know whether the current patch works fine with a newer
kernel.
>
> > > 3) Any particular reason why you don't use the patchin.sh script ? I
> >> know, you 'only' need mtdblock, but partial installs tend to create
> >> no end of trouble.
> >
> >I just thought it was easiest to do it manually just for mtdblock device.
> >I've copied the snapshot to ../linux/drivers/mtd/util/snapshot and tried
the
> >patchin.sh:
> >[root@Lab patches]# patchin.sh
> >Directory does not exist or is not a kernel source directory
>
> You must give it the path to your kernel tree as an argument (as
> documented on http://www.linux-mtd.infradead.org/).
You are right. It was my mistake. I've correctly (I believe) patched the
kernel.
But next, I tried to recompile the kernel and got this message:
drivers/mtd/mtdlink.o: In function `put_mtd_device':
drivers/mtd/mtdlink.o(.text+0x4b8): undefined reference to `BUG_ON'
drivers/mtd/mtdlink.o(.text+0x4b8): relocation truncated to fit: R_ARM_PC24
BUG_ON
drivers/mtd/mtdlink.o: In function `nand_scan':
drivers/mtd/mtdlink.o(.text+0x406c): undefined reference to `nand_flash_ids'
drivers/mtd/mtdlink.o(.text+0x4070): undefined reference to `nand_manuf_ids'
make: *** [vmlinux] Error 1
[root@Lab linux]#
Moreover after the patchin.sh was applied, the menuconfig has changed.
I cannot see anymore the s3c2410 nand driver. What happened to it?
Regards
Luca
>
> HTH,
>
> JDB.
> --
> LART. 250 MIPS under one Watt. Free hardware design files.
> http://www.lart.tudelft.nl/
>
>
next prev parent reply other threads:[~2003-08-29 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 13:28 latest MTD snapshot Luca Contini
2003-08-29 13:47 ` J.D. Bakker
2003-08-29 13:56 ` Luca Contini
2003-08-29 14:07 ` J.D. Bakker
2003-08-29 14:28 ` David Woodhouse
2003-08-29 14:40 ` Luca Contini [this message]
2003-09-01 9:28 ` Luca Contini
2003-08-29 13:58 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2006-01-06 14:29 Latest mtd snapshot Zoltan Sogor
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='029101c36e3b$835f90f0$a970a8c0@topo' \
--to=luca.contini@mediaenabling.com \
--cc=bakker@thorgal.et.tudelft.nl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox