loadImageToTargetSDCardPath
Load board-specific SD card image files to target SoC device SD card location
Since R2020a
Description
loadImageToTargetSDCardPath(
loads
the SD card image files of the specified board to the specified SD card drive location on
the target SoC device with default IP address by using Ethernet. The SD card image files
contain a bootloader and the suitable operating system information.BoardName
)
loadImageToTargetSDCardPath(
specifies options using one or more name-value arguments. For example,
BoardName
,Name,Value
)'Gateway','192.168.0.4'
sets the gateway for the network
interface.
Input Arguments
BoardName
— Targeted SoC board name
'ZC702'
| 'ZC706'
| 'ZedBoard'
| 'ZCU102'
| 'ZCU111'
| 'ZCU216'
Targeted SoC board name, specified as one of these values.
'ZC702'
— Xilinx® Zynq®-7000 ZC702'ZC706'
— Xilinx Zynq-7000 ZC706'ZedBoard'
— Xilinx Zynq ZedBoard™'ZCU102'
— Xilinx Zynq UltraScale+™ MPSoC ZCU102 Evaluation Kit'ZCU111'
— Xilinx Zynq UltraScale+ RFSoC ZCU111 Evaluation Kit'ZCU216'
— Xilinx Zynq UltraScale+ RFSoC ZCU216 Evaluation Kit
Data Types: char
| string
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: loadImageToTargetSDCardPath('ZC706','DeviceAddress','192.168.10.2','Gateway','192.168.10.1');
DeviceAddress
— IP address of target SoC device SD card location
character vector | string scalar | 1-by-2 cell array
Internet protocol (IP) address of the target SoC device, specified as a character vector, string scalar, or 1-by-2 cell array. The target IP address must be a set of four numbers consisting of integers in the range [0, 255] that are separated by dots.
The default IP address for the Ethernet interface is
'192.168.0.2'
. The default IP address for the USB Ethernet
interface is '10.10.10.2'
.
Use this name-value argument to specify a nondefault address when you use the
copyImageToHostSDCardPath
function.
Example: '192.168.0.8'
Interface Type | DeviceAddress Value | Data Type | Example |
---|---|---|---|
Ethernet only | IP address of the Ethernet port on the SoC device | Character vector or string scalar | '192.168.0.8' |
USB Ethernet only | IP address of the USB Ethernet gadget on the SoC device, followed by
usb0/ | Character vector or string scalar | 'usb0/192.168.3.2' |
Both Ethernet and USB Ethernet | Cell 1 — IP address of the Ethernet port on the SoC device Cell 2 — IP address of the USB Ethernet gadget on
the SoC device, followed by The order of these cells does not matter. | 1-by-2 cell array of character vectors or string scalars | {'192.168.3.2','usb0/10.10.10.4'} or
{'usb0/10.10.10.4','192.168.3.2'} |
Data Types: char
| string
| cell array
Gateway
— Gateway for network interface
'192.168.0.1'
(default) | character vector | string scalar
Gateway for the network interface, specified as a character vector or string scalar. The gateway must be a set of four numbers consisting of integers in the range [0, 255] that are separated by dots.
Example: '192.168.0.4'
Data Types: char
| string
SDCardImage
— SD card image to copy
character vector | string scalar
SD card image to copy, specified as a character vector or string scalar. Use this name-value argument to copy a custom SD card image.
The default SD card image is the SD card files that come with the HDL Verifier™ support package.
Example: 'C:\mywork\hdlv_prj\sdcard_image\zc706_sdcard_zynq7000'
Data Types: char
| string
Username
— Username to log into target Linux® operating system
'root'
(default) | character vector | string scalar
Username to log into the target Linux operating system, specified as a character vector or string scalar. Use this name-value argument to specify a nondefault user account name.
Example: 'John'
Data Types: char
| string
Password
— Password associated with specified username
'root'
(default) | character vector | string scalar
Password associated with the specified username, specified as a character vector or string scalar. Use this name-value argument to configure a nondefault user account password.
Example: 'P@ssw0rd123'
Data Types: char
| string
Version History
Introduced in R2020a
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)