Hi Friends,
I want to make MTD partitions and finally implement JFFS2 filesystm on that. I am working on linux version 2.6.Architecture is ARM926-EJS. I tried to build WindRiver linux kernel after making changes in the kernel configuration i.e I enabled some functionality / options which i felt appropriate for MTD devices under Device Driver menu .I also enabled JFS support under file system menu. ( I don't see JFFS2 option in this so i am not sure how i am going to implement JFFS2 on MTD ) # Memory Technology Devices (MTD) # *CONFIG_MTD=y CONFIG_MTD_DEBUG=y CONFIG_MTD_DEBUG_VERBOSE=0 CONFIG_MTD_CONCAT=y CONFIG_MTD_PARTITIONS=y* # CONFIG_MTD_REDBOOT_PARTS is not set *CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_AFS_PARTS=y* # # User Modules And Translation Layers # *CONFIG_MTD_CHAR=y CONFIG_MTD_BLOCK=y* # CONFIG_FTL is not set # CONFIG_NFTL is not set # CONFIG_INFTL is not set # # RAM/ROM/Flash chip drivers # *CONFIG_MTD_CFI=y* # CONFIG_MTD_JEDECPROBE is not set CONFIG_MTD_GEN_PROBE=y CONFIG_MTD_CFI_ADV_OPTIONS=y CONFIG_MTD_CFI_NOSWAP=y # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set # CONFIG_MTD_CFI_GEOMETRY is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CFI_I4 is not set # CONFIG_MTD_CFI_I8 is not set # CONFIG_MTD_OTP is not set *CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y* CONFIG_MTD_CFI_AMDSTD_RETRY=0 *CONFIG_MTD_CFI_STAA=y CONFIG_MTD_CFI_UTIL=y* *CONFIG_MTD_RAM=y* # CONFIG_MTD_ROM is not set # CONFIG_MTD_ABSENT is not set # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set *# CONFIG_MTD_PHYSMAP is not set* *CONFIG_MTD_NOMADIK=y* # CONFIG_MTD_ARM_INTEGRATOR is not set # CONFIG_MTD_EDB7312 is not set CONFIG_MTD_PLATRAM=y # # Self-contained MTD device drivers # # CONFIG_MTD_SLRAM is not set # CONFIG_MTD_PHRAM is not set # CONFIG_MTD_MTDRAM is not set *CONFIG_MTD_BLKMTD=y* # # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOC2000 is not set # CONFIG_MTD_DOC2001 is not set # CONFIG_MTD_DOC2001PLUS is not set # # NAND Flash Device Drivers # # *CONFIG_MTD_NAND is not set // as such i am trying for NOR flash.* # File systems # *CONFIG_EXT2_FS=y* # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set # CONFIG_EXT3_FS is not set # CONFIG_JBD is not set # CONFIG_REISERFS_FS is not set *CONFIG_JFS_FS=y* # CONFIG_JFS_POSIX_ACL is not set # CONFIG_JFS_SECURITY is not set *CONFIG_JFS_DEBUG=y CONFIG_JFS_STATISTICS=y* # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y # CONFIG_QUOTA is not set CONFIG_DNOTIFY=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # # CONFIG_MSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_NTFS_FS is not set # I get following errors when i run make linux. drivers/mtd/maps/nomadik-flash.c: In function `init_nmdkflash': drivers/mtd/maps/nomadik-flash.c:276: error: too few arguments to function `__ioremap' make[4]: *** [drivers/mtd/maps/nomadik-flash.o] Error 1 make[3]: *** [drivers/mtd/maps] Error 2 make[2]: *** [drivers/mtd] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/user/hposhtiw/JUNK/WindRiver/workspace/build/linux-2.6.14-small' make: *** [linux.compile] Error 2 Do you think there is any problem associated with the nomadik-flash.c or nomadik-flash.h? or i need to check with my configuration? Do i need to make changes in the linux/drivers/mtd/maps/physmap.c ? I have attached .config file and log of kernel build. I would appreciate your comments. Regards Harshad -- Thanks & Regards Harsh
st_nomadik-small-config-2.6.14
Description: Binary data
Build_Log_WR_LINUX
Description: Binary data
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
