3 spi, Bootloader, Ktam3874/pitx software guide – Kontron KTAM3874-pITX User Manual
Page 27

KTD-S0057-I
Page 23
U-Boot Bootloader
KTAM3874/pITX Software Guide
5.3
SPI
TM
Bootloader
This chapter describes the programming of the SPI
TM
flash with the serial interface. Alternative you can load
both U-Boot versions for example from the microSD
TM
card.
Assumption: the default boot order is active (SPI
TM
flash first boot device).
The picture shows the fixed address ranges within the SPI
TM
flash.
After power on U-Boot starts from SPI
TM
. Hit any key to stop the autoboot process. As a first step you should
erase the bootloader part of the SPI
TM
flash with the following commands:
sf probe 0:0
sf erase 0 60000
Thereafter type '
loadb
81000000
' at the 'KTAM3874#' prompt and press 'Enter'. Then choose the Kermit
transfer mode. Before the download you can clear the memory with
mw.b 81000000 ff 20000
Load the U-Boot-MIN file (normally named 'u-boot.min.spi') and then type
sf write 81000000 0 20000