Flash partitions

Ludvik Kumin ludvik.kumin at hermes.si
Thu Apr 4 07:49:51 EST 2002


Hi!

I am  trying to get the mtd working on the custom-made board based 
on the SA1110. It contains two Intel StrataFlash chips 28F640J3A 
(8 MB each; the first is connected to the data lines D0 - D15, the second
to D16 - D31). I manage to read/ write the flash using "dd" 
(through the device file /dev/mtd5) and also to mount the
/dev/mtdblock5 (-t jffs) device and read/write to it. 

However, while booting the kernel (2.4.16) I get the message:

>---------------------------------------------------------------------------
----------------
physmap flash device: 1000000 at 0
Using buffer write method
mtd: Giving out device 0 to Physically mapped flash
SA1100 flash: probing 32-bit flash bus
Using buffer write method
No RedBoot partition table detected in SA1100 flash   <--------- !!!
Using static partition definition
Creating 5 MTD partitions on "SA1100 flash":
0x00000000-0x00040000 : "bootloader"
mtd: Giving out device 1 to bootloader
0x00040000-0x00080000 : "bootloader params"
mtd: Giving out device 2 to bootloader params
0x00080000-0x00180000 : "kernel"
mtd: Giving out device 3 to kernel
0x00180000-0x00800000 : "RAM disk"
mtd: Giving out device 4 to RAM disk
0x00800000-0x01000000 : "jffs"
mtd: Giving out device 5 to jffs
----------------------------------------------------------------------------
---------------<

The partition table is not detected! The part of the ".config" file
related to "mtd" is:

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=3
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_CONCAT is not set
CONFIG_MTD_REDBOOT_PARTS=y
# CONFIG_MTD_BOOTLDR_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL 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=y
# CONFIG_MTD_CFI_B1 is not set
# CONFIG_MTD_CFI_B2 is not set
CONFIG_MTD_CFI_B4=y
# CONFIG_MTD_CFI_B8 is not set
# CONFIG_MTD_CFI_I1 is not set
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=y
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=00000000
CONFIG_MTD_PHYSMAP_LEN=1000000
CONFIG_MTD_PHYSMAP_BUSWIDTH=4
# CONFIG_MTD_NORA is not set
# CONFIG_MTD_ARM_INTEGRATOR is not set
# CONFIG_MTD_CDB89712 is not set
CONFIG_MTD_SA1100=y
# CONFIG_MTD_DC21285 is not set
# CONFIG_MTD_IQ80310 is not set
# CONFIG_MTD_EPXA10DB is not set
# CONFIG_MTD_AUTCPU12 is not set
# CONFIG_MTD_PCI is not set

Q:
Has anyone experienced the same problem? 
What could be the reason the partition table is not found?
Any help would be appreciated.

Ludvik
 




More information about the linux-mtd mailing list