Building CVS mtd/jffs2 on 2.4 kernel
David Ho
DavidHo at nanometrics.ca
Wed Sep 22 13:33:27 EDT 2004
Hi all,
I am new to the list, I have been working on a 2.4.24 kernel from the Denx
tree for the PPC8xx for some time. We are having a few issues with the
JFFS2 code there, namely the increasing mount time as the JFFS2 partition
becomes full, and in general, we like to get a faster mount time.
I am trying to build the mtd/jffs2 code from the CVS snapshot on my 2.4.24
kernel. I ran the patchin.sh script on the kernel tree. And with the
Intel flash support selected I was getting a link error from in
mtd/chips/cfi_cmdset_0001.c
drivers/mtd/mtdlink.o: In function `cfi_intelext_partition_fixup':
drivers/mtd/mtdlink.o(.text+0x693c): undefined reference to `__ffs'
drivers/mtd/mtdlink.o(.text+0x693c): relocation truncated to fit:
R_PPC_REL24 __ffs
drivers/mtd/mtdlink.o: In function `do_erase_oneblock':
drivers/mtd/mtdlink.o(.text+0x8d54): undefined reference to `msleep'
drivers/mtd/mtdlink.o(.text+0x8d54): relocation truncated to fit:
R_PPC_REL24 msleep
Can anyone tell me if the code there need fixing or if I missed something
in the configuration. I am assuming based on the available documentation
that the code should work with my 2.4 kernel.
Regards,
David Ho
Nanometrics Inc.
More information about the linux-mtd
mailing list