Skip to contentSkip to conversation

I patch the MTD , but compiler do not compile any object code in /usr/src/linux/drivers/MTD/

DISCUSSION Patrick 2 participants 2 messages Jul 31, 2001 Memory technology devices (MTD)

lore
Share & tools
lore

Patrick

author
#0 lore raw

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=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=0
CONFIG_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 set
CONFIG_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=m
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_CFI_INTELEXT=m
CONFIG_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 set
CONFIG_MTD_JEDEC=m

#1 lore raw
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_CHAR is not set

You also need CONFIG_MTD_CHAR

Vipin