cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,523 Views
Registered: ‎09-17-2018

Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

Hello!

Im trying to build petalinux system with hw acceleration in Vitis but Ive encountered some problems.

Im using this tutorial to create petalinux system:

https://japan.xilinx.com/html_docs/xilinx2019_2/vitis_doc/Chunk375818786.html#hog1570652702356

But after modyfying DTSI with:

&amba {
 	zyxclmm_drm {
 		compatible = “xlnx,zocl”;
 		status = “okay”;
 	};
 };  

 I've an error with building it. What's the problem? is &amba...{} only in zynqMP/ultrascale?

What is alternative DTSI script for Zedboard? Where can I find other tutorials about building hw-accelerated platforms in Vitis?

Thanks for help and good day for you :)

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
1,468 Views
Registered: ‎06-16-2018

Re: Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

Hello.
I am also using the same tutorial to create an Ultra96-V2 acceleration hardware platform.
I also got an error with petalinux-build in the same place.
I looked at "zynq zcu102 opencl linux" and entered the address and size, the error disappeared.

The platform isn't fully operational yet, so I don't know if it's correct, but for now, this work seems to avoid the error.
Here is my description.

&amba {
    zyxclmm_drm {
        compatible = "xlnx,zocl";
        status = "okay";
        reg = <0x0 0xA0000000 0x0 0x10000>;
    };
};

 

View solution in original post

0 Kudos
4 Replies
Highlighted
Visitor
Visitor
1,469 Views
Registered: ‎06-16-2018

Re: Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

Hello.
I am also using the same tutorial to create an Ultra96-V2 acceleration hardware platform.
I also got an error with petalinux-build in the same place.
I looked at "zynq zcu102 opencl linux" and entered the address and size, the error disappeared.

The platform isn't fully operational yet, so I don't know if it's correct, but for now, this work seems to avoid the error.
Here is my description.

&amba {
    zyxclmm_drm {
        compatible = "xlnx,zocl";
        status = "okay";
        reg = <0x0 0xA0000000 0x0 0x10000>;
    };
};

 

View solution in original post

0 Kudos
Observer
Observer
654 Views
Registered: ‎07-25-2018

Re: Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

I had the same problem. It's caused by using the wrong double quotes: “xlnx,zocl” should be "xlnx,zocl" and “okay” should be "okay".

So this will work:

&amba {
 	zyxclmm_drm {
 		compatible = "xlnx,zocl";
 		status = "okay";
 	};
 }; 

 

Highlighted
Observer
Observer
510 Views
Registered: ‎12-03-2019

Re: Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

@immerzeelfjcThank you for pointing out the mistake in Xilinx's documentation, helped me save quite a bit of time. Hope somebody from Xilinx's staff in the forums marks this documentation error for correction so that people won't keep running in circles trying to find out why the official documentation do not work as expected.

Highlighted
Contributor
Contributor
473 Views
Registered: ‎09-17-2018

Re: Petalinux HW-Accelerated Zynq in Vitis

Jump to solution

Thank you all for solutions!

I hope that no one else will waste serval hours making project and get stuck because of wrong documentation.

Here is link to tutorial from Adam Taylor about creating hw-accelerated zynq platform: https://www.hackster.io/news/microzed-chronicles-microzed-zynq-7000-vitis-platform-creation-df25e1054fb6

Just remember about those "" symbols!

0 Kudos