cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
971 Views
Registered: ‎10-28-2018

VCU not working in xilinx ubuntu (2018.3)

Jump to solution

Hi, 

I'm trying to work with the VCU. I used the official BSP for zcu104 and with my own block diagram.

When I use the rootfs.tar.gz generated by petalinux, I can decode h264 file with omx_decoder, seems vcu works.

But when I'm trying to get the xilinx VCU to work on the xilinx ubuntu rootfs provided here , It fails.

With the vcu_resetn connected to an emio-gpio, the bd like this: 

vcu.png

In petalinux, I set the "Device Driers->......->Xilinx VCU logicoreIP" Init to 'M' with petalinux-config -c kernel.

With lsmod I see that these related drivers: al5e,al5d,allegro,xlnx_vcu,xlnx_vcu_core,xlnx_vcu_clk  are loaded into the kernel.

On ubuntu I see non of these drivers are loaded. ( but the xilinx ubuntu have these modules inside )

The dmesg shows something like this

 

[    1.429806] xilinx-vcu-core a0140000.vcu: failed to get reset gpio for vcu.
...
[ 1.432454] VCU PLL: enable [ 1.432866] xilinx-vcu xilinx-vcu: xvcu_probe: Probed successfully

Seems the xilinx-vcu-core is not loaded correctly, which might caused the vcu not working.

I see that in the xilinx-ubuntu rootfs , these driver .ko files are already inside somewhere in  /lib/modules/$(uname -r)/

I don't know if this causes conflict or the linux are just using the .ko in here.

Anyway I replaced the 6 .ko files (al5e,al5d,allegro,xlnx_vcu,xlnx_vcu_core,xlnx_vcu_clk)with the one I built with petalinux, then the ubuntu stopped booting.

Any one can tell me the correct way to do this ?

Thanks !

 

Regards,
Kang
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
907 Views
Registered: ‎11-09-2015

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution

Hi @hu_kang ,

You might want to check all the differences between the configurations of the project from the BSP and you project. Something might be missing.

Also you might want to send the full linux log which might give more details.

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
5 Replies
Highlighted
Moderator
Moderator
908 Views
Registered: ‎11-09-2015

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution

Hi @hu_kang ,

You might want to check all the differences between the configurations of the project from the BSP and you project. Something might be missing.

Also you might want to send the full linux log which might give more details.

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
Highlighted
Adventurer
Adventurer
893 Views
Registered: ‎10-28-2018

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution
With the demo hdf, I got it running. Seems something went wrong for my bd design. Thanks!
Regards,
Kang
0 Kudos
Highlighted
Moderator
Moderator
891 Views
Registered: ‎11-09-2015

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution

Hi @hu_kang ,

As this is now solved for you, can you kindly mark your last reply as accepted solution to close the topic?

Thanks,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
Voyager
Voyager
583 Views
Registered: ‎10-31-2016

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution

Hi, 

I have same problem 

did you get true cause of it ? 

what was different in the BD ?

Best regards 

0 Kudos
Highlighted
Adventurer
Adventurer
462 Views
Registered: ‎10-28-2018

Re: VCU not working in xilinx ubuntu (2018.3)

Jump to solution

I did not spend time on finding what's wrong.

I used the example vivado project inside the bsp instead.

Regards,
Kang
0 Kudos