Booting Embedded Linux Firmware From Eusb Device; U-Boot Memory Configurations - Kontron AdvancedMC AM4211 User Manual

Table of Contents

Advertisement

# ./my_nc 192.168.100.2
The U-Boot shell should be accessed
5.3.4

Booting Embedded Linux firmware from eUSB device

Follow these instructions to boot Cavium Embedded Linux from onboard USB mass-storage:
1 Make sure the USB mass-storage is formatted in FAT32 and copy any firmware to the USB mass-storage
supported by board under test.
2 Connect to bootloader shell by entering the bootloader bootstop phrase 'stop'
3 Start the USB controller:
Kontron T5519# usb start
4 Copy the firmware file from the USB storage device to board memory:
Kontron T5519# fatload usb 0:1 0x20000000 [firmware_file]
5 Start the new firmware from memory:
Kontron
T5519#
sole=ttyS0,${baudrate} ${mtdparts} ${bootargs}
5.3.5

U-boot memory configurations

Some of the memory configurations need to be done manually using u-boot environment variables.
The following are the possible memory configurations:
1 Configuring the DDR clock / data rate:
Kontron T5519# setenv ddr_clock_hertz [CLOCK]
[CLOCK] = DDR clock in hertz, the real data rate will be de double of this value.
Here is an example:
Kontron T5519# setenv ddr_clock_hertz 533333333
Will configure the DDR clock at 533Mhz, the data rate will be 1066Mhz.
Kontron T5519# setenv ddr_clock_hertz 666666666
Will configure the DDR clock at 666Mhz, the data rate will be 1333Mhz.
2 Configuring the memory window used in Linux environment:
Kontron T5519# setenv linuxmem [SIZE]
[SIZE] = size of memory in megabytes, here is an example:
Kontron T5519# setenv linuxmem 2048M
Will configure a memory window of 2GB for Embedded Linux.
bootoctlinux
0x20000000
44
numcores=${linuxcores}
mem=${linuxmem}
con-
AM4211
www.kontron.com

Advertisement

Table of Contents
loading

Table of Contents