From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.fst.it ([213.255.39.254] helo=fst.it) by pentafluge.infradead.org with smtp (Exim 4.22 #5 (Red Hat Linux)) id 19skPz-00028G-Fe for ; Fri, 29 Aug 2003 15:40:03 +0100 Message-ID: <029101c36e3b$835f90f0$a970a8c0@topo> From: "Luca Contini" To: "J.D. Bakker" References: <023501c36e31$81a4a610$a970a8c0@topo> <024b01c36e35$62241600$a970a8c0@topo> Date: Fri, 29 Aug 2003 16:40:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit cc: "linux-mtd-request@lists.infradead.org" Subject: Re: latest MTD snapshot List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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/ > >