beautypg.com

Ktt20/pitx software guide, 2 linux, Operation – Kontron KTT20-pITX User Manual

Page 27

background image

KTD-S0045-D

Page 23

Bootloader Modification and Download


KTT20/pITX Software Guide

S

Execute the SPI.bat file. The following screen output must appear:

Nvflash

started

rcm

version

0X20001

System

Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: ........

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: spi

operating mode: 3

device config strap: 0

device config fuse: 0

sdram config strap: 0

sending

file:

spi.bct

4080/4080

bytes

sent

spi.bct

sent

successfully

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending

file:

spi-flasher.img

..... / ..... bytes sent

spi-flasher.img

sent

successfully

waiting for bootloader to initialize

bootloader failed NvError 0x0

command failure: bootloader download failed

Press enter to continue:

S

Ignore the error messages. The 'nvflash' program expects some additional operations which
are never executed. Now U-Boot is starting and you should see the bootloader serial output
on your terminal program.

S

To prevent data loss when switching off the board it is a good solution to control the pro-
gramming progress over the serial output. You should see as a minimum:

SF: Detected SST25VF032B with page size 4096, total 4 MiB

4096 KiB SST25VF032B at 0:0 is now current device

ERASING...

WRITING...

5.2.2 Linux

®

Operation

…

Download the bootloader into SDRAM:

S

If you want to develop your own U-Boot version use the script file from the directory
'SDRAM'. Copy your binary U-Boot file (default name: u-boot.bin), the file from the direc-
tory 'SDRAM' and all files from the NVFLASH root directory into the same directory.

This manual is related to the following products: