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 svn.openmoko.org/trunk/src/target/kernel/patches/
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 defconfig. - Werner ---------------------------------- cut here ----------------------------------- --- ../../svn.openmoko.org/trunk/src/target/kernel/config/defconfig-2.6.22.5 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: 2.6.22.5 -# Tue Nov 27 09:09:32 2007 +# Thu Dec 27 12:39:42 2007 # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -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 +CONFIG_MTD_ROM=y +CONFIG_MTD_ABSENT=y # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_START=0x8000000 +CONFIG_MTD_PHYSMAP_LEN=0 +CONFIG_MTD_PHYSMAP_BANKWIDTH=2 # CONFIG_MTD_PLATRAM is not set #
