Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

GSG: Booting the OMAP-L138/AM18x Out of the Box

From Texas Instruments Wiki
Jump to: navigation, search

^ Up to main Getting Started Guide for OMAP-L1 Table of Contents

^ Up to main Getting Started Guide for AM18x Table of Contents

IMPORTANT
By default, DA850/OMAP-L138/AM18x EVM comes up with CPU operating at 300MHz. With earlier PSP releases (03.20 and 03.21) UBL has to be re-built to boot at a higher CPU frequency. You can also use the Linux CPUFreq driver to change the operating point after Linux has booted up. With latest PSP release (03.22) CPU frequency can be modified only from Linux.

Booting the EVM

NOTE: The EVM (beta version and later) is configured at manufacturing to allow the board to boot up Linux out of the box without having to build or install any additional software. For earlier versions of EVM (alpha or pre-alpha), user still needs to flash U-Boot and UBL to flash. Please refer to the topic on flashing the boot images.

Use the following steps to boot the board:

  1. Refer to the usage information available on LogicPD website.
  2. Make sure that the SOM module is properly plugged into the EVM baseboard.
  3. Connect the serial cable included with the kit to the serial port of the EVM board and connect the other end to the serial port of a workstation.
  4. Make sure the the boot switch pins on switch S7 are in the correct position:
    S7:8 (BOOT[4]) S7:7 (BOOT[3]) S7:6 (BOOT[2]) S7:5 (BOOT[1])
    OFF OFF OFF OFF
  5. Run a terminal session on your workstation and configure it to connect to the serial port with the following settings
    • Bits per second: 115,200
    • Data bits: 8
    • Parity: None
    • Stop bits: 1
    • Flow control: None
    • Transmit delay: 0 msec/char, 100 msec/line
  6. Upon powering up the board, you should see U-Boot start up and then messages indicating that the Linux kernel is starting up. When the boot sequence has completed, you should see a login prompt.

    NOTE
    Initial kits that ship may power up to a U-Boot prompt rather than automatically boot Linux. If you have such a kit, you will need to set up U-Boot to boot Linux.

  7. Log in as root (no password).
    • At the Linux prompt, you can use existing Linux commands to test various features and use examples from the "examples" folder under the "images" directory.
    • While U-Boot is booting, you can press any key to interrupt the automatic boot of the Linux kernel. This will leave you in U-Boot, where you can type commands in the U-Boot command shell.

NOTE: The AM18x EVM / eXperimenter’s Kit comes with a demo that should boot out of the box according to the instructions in this video. If you changed the u-boot default environmental variables and want to restore them, please follow the instructions on this page or use the following u-boot commands to set them:

setenv bootcmd 'sf probe 0;sf read 0xc0700000 0x80000 0x220000;bootm 0xc0700000'
setenv bootargs mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p1 rw rootdelay=3 ip=off
setenv bootfile "uImage"
saveenv

What's next?

Please continue on to the Installing the SDK software for OMAP-L1 or to Installing_the_SDK_software for AM18x section of the Getting Started Guide