[U-Boot-Users] [PATCH] 83xx: Put the version (and magic) after the HRCW.

Jerry Van Baren
2006-12-08T16:50:14Z

Timur Tabi wrote:
> Jerry Van Baren wrote:
>
>> Arrgh, I forgot about the 8260 master + 7 slaves mode, which fills the
>> first 256 bytes with HRCWs. As a result, we cannot put the magic number
>> and version at offset 0x40 like I did with the 8360 (well, we could do
>> it, but only if the system doesn't have slaves). We could, however, put
>> the magic number and version in a different vector area that has room
>> (e.g. offset 0x240).
>
> Or, you could tag the version string with a checksum and a signature, then have
> the application scan memory until it finds it. That way, you could put it
> wherever you want, even in different places on different systems, and it would
> still work.
>
> Joakim asked me to ack or nack this patch, but at this point I can't tell who
> wants what. Can someone summarize the status of this patch for me?

Hi Timur,

The root post and patch is
<http://article.gmane.org/gmane.comp.boot-loaders.u-boot/25427>
which is a patch for the 83xx and is what Joakim is interested in
(tested on the MPC8360EMDS). The posting (above) was a followup. I
intended to do an equivalent patch for the 8260, but decided not to due
to the level of effort vs. reward.

The git repository with my patches is at:
<http://www.cideas.us/cgi-bin/gitweb.cgi>
Actual repository:
<http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-mpc83xx;a=summary>

Branches:
* version-in-text - Put the version (and magic) after the HRCW.
* lowboot - Add high/lowboot configuration to the Makefile, etc.

Thanks,
gvb