Sorry, you need to enable JavaScript to visit this website.

Petalinux Application with Graphic User Interface

Unsolved
7 posts / 0 new
ngiolet91's picture
ngiolet91
Junior(0)
Petalinux Application with Graphic User Interface

Hi everyone,
I have made a full working Linux (Petalinux) embedded project with partial reconfiguration technique on ZedBoard. I have written a bash script in which the user can choose when and which of reconfigurable modules have to be reconfigured. I would made the same thing but with a Graphic User Interface. How can I do that? Should I change the PL and add a VGA or HDMI ip's? Is there something already ready for petalinux, also with drivers? Can I do something just with the UART and bash(I was thinking about ncurses library or something like that..)? What kind of program to make a GUI?....I never did that before.

Any help will be useful! Thanks

Regards

zedhed's picture
zedhed
Moderator(22)
RE: Petalinux Application with Graphic User Interface

Hi ngiolet91,

Have you taken a look at the Xilinx Base TRD?

http://www.wiki.xilinx.com/Zynq+Base+TRD+2015.4

It is targeted to the ZC702 board which has very similar peripherals (same HDMI output chip) as ZedBoard.

It uses Qt graphics libraries to draw the GUI to the display and Xylon logiCVC-ML evaluation IP for the HDMI interface.

Regards,

-Kevin

ngiolet91's picture
ngiolet91
Junior(0)
Hi zedhed,

Hi zedhed,
Thank you for your reply. I have seen the page but is not very clear for me...I mean, what about on how to build my custom GUI? It explains just how to run the demo..where is the ip and the workflow? Anyway I will try to read it again. Do you know other tutorials?

zedhed's picture
zedhed
Moderator(22)
RE: Hi zedhed,

Hi ngiolet91,

You can leverage the Qt libraries in the Xilinx TRD to create your own GUI.

You can find many Qt tutorial videos which will walk you through the basics.

Here is the information needed to get you up to the point where you can build Qt applications for Zynq:

http://www.wiki.xilinx.com/Zynq+Qt+and+Qwt+Base+Libraries-Build+Instruct...

Regards,

-Kevin

ngiolet91's picture
ngiolet91
Junior(0)
What about if I did a "GUI"

What about if I did a "GUI" through the terminal? Is it possible to create something very simple? (I was thinking about ncurses library or something like that)..

Thanks

zedhed's picture
zedhed
Moderator(22)
RE: What about if I did a "GUI"

Hi ngiolet91,

Yes, you should be able to cross compile ncurses to run on ZedBoard.

Here is a nice tutorial someone did for Raspberry Pi which may be interesting to you.

https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=8185

Regards,

-Kevin

ngiolet91's picture
ngiolet91
Junior(0)
Thank you Kevin for your help

Thank you Kevin for your help!