...your main source of everything AVR32 Linux

Navigation

FlashUpgradeUsage

This page describe different scenarios for how to use the FlashUpgrade tool. All scenarios assume you have a working serial console to your U-Boot bootloader.

MMC/SD-card

Put the flash-upgrade.uimg file in the root directory of a MMC or SD-card, insert this card into your board.

Power up your board and halt the bootloader (U-Boot) by pressing SPACE.

Initialize the MMC/SD-card by running the following command in U-Boot:

mmcinit

EXT2 filesystem on MMC/SD-card

Load the flash-upgrade.uimg file from the MMC/SD-card by typing:

ext2load mmc 0:1 0x10400000 /flash-upgrade.uimg

Run the FlashUpgrade tool by typing:

bootm 0x10400000

Follow the instructions on the console.

FAT filesystem on MMC/SD-card

Note: If you have an old version (before 1.3.0) of u-boot on your board, it most likely doesn't support the FAT filesystem, so you'll need to use a different method.

Load the flash-upgrade.uimg file from the MMC/SD-card by typing:

fatload mmc 0:1 0x10400000 /flash-upgrade.uimg

Run the FlashUpgrade tool by typing:

bootm 0x10400000

Follow the instructions on the console.

Network

Put the flash-upgrade.uimg file in your /tftpboot directory (or the directory shared by your tftp server).

Power up your board and halt the bootloader (U-Boot) by pressing SPACE.

Set the serverip variable in U-Boot to the tftp server address, this is done by typing:

set serverip

Load the flash-upgrade.uimg by typing:

dhcp 0x10400000 flash-upgrade.uimg

If you use a static IP you should use the command: tftpboot 0x10400000 flash-upgrade.uimg

Run the FlashUpgrade tool by typing:

bootm 0x10400000

Follow the instructions on the console.

Serial (ymodem transfer)

Load the flash-upgrade.uimg by typing:

loady 0x10400000

Start sending the file from you host afterwards.

Run the FlashUpgrade tool by typing:

bootm 0x10400000

Follow the instructions on the console.

r2 - 24 Jul 2008 - 08:05 - HaavardSkinnemoen
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site