beautypg.com

1 update from bootloader cli – Kontron AM4210 User Manual

Page 68

background image

53

AM4210

www.kontron.com

5.2.3.1

Update from Bootloader CLI

The following procedure defines the update of the image 0 bootloader:

• Start system and connect to serial console

• Connect to bootloader shell by entering the bootloader bootstop phrase ‘stop’

U-Boot 1.1.1 FIXES 2.04 (Build time: Feb 10 2010 - 04:27:51)

OCTEON CN5650-NSP pass 2.1, Core clock: 600 MHz, DDR clock: 400 MHz (800 Mhz data rate)
CUST_KONTRON_T5516 PLD version: 12 Board Type: 1 Option: 3 Revision: 1
Reset Type: 01 cold reset, Source: 08 Software Initiated
DRAM: 2048 MB
Flash: 128 MB
Calculating bootloader CRC checksum.....finished
Testing DRAM (fast), testpattern 5555555555555555
(fast), testpattern aaaaaaaaaaaaaaaa
2048MB - ok
Clearing DRAM........ done
Using default environment
KCS: Reading boot image number : Image 0
KCS: Reading interface settings: Front x2 XAUI
KCS: Reading PCIe settings : Disabled
KCS: Reading PCIe clock source : local
KCS: Reading ethaddr : 00:a0:a5:63:22:e2
KCS: Reading serial# : 9010004184
BIST check passed.
Starting PCIE
PCIe: Waiting for port 1 link
PCIe: Port 1 link active, 4 lanes
PCIe: port=1, first_bus=0, last_bus=0
Net: e1000: 00:a0:a5:63:22:e2
e1000: 00:a0:a5:63:22:e2
e1000_eth0, e1000_eth1, octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6, octeth7
autoboot in 5 seconds...
press 'bootstopkey' phrase to abort

<==== Enter ‘stop’ now

MMC watchdog stopped
Kontron T5516#

• Get proper network settings

Kontron T5516#

bootp

• Set the TFTP server IP

Kontron T5516#

setenv serverip

• Download the bootloader image from the TFTP server

Kontron T5516#

tftpboot $loadaddr

• Execute the predefined update script

Kontron T5516#

run uboot_flash_update

To update the backup bootloader image, the predefined script uboot_backup_flash_update is used instead.