From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tore Martin Hagen Date: Fri, 13 Jan 2006 08:51:58 +0100 Subject: [U-Boot-Users] Excluding Env Variable section from the u-boot.bin In-Reply-To: <61124de70601122029v6f84d9fbya8a6c22a9f59afa8@mail.gmail.com> References: <61124de70601120327o12f9294die4bda6bbfdb464ac@mail.gmail.com> <20060112144142.D77A035288F@atlas.denx.de> <61124de70601122029v6f84d9fbya8a6c22a9f59afa8@mail.gmail.com> Message-ID: <43C75C1E.7080707@slb.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Albert David wrote: > >when i update my u-boot in the field (for some unavoidable reason), >the update_uboot script erases all the u-boot flash sectors and over >writes the new u-boot.bin - > Hi, I think you should change your update_uboot script so that it only erases the sector with the bin. Are you updating u-boot from u-boot or from Linux (or some other OS)? >what if somethings goes wrong with the >communication or power while copying u-boot.bin to flash?? i may loose >important settings of my product in the field! u-boot.bin can always >be updated using the BDI tool! But i cannot recover the environment >variables. > > In this case you would need to read the environment variables first and keep them backed up during the u-boot update. /Tore Martin Hagen