cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
puv97
Adventurer
Adventurer
401 Views
Registered: ‎01-28-2021

Operating System in ZCU102

Hi !!!

I'm using a ZCU102 and I'd like to use the board to unroll some code in the PL, execute a python script in the PS and send some information from the PS to the Azure Cloud. I have tried Ubuntu but there is very complex and gave me too many problems with libraries. Also, I have tried with Petalinux, but I'm not sure which packages I need to do all this stuff.

 

What do you think is the best solution for the operating system to do this ? I'm a rookie and I need help !

 

Thanks !

 

0 Kudos
6 Replies
stephenm
Xilinx Employee
Xilinx Employee
371 Views
Registered: ‎09-12-2007

You should have a look at the pynq solutions

http://www.pynq.io/

0 Kudos
puv97
Adventurer
Adventurer
367 Views
Registered: ‎01-28-2021

Yes ! I looked at it, but it has no solution for the ZCU102 so I dismiss that option. So do you know any other option ?

 

Thanks !

0 Kudos
watari
Professor
Professor
336 Views
Registered: ‎06-16-2013

Hi @puv97 

 

Did you refer the following ?

 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841937/Zynq+UltraScale+MPSoC+Ubuntu+part+2+-+Building+and+Running+the+Ubuntu+Desktop+From+Sources

 

If you already refereed  and gave up it, would you try the following ?

 

- Build simple linux kernel, dtb and BOOT.bin by petalinux

- Using rootfs from minimal rootfs of Ubuntu or Debian for aarch64

 

This is simple way to use well known linux distribution.

 

Best regards,

0 Kudos
puv97
Adventurer
Adventurer
265 Views
Registered: ‎01-28-2021

Yes! I've tried the tutorial but I have many problems with the internet connection, so I could not execute sudo apt update or install things, it's horrible.

 

The second option, I build the petalinux kernel as in the previous tutorial and I used the Ubuntu 18.04 rootfs obtained in: https://rcn-ee.com/rootfs/eewiki/minfs/ But also I have problems with Python, I could not install packages using "pip" because there are missing many packages of Ubuntu, so I couldn't execute my script. I don't know what else to try.

 

Thanks !

0 Kudos
watari
Professor
Professor
208 Views
Registered: ‎06-16-2013

Hi @puv97 

 

> Yes! I've tried the tutorial but I have many problems with the internet connection, so I could not execute sudo apt update or install things, it's horrible.

 

What kind of issue are you facing ? Network issue like proxy ? Sudo issue ? or other ?

 

If you are facing proxy issue, would you add proxy setting in /etc/apt.conf  like this ?

 

proxy=http://proxy.example.com:8080/

 

BTW, if you are facing sudo issue, would you modify configuration file by visudo command ?

 

Hope this helps.

 

Best regards,

0 Kudos
puv97
Adventurer
Adventurer
136 Views
Registered: ‎01-28-2021

I had problems with the routes but I finally get the solution so now I can do a ping 8.8.8.8 to the external world.

 

Now the problem is with apt, I cannot update or download anything.

puv97_6-1621936462653.png

 

 

It keeps working forever.

Thanks !

 

 

0 Kudos