[PATCH 2/3 Try#2] NOR Flash Support (U-Boot env)

Andy Green andy at openmoko.com
Wed Dec 26 18:12:46 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
> On Mon, 24 Dec 2007 15:32:42 +0100
> Harald Welte <laforge at openmoko.org> wrote:
> 
>> On Mon, Dec 24, 2007 at 10:11:28AM +0000, Andy Green wrote:
>>  
>>> If the kernel that devirginator drops in the device on GTA-01 also
>>> has the NOR patch, it will create a (useless, but logically
>>> present) MTD device representing the (IIRC, on GTA-01 nonexistent)
>>> NOR device's footprint and make the partitions match up.  The MTD
>>> ROM support should accept it despite the Flash probe would fail, so
>>> it is one way to get a unified behaviour.
>> this is not good.  Since GTA01 is already deployed, I think it will
>> generate a nightmare for updating and compatibility.  GTA01 partition
>> tables have to be as-is.
>>
> I can see this playing havoc with the upgrade kernel by ipkg stuff.

Is that really beyond us?

$ cat /proc/mtd | grep kernel | cut -d':' -f1 | sed \
s/mtd/\\/dev\\/mtdblock/g
/dev/mtdblock3
$ cat /proc/mtd | grep rootfs | cut -d':' -f1 | sed \
s/mtd/\\/dev\\/mtdblock/g
/dev/mtdblock5

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHcouOOjLpvpq7dMoRAuR2AJ4lZLxQjkL8XWEdXeeCB5M7Bhmx7gCcDjZz
Z0pQBlMcmF9XkYroXlcYmxU=
=ZUV2
-----END PGP SIGNATURE-----



More information about the openmoko-uboot mailing list