CL-SOM-AM57x: Linux: Getting Started with TI SDK Demo

From Compulab Mediawiki
Jump to: navigation, search

Prepare the SD card with a Linux host

  • Download the latest CompuLab am57x Linux package.
  • Extract the images/tisdk-sdcard-image.img.xz
  • Insert a 4GB-card (or above) into a MMC/SD card slot of the host.
  • Find out a special device file that represent the MMC/SD card.
Admolition note.png It is up to users to figure out what the MMC/SD card device is.

For instance it can be /dev/sdg

  • Dump the image onto the MMC/SD card.
xz -dc images/tisdk-sdcard-image.img.xz | sudo dd of=/dev/sdg bs=1M && sudo eject /dev/sdg
  • When the process competes, remove the MMC/SD card.

Prepare the SD card with a Windows host

  • Download the latest CompuLab am57x Linux package.
  • Extract the images/tisdk-sdcard-image.img.xz with the 7-Zip utility.
  • Insert a 4GB-card (or above) into a MMC/SD card slot of the host.
  • Detect the drive letter that represents the SD card.
Admolition note.png It is up to users to figure out what the MMC/SD card drive letter.

For instance it can be d:

  • Write the extracted image with the Win32DiskImager utility.
  • When the process completes, remove the MMC/SD card.

Booting from SD card

  • Insert the newly created MMC/SD card into the P9 slot of the SB-SOM-AM57x board.
  • Power on the board.

Matrix GUI

The Matrix GUI browser starts automatically after the system boot. Please refer to Matrix GUI Guide for instructions.

Troubleshooting

  • Default U-Boot environment is needed for booting from SD card on CL-SOM-AM57x with eMMC.
    • To boot with default environment:
      • Power on the board.
      • Press and hold Ctrl-C to get command prompt.
      • Set default U-Boot environment and boot the board:
# env default -a
# boot
  • U-Boot environment update is needed for booting from SD card on CL-SOM-AM57x without eMMC.
    • To boot with U-Boot environment for CL-SOM-AM57x without eMMC:
      • Power on the board.
      • Press and hold Ctrl-C to get command prompt.
      • Update the U-Boot environment and boot the board:
# setenv bootcmd 'mmc dev 0 && mmc rescan && load mmc 0 ${loadaddr} zimage-cl-som-am57x && load mmc 0 ${fdtaddr}  am57xx-sbc-am57x.dtb && bootz ${loadaddr} - ${fdtaddr}'
# setenv bootargs 'root=/dev/mmcblk0p2 rw console=ttyO2,115200n8 rootwait'
# boot

TI Resources