I patch the MTD , but compiler do not compile any object code in /usr/src/linux/drivers/MTD/
I patch the MTD code in kernel source 2.4.0-test9 for mipsel
after I build the kernel , booting the kernel ,without any message about
MTD
when I try every kind of MTD driver.
I found the /usr/src/linux/drivers/MTD/ without any object code (*.o)
I have no idea
#
# Memory Technology Devices (MTD)
#CONFIG_MTD=yCONFIG_MTD_DEBUG=yCONFIG_MTD_DEBUG_VERBOSE=0CONFIG_MTD_PARTITIONS=m
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_BOOTLDR_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_CHAR is not setCONFIG_MTD_BLOCK=m
# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=mCONFIG_MTD_CFI_ADV_OPTIONS=yCONFIG_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 setCONFIG_MTD_CFI_INTELEXT=mCONFIG_MTD_CFI_AMDSTD=m
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not setCONFIG_MTD_JEDEC=m
Quoted 5 lines · Patrick
I patch the MTD code in kernel source 2.4.0-test9 for mipsel
after I build the kernel , booting the kernel ,without any message about
MTD
First you seem to have built all the MTD drivers as modules so you won't see any MTD messages during the bootup phase (unless something is explicitly loading a MTD module(s)- which I doubt as you are building this for the first time).
Quoted 3 lines
when I try every kind of MTD driver.
I found the
/usr/src/linux/drivers/MTD/without any object code (*.o)
I presume that you also did a "make modules" when you "built the kernel"?
Quoted 1 line
#
CONFIG_MTD_CHARis not set
You also need CONFIG_MTD_CHAR
Vipin