- Power off the board.
- Connect the JTAG port on the board to the workstation using a JTAG cable.
- Connect the serial port on the board to your workstation.
- Connect the Ethernet port on the board to the local network via a network switch.
- For Zynq®-7000 devices and Zynq UltraScale+ MPSoC and Versal® device boards, ensure that the mode switches are set to JTAG mode. Refer to the board documentation for details.
- Power on the board.
- Open a console on your workstation and start with preferred serial communication program (for example, kermit, minicom) with the baud rate set to 115200 on that console.
- Run the
petalinux-boot
command as follows on your workstation$ petalinux-boot --jtag --prebuilt 2 --hw_server-url <hostname:3121>
The
--jtag
option tellspetalinux-boot
to boot on hardware via JTAG, and the--prebuilt 2
option downloads the prebuilt bitstream (FSBL for Zynq UltraScale+ MPSoCs and Zynq-7000 devices, and PLM and PSM for Versal ACAP) to target board, and then boot prebuilt U-Boot on target board. - When autoboot starts, hit any key to stop it. The example of a workstation console output for successful U-Boot download is:
- Check whether the
TFTP
server IP address is set to the IP Address of the host where the image resides. This can be done using the following command:ZynqMP> print serverip
- Set the server IP address to the host IP address using the
following command:
ZynqMP> setenv serverip <HOST IP ADDRESS>
- Set the board IP address using the following
command:
ZynqMP> setenv ipaddr <BOARD IP ADDRESS>
- Get the pxe boot file using the following command:
ZynqMP> pxe get
- Boot the kernel using the following command:
ZynqMP> pxe boot