RE: [U-Boot-Users] Excluding Env Variable section from the u-boot.bin

As far as I understood / remember, you can have the environment and part of u-boot's code sharing the same sector, which makes it at least more difficult to upgrade the code using a BDI-like tool which usually works on a full-sector basis.
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: quinta-feira, 12 de Janeiro de 2006 14:44 To: Nuno João (Ext_NBS) Cc: u-boot-users@lists.sourceforge.net; Albert David Subject: Re: [U-Boot-Users] Excluding Env Variable section from the u-boot.bin (...)
It is *always* possible to update the U-Boot image and keep the old environment settings. Typically all you need for embedded environment is a simple "saveenv" command.

In message 0248B0F35AF7B8418CA72E88AC00BF1F5BB51E@lisi053a.siemens.pt you wrote:
As far as I understood / remember, you can have the environment and part of u-boot's code sharing the same
Yes.
sector, which makes it at least more difficult to upgrade the code using a BDI-like tool which usually works on a full-sector basis.
If you use a BDI, you need a 3 command sequence: dump, erase, prog. This is not exactly difficult. And if you have U-Boot running you just can use "saveenv". This is trivial.
Best regards,
Wolfgang Denk
participants (2)
-
Nuno João (Ext_NBS)
-
Wolfgang Denk