- Power off the board.
- Connect the JTAG port on the board with the JTAG cable to your workstation.
- Connect the serial port on the board to your workstation.
- If your system has Ethernet, also connect the Ethernet port on the board to your local network.
- 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 3 --hw_server-url <hostname:3121>
Note: If you wish not to use prebuilt capability for JTAG boot, refer to Additional Options for Booting with JTAG.The
--jtag
option tellspetalinux-boot
to boot on hardware via JTAG, and the--prebuilt 3
option boots the Linux kernel. Wait for the appearance of the shell prompt on the command console to indicate completion of the command.Note: To know more about different boot levels for prebuilt option, see Using petalinux-boot Command with Prebuilt Images.The example of the message on the workstation command console for successful
petalinux-boot
is:By default, network settings for PetaLinux reference designs are configured using DHCP. The output you see may be slightly different from the above example, depending on the PetaLinux reference design being tested.
- Type user name:
root
and password:root
on the serial console to log into the PetaLinux system. - Determine the IP address of the PetaLinux system by running ifconfig on the system console.