Building and flashing images on Texas Instruments (TI)¶
Follow this procedure to flash an AutoSD image onto a Texas Instruments (TI) board.
Prerequisites
- An AArch64 system with internet access
- An SD card
- A TI board or platform supported by AutoSD
Obtaining an image¶
Use the automotive-image-builder
tool to build AutoSD images for these TI boards:
- SK-AM62x Sitara (
am62sk
) - SK-AM69 Jacinto (am69sk`)
- TDA4 EVM (
tda4vm_sk
) - J784S4 EVM (
j784s4evm
)
For these boards, you can download a prebuilt image if you don’t want to build your own:
- SK-AM69 Jacinto (
am69sk
) - J784S4 EVM (
j784s4evm
)
Building the AutoSD image¶
Procedure
-
Clone the
automotive-image-builder
repository: -
Build the TI image for your TI board:
Replace <model name>
with the string corresponding to your board, such as am62sk
.
Replace <manifest>
with your custom OSBuild manifest file, in the .mpp.yml format.
If you do not have your own manifest file, you can build an AutoSD image with the automotive-image-builder/example.mpp.yml
manifest file.
- Continue with Flashing the image onto an SD card.
Downloading a prebuilt image¶
Procedure
-
Identify the model name of your TI board as used in the image name. See the nightly build directory. The model name is something like
am69sk
(for SK-AM69 Jacinto) orj784s4evm
(for J784S4 EVM), as seen afterauto-osbuild-
in the nightly build directory. -
Store the value of the latest nightly image in a variable called
AUTOSD_IMAGE_NAME
. This example is for theam69sk
model. Replace that piece of the command if you are using a different board. -
Download the image.
-
Uncompress the compressed
.xz
image file: -
Continue with Flashing the image onto an SD card.
Flashing the image onto an SD card¶
-
To flash the uncompressed image onto an SD card, replace
</dev/sdX>
with your block device. -
Set the onboard DIP switches to SD boot mode
SW11[1-8] = 1000 0010 SW7[1-8] = 0000 0000
. -
Plug in the SD card, and then start the system.
Additional Resources