Difference between revisions of "CL-SOM-AM57x: Linux: Getting Started with TI SDK Demo"
Line 20: | Line 20: | ||
* When the process completes, remove the MMC/SD card. | * 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. | * Insert the newly created MMC/SD card into the P9 slot of the SB-SOM-AM57x board. | ||
* Power on the board. | * Power on the board. | ||
− | * | + | |
− | * Set default U-Boot environment and boot the board: | + | == Matrix GUI == |
+ | The '''Matrix GUI browser''' starts automatically after the system boot. Please refer to [http://processors.wiki.ti.com/index.php/Matrix_Users_Guide 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: | ||
<pre> | <pre> | ||
# env default -a | # env default -a | ||
Line 30: | Line 38: | ||
</pre> | </pre> | ||
− | + | * 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: | ||
+ | <pre> | ||
+ | # 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 | ||
+ | </pre> | ||
== TI Resources == | == TI Resources == |
Latest revision as of 10:20, 21 April 2016
Contents
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.
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.
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:
- To boot with default environment:
# 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:
- To boot with U-Boot environment for CL-SOM-AM57x without eMMC:
# 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
- Linux SDK examples: Processor Linux SDK Graphics and Display
- GStreamer Pipelines examples: Example GStreamer Pipelines
- Processor Training Multimedia: Processor Training:Multimedia