From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 26 May 2006 21:49:48 +0200 Subject: [U-Boot-Users] U-Boot port to a new AT91RM9200 board In-Reply-To: <5c01f02f0605261132m343a1632pc166dfc4f52db3cd@mail.gmail.com> References: <5c01f02f0605261132m343a1632pc166dfc4f52db3cd@mail.gmail.com> Message-ID: <200605262149.48695.sr@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 Hi Guido, On Friday 26 May 2006 20:32, Guido Classen wrote: > Our board is designed for outdoor usage, so it is not handy to do software > updates using a laptop computer. The good support of USB-storage devices > was one reason for us to choose u-boot. Updating flash images works well > with USB Flash memory sticks. But it must be triggered by entering U-Boot > commands. Is there a way to redirect U-Boot's STDIN to a file on VFAT > medium in terms of getting a real disk shell script facility? I've read > README.console but there is now word about FAT files? I think in > combination with the hush shell this would be a very powerful way to do all > kind of updates and complex boot sequences. Sorry if I have overseen > something and this feature is already present in U-Boot. If I understand you correctly, you would like to have an automatic update when a specific USB stick is connected to your board. Right? If yes, then take a look at the file "board/esd/common/auto_update.c". Could be helpful for you. Best regards, Stefan