![Z3 Technology Sitara Z3-AM572x-RPS Скачать руководство пользователя страница 18](http://html.mh-extra.com/html/z3-technology/sitara-z3-am572x-rps/sitara-z3-am572x-rps_user-instructions_916592018.webp)
18
CONFIDENTIAL
DOC-USR-0089-03
____________________________________________________________________________________
Z3 Technology, LLC
♦
100 N. 8th St. STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
RUNNING THE CODE YOU BUILT ON THE BOARD
9.0
There are three ways to take the image files you built in Section 5.0 and run them on the RPS:
Write image to an SD card
(1)
Copy the SD card image
(2)
Setting up NFS to link to your development PC
(3)
9.1
Method 1: Write Image to an SD Card
First you must create an SD card image by running the command:
(1)
sudo bin/z3-create-sdcard-img.sh
This will create the image file
images/z3-emmc.img
Obtain a microSD card 4 GB or larger in size.
(2)
You can write to the microSD card using either Linux or Windows. You will need to have an SD card
(3)
reader to access the SD card.
(a)
Linux method:
use the install script shown below.
*Note:
You need to replace
sdd
with your SD card block device.
sudo umount /dev
ssd
*
sudo bin/z3-install-sdcard-img.sh images/z3-img
/dev/
sdd
If you don't know which device to use, this command will list all the removable devices:
lsblk -d -o NAME,RM | grep '1$'
If there is more than one item in the list, then re-run the command with the SD card
removed, then re-insert the SD card and run the command a second time. Whichever
device is new the second time will be the SD card device.
(b)
Windows method:
Review this TI wiki post for instructions on burning the SD card image
in Windows:
http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Creating_a_SD_Card_with_
Windows
9.2
Method 2: Copy the SD Card Image to Internal eMMC Flash
Follow the steps in Section 9.1 to write the SD card image.
(1)
Power down the Z3-AM572x-RPS.
(2)