cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
583 Views
Registered: ‎12-05-2018

Petalinux-build --jtag in VirtualBox

Hi,

I'm reading through this document UG1209.

So far I managed to boot a pre-built Petalinux image via SD card on my EK-ZCU102-G,

but now I would like to load my own compiled version via JTAG.

I'm using Ubuntu 16.04 in a VirtualBox on Windows 10.

The JTAG interface is connected to hw_server via Lab Solutions and I can connect to it via xsdb and Vivado Hardware Manager.

When I run petalinux-boot --jtag --prebuilt 2 it tells me it cannot find a supported FPGA device.

2019-01-24 15_36_49-Ubuntu 16.04 LTS [Running] - Oracle VM VirtualBox.png

 

 

 

 

 

 

 

It tried to recmmendations from AR 66943,

but since I only have 1 JTAG interface I don't fully understand where it goes wrong.

How can I make the petalinux-boot --jtag command point to the IP and port of my host machine? (to find the FPGA device)

Could you please help?

Best Regards,

Kristof

0 Kudos
2 Replies
Highlighted
Instructor
Instructor
559 Views
Registered: ‎10-23-2018

kli@melexis.com

I'm not sure this is your issue, but did you enable the USB ports to pass through to the VirtualBox? (As I remember, that was not the default state to do so.)

Hope that helps

If so, please mark as solution accepted. Kudos also welcomed. :-)

Highlighted
554 Views
Registered: ‎12-05-2018

Hi,

 

I was under the assumption that my Ubuntu Virtualbox will connect to hw_server running on Windows 10 via ethernet.

connect -host 192.168.56.1 -port 5151 works perfectly to program other example code, 

problem is that with petalinux --jtag I'm looking for a way to tell it to connect to that hw_server via ethernet. :)

0 Kudos