From: Wolfgang Denk Date: Mon, 13 Aug 2007 19:54:12 +0200 Subject: [U-Boot-Users] Software upgrade using U-boot In-Reply-To: Your message of "Mon, 13 Aug 2007 09:11:20 PDT." <904278.43213.qm@web60120.mail.yahoo.com> Message-ID: <20070813175412.1264D24041@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, in message <904278.43213.qm@web60120.mail.yahoo.com> you wrote: > > My system is having a well defined GUI with touch screen on it.So when running linux application with GUI and touchscreen > user can send a command that he wants to upgrade the software ( include kernel + root file system + application) via touchscreen GUI. Please mind the Netiquette and restrict your line leght to some 70 characters or so. > As far as my understanding goes i think application need to write something on flash( let us say change flag=1) so that next time when system reboots it U-boot read the variable status from same flash location so that it should not boot from flash and > use tftfp downlaod and when download gets completed it changes the status of variable in order to make u-boot loading image from flash for next time onwards. This is one of the many ways to do this.. > Is it possible to do the software upgrade like the way i have explained , if not pls suggest a better way of doing it using U-boot.But my only requirement is, i dont want to go to U-boot command prompt and do the upgrades manually. I need some kind of a > utomatic approach which basically start when my application is running. There are many, many ways to do suftware updates, and U-Boot supports many of them. Of course, a lot of stuff can also be done under Linux. It is impossible to give good recommendations without knowing your exact project requirements. Here a few questions you should contemplate about: - Is it allowed to run the update under U-Boot (when the normal function of your device is not available), r do you need more or less uninterruptd operation, so you must at least perform the installation of the new code under Linux? - How important is an (automatic?) fall back for you, i. e. how are you goingt to handle the situations when a software update gets interrupted or fails or if it completed but the new installed software fails to run correctly for some reason? - Do you always require network access for updates? How about other installation methods, like using a USB memory stick? etc. > ----- Forwarded Message ---- > From: "u-boot-users-request at lists.sourceforge.net" > To: goforhemant at yahoo.com > Sent: Monday, August 13, 2007 11:37:48 AM > Subject: confirm 4543b731a50e1ede9a5a508a8182f823f5cdb6ca > > > Mailing list subscription confirmation notice for mailing list > U-Boot-Users Please mind the netiquette and NEVER quote completely unrelated stuff here. Also, never top post / full quote. Please read http://www.netmeister.org/news/learn2quote.html > Content-Type: text/html; charset=us-ascii > Content-Transfer-Encoding: quoted-printable > > ad>
font-size:12pt">