[PATCH 1/3] NOR Flash Support (kernel + config)
Andy Green
andy at openmoko.com
Thu Dec 27 22:21:22 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
> Andy Green wrote:
>> I don't really know why it should not be accepted by MTD_ROM even on
>> GTA01
>
> Yep, but the NOR is described in the GTA02-specific machine definition.
> So the GTA01 shouldn't even pick it up. And apparently this is exactly
> what happens. It's so nice when things work as expected ;-)
Dah -- well that explains it. At the risk of sounding shameless I
remember now it is pointed out that it was actually my intention to put
it in the mach-gta0*2*.c file for that reason.
> erase region 0: offset=0x0,size=0x2000,blocks=8
> erase region 1: offset=0x10000,size=0x10000,blocks=31
> physmap-flash.0: 1 set(s) of 1 interleaved chips --> 4 partitions of 512 KiB
this stuff is a printk with KERN_DEBUG in the mtd sources, I don't have
loglevel=8 on my kernel commandline and I guess you do.
I just remembered why you can't write to the thing -- you have to do
# flash_unlock /dev/mtd0
first, which is sticky.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHdBdSOjLpvpq7dMoRAoAdAJwPLj0QR3idiQouRWmGgipBkWCB7gCgj13f
xnhOpLMRNe3uN9XNcNTQk0g=
=rE9U
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list