This is my guide for installing PetaLinux 2019.1 from scratch on a virtual machine.
The VM will run Ubuntu 18.04.4 64-bit and the host workstation is an Intel Xeon with
64GB RAM and 3TB HDD running Windows 10 64-bit. The PetaLinux user guide says that
the latest supported version of Ubuntu is 18.04.1 however in my experience it works just
fine in the more recent 18.04.4 version.
Step 1: Create the Virtual Machine
- Get VirtualBox from here, then install and launch it.
- Create a new virtual machine and use the following options:
- Ubuntu 64-bit
- 16 GB RAM (8GB minimum according to user guide)
- VirtualBox Disk Image
- Dynamic hard disk (resizable)
- 200 GB size (the resulting VM will have about 113GB free after all of these installs so you
can reduce this if you like)
Don’t see 64-bit? You can’t use PetaLinux tools without it. If VirtualBox doesn’t give you the
option for a 64-bit Ubuntu, you may need to enable Hardware Virtualization in your BIOS.
Step 2: Install Ubuntu 18.04.4 LTS onto the VM
We need to have the Ubuntu installation boot disk (or the ISO) so that the VM can be booted from it on
the first time it is powered up.
[Read More]