beautypg.com

6 updating u-boot – Artesyn MVME2502 Installation and Use (April 2015) User Manual

Page 143

background image

Boot System

MVME2502 Installation and Use (6806800R96E)

143

6.6

Updating U-Boot

To update the U-Boot, place the image in the RAM (address 0x1000000 in this example) before
copying it to the SPI flash.

The following procedure will replace the image in SPI bank 0:

1. Disable SPI write-protect in CPLD register

Chapter 5, PLD Write Protect and I2C Debug

Register

.

2.

Ensure FLASH_WP_N in SMT configuration switch (S2) is in "OFF" position.

3. Select SPI flash # 0:

sf probe 0

4. Erase 0x90000 bytes starting at SPI address 0:

sf erase 0 0x90000

5. Write 0x90000 bytes from RAM address 0x1000000 starting at SPI address 0:

sf write 0x1000000 0 0x90000

To replace the image in SPI bank 1, replace step 2 with "Select SPI flash # 1:"

sf probe 1