I have a machine that is connected to multiple boards (for example, Zynq and Zynq MPSoC).
I want users to be able to connect to the board they want and to be able to run "petalinux-boot --jtag" using the unique port number for each board.
How would I accomplish this?
1) On the machine you are connecting the physical board to, you will need to run the following commands:
The above command will open 2 unique ports on the machines. In this example there are only 2 boards being used so only 2 ports are required.
Port 3121 is the default port and 3122 is the non-default port. In order for the remote machine to see these ports, please disable the firewall.
2) From the remote machine, source the Vivado and PetaLinux tools, then run the commands below.
(This is for the first board. In the setup that was used for this article, it is a Zynq board)
This Tcl script will script the flow that will be used to load the fsbl, u-boot and kernel.
3) From the remote machine, source the Vivado and PetaLinux tools then run the commands below.
(This is for the second board. In the setup that was used for this article, it is a Zynq MPSoC board).
Use the following commands to connect to the remote port:
Both Tcl files are attached for reference.