I have a DM355 LeopardBoard and I am trying to set it up to utilize a JFFS2 root filesystem. I am currently using an Arago based kernel 2.6.37. During my kernel boot I see the following messages that pertain to the NAND driver and JFFS2:
JFFS2 version 2.2. (NAND) 2001-2006 Red Hat, Inc.
davinci_nand: probe of davinci_nand.0 failed with error -22
Looking at a successful boot from the internet it appears that I should see messages like the following:
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit) <--- The output line that I don't have
4 cmdlinepart partitions found on MTD device davinci_nand.0
Creating 4 MTD partitions on "davinci_nand.0":
0x000000000000-0x0000000a0000 : "UBOOT"
0x0000000a0000-0x0000000c0000 : "UBOOT_ENV"
0x0000000c0000-0x000000480000 : "KERNEL"
0x000000480000-0x0000019e0000 : "FS"
davinci_nand davinci_nand.0: controller rev. 2.3
Once the NAND device is recognized, then the davanci_nand driver seems to understand how to partition the NAND chip.
My question is what device driver to I need to load to have the NAND device recognized?