[PATCH 1/3] NOR Flash Support (kernel + config)

Werner Almesberger werner at openmoko.org
Thu Dec 27 20:40:12 CET 2007

Andy Green wrote:
> Add support for NEO1973 NOR flash to MTD

Thanks ! I've tested the patch and added it as gta02-nor.patch to

On my GTA02v3, I can't write, but that may be a configuration issue.
(See below.) On a GTA01Bv4, the NOR partition does not show up, so
there is no compatibility problem. It would be good if someone could
test is on a GTA02v2 or older, to see if the "absent" option does
the trick.

Regarding the configuration, I think the patch sets more options that
we actually eed. So I'm now trying to find the minimum set that works.
With the changes below, I can read from the NOR, but I can't write
(this might be hardware), and it appears as having a single erase
block. Once I've figured out these bits, I'll commit the updated

- Werner

---------------------------------- cut here -----------------------------------

--- ../../svn.openmoko.org/trunk/src/target/kernel/config/defconfig-	2007-11-29 10:16:06.000000000 -0300
+++ .config	2007-12-27 12:39:42.000000000 -0300
@@ -1,7 +1,7 @@
 # Automatically generated make config: don't edit
 # Linux kernel version:
-# Tue Nov 27 09:09:32 2007
+# Thu Dec 27 12:39:42 2007
@@ -671,13 +671,17 @@
 # CONFIG_MTD_CFI_I4 is not set
 # CONFIG_MTD_CFI_I8 is not set
 # CONFIG_MTD_RAM is not set
-# CONFIG_MTD_ROM is not set
-# CONFIG_MTD_ABSENT is not set
 # Mapping drivers for chip access
 # CONFIG_MTD_PLATRAM is not set

More information about the openmoko-kernel mailing list