5 u-boot memory configurations – Kontron AT8242 User Manual

Page 88

Advertising
background image

Software Setup

72

AT8242

www.kontron.com

4 - Start the USB controller, type this in u-boot prompt:

# usb start

5 - Copy the firmware file from the eUSB storage device to board memory:

# fatload usb 0:1 0x2000000 [firmware_file]

6 - Start the new firmware from memory:

# bootoctlinux  0x2000000 console=ttyS0,115200 coremask=ffffffff

5.1.1.4

Booting Firmware Image From Onboard JFFS2 Flash Partition

First of all, select the JFFS2 partition, in AT8242 there is a flash partition named ’’user_jffs2’’ that can be
used a storage space:

# chpart user_jffs2

Note: This partition is also available in linux

/mnt directory.

To list all files included in the jffs2 partition:

#ls

To load in the memory a file from the jffs2 partition (simple exec or linux binary):

# fsload ${loadaddr} [file]

Next use ’’bootoct’’ or ’’bootlinux’’ u-boot command to boot the binary file from memory

5.1.1.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:

# 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:

# setenv ddr_clock_hertz 533333333

Will configure the DDR clock at 533Mhz, the data rate will be 1066Mhz.

Advertising