List Info

Thread: Re: NOR Flash Support (U-Boot env)




Re: NOR Flash Support (U-Boot env)
country flaguser name
United Kingdom
2007-12-26 11:12:46
-----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 <laforgeopenmoko.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


iD8DBQFHcouOOjLpvpq7dMoRAuR2AJ4lZLxQjkL8XWEdXeeCB5M7Bhmx7gCc
DjZz
Z0pQBlMcmF9XkYroXlcYmxU=
=ZUV2
-----END PGP SIGNATURE-----


Re: NOR Flash Support (U-Boot env)
user name
2007-12-26 11:30:02
On Wed, 26 Dec 2007 17:12:46 +0000
Andy Green <andyopenmoko.com> wrote:

> -----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 <laforgeopenmoko.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
> 
No, but what if its the wrong kernel version, ie you flash
the one
without NOR in a nor u-boot, or the one with NOR in the non
nor
u-boot.

Graeme


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )