05-20-2021 07:58 AM
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 !
05-20-2021 02:51 PM
Did you refer the following ?
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.
05-21-2021 08:14 AM
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.
05-22-2021 06:07 PM
> 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 ?
BTW, if you are facing sudo issue, would you modify configuration file by visudo command ?
Hope this helps.
05-25-2021 02:01 AM - edited 05-25-2021 02:54 AM
I had problems with the routes but I finally get the solution so now I can do a ping 22.214.171.124 to the external world.
Now the problem is with apt, I cannot update or download anything.
It keeps working forever.