Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Petelinux installation in Virtual Machine

joniengr

Full Member level 6
Joined
Nov 3, 2018
Messages
322
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
2,859
Hi,

I have a Linux system and I am wondering if I can directly install Petalinux in a directory but some people do the installation in the other way. They first install Oracle Virtual Box and then Install Linux in the Virtual Box and then install Petalinux inside that. Which option is better ?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,919
Helped
14,335
Reputation
28,933
Reaction score
13,080
Trophy points
1,393
Location
Bochum, Germany
Activity points
282,272
Linux systems are installed in disk partitions, not directories. You can setup a multi boot system using a linux boot manager.
 

joniengr

Full Member level 6
Joined
Nov 3, 2018
Messages
322
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
2,859
The system already has Linux operating system. The question is how necessary is to install Petalinux in Virtual Machine ?

If I install Virtual Machine and then Petalinux then only a part of the CPU cores and RAM will be assigned to run Virtual Machine this will slow down performance.
 

joniengr

Full Member level 6
Joined
Nov 3, 2018
Messages
322
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
2,859
HI, I am sure if I fully understand the meaning of multi-boot installation. Can you please explain ? My main question is which approach is better performance wise ? Either to install Petalinux directly on Ubuntu LTS 18.04 or first install Oracle Virtual Machine and then install Petalinux ? Petalinux is upported by Xilinx for ZYNQ 7000.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,919
Helped
14,335
Reputation
28,933
Reaction score
13,080
Trophy points
1,393
Location
Bochum, Germany
Activity points
282,272
I was under the assumption that you want to keep the standard Linux installation and use Petalinux specifically for FPGA development. I presume performance is critical, because FPGA compilation time of complex designs is always too long. Thus I suggested a native Linux installation instead of a virtual machine. It would be setup as multi boot with the standard Linux started by default. You'll find sufficient instructions how to do.

You can however maximize the performance of a virtual machine by assigning most of the available RAM and CPU cores. It may be that the difference to a native Linux installation that owns 100% of the computer resources isn't so big, you can try.
--- Updated ---

There's a lot of discussions about VM performance, also about pro and con of Vivado on VM. Don't want to retell it.

Regarding VM performance in general, they seem to confirm what I presumed above. The VM overhead is small, but you need to assign reserve sufficient resources.
 
Last edited:

joniengr

Full Member level 6
Joined
Nov 3, 2018
Messages
322
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
2,859
Hi, is it always necessary to install Petalinux in Virtual Machine ? How about to install Petalinux directly on the standard Linux machine ?
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top