Description
To compile Android, Debian, and Buildroot system images for LCSC-TaishanPi-3-RK3576, you need a stable Linux host environment. Compared to directly installing Linux on physical hardware, setting up Ubuntu22.04 via VMware on Windows has several advantages:
- Does not disrupt the existing
Windowswork environment, lower risk. - Easy to backup/restore virtual machines. You can quickly roll back if problems occur.
- Multiple projects can each use independent virtual machines without affecting each other.
All subsequent SDK compilation, cross-development, and debugging examples will be performed in the Ubuntu22.04 virtual machine set up in this chapter.
Download VMware Workstation
There are two ways to get the VMware Workstation installation package:
Visit VMware Official Website to download the latest version of
VMware Workstation Pro. You need to register an account and log in before downloading.Use the Network Drive 🚀 to download the
VMware Workstation Proinstallation package we provide. Download the relevant version in theVMwareWorkstation/directory in the network drive under Development Tools (recommend25H2 for Windowsversion. For differences between other versions, refer to theREADME.mdfile).
Install VMware Workstation
Double-click the downloaded installation package to start the installer.
Now you can find the software icon on the desktop:
Download Ubuntu22.04 Image
There are two ways to get the Ubuntu22.04 image file:
Visit Ubuntu Official Website, click
64-bit PC (AMD64) desktop imageto download the image file.Use the Network Drive 🚀 to download the
Ubuntu22.04image file we provide. Download the relevant version in theDevelopment Tools/Ubuntu22-ISO/directory in the network drive.
Create Ubuntu22.04 Virtual Machine
Open the VMware Workstation Pro software you just installed, and click Create a new Virtual Machine:
Or, you can select New Virtual Machine... from the File menu to create a new virtual machine:
Next, start configuring:
OK, our Ubuntu system installation is halfway done. Next, start the virtual machine for the first time to complete some configuration.
Start Ubuntu22.04 Virtual Machine
Click the green triangle button to start the virtual machine:
Wait for startup to complete. If there are other peripherals connected to the host, the following dialog will pop up. Just click OK.
Or there might be such a prompt:
Continue with the installation:
Then we can enter the system desktop:
Common Issues
How to adjust virtual machine hardware configuration?
In the VMware Workstation Pro main interface, select the virtual machine on the left, then click the Edit virtual machine settings button at the top. You can modify the virtual machine's hardware configuration, such as memory size, CPU core count, network adapter, etc.