Intel Strata NOR flash (i.MX31)
Overview
The Intel Strata Flash is a mount option which is located on the bottom side of the i.MX31 connector version. Since this topic is similar to the Spansion Flash topic, you might also want to check SpansionFlash for instructions.
Kernel Configuration
To enable the Intel Strata device, enter the kernel configuration and perform the following changes:
Device Drivers -> Memory Technology Device (MTD) Support -> RAM/ROM/Flash chip drivers -> Enable Strata Flash Chip on i.MX module -> Y
Testing
To test the Intel Strata device, run the following commands on the target
To get information about the flash devices run the following command. By default, the partition which is based on the Strata Flash is called Data, in this case it is mtd4. The partitions before that one are Spansion Flash partitions. Partitions behind the Strate are usually NAND type partitions.
mx31# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00020000 "Bootloader" mtd1: 00080000 00020000 "Bootloader env" mtd2: 00200000 00020000 "Kernel" mtd3: 01d00000 00020000 "rootfs" mtd4: 00800000 00020000 "Data" mx31#
We can unlock the device and erase all data on it by using
mx31# flash_unlock /dev/mtd/4 mx31# flash_eraseall /dev/mtd/4