4 booting embedded linux firmware from eusb device, 5 u-boot memory configurations, Booting embedded linux firmware from eusb device – Kontron AM4211 User Manual

Page 59: U-boot memory configurations

Advertising
background image

44

AM4211

www.kontron.com

# ./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# bootoctlinux 0x20000000 numcores=${linuxcores} mem=${linuxmem} con-

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.

Advertising