latest MTD snapshot
Luca Contini
luca.contini at mediaenabling.com
Fri Aug 29 10:40:34 EDT 2003
> 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 at 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 at 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/
>
>
More information about the linux-mtd
mailing list