Skip to main content

Generic Linux

Arm Virtual Hardware (AVH) offers a Generic Linux VM running on Ubuntu 22.4.3 to complement the other device offerings. This virtual machine is designed to be a flexible environment for developing and testing software on an Arm-based platform.

The Generic Linux VM includes a Console terminal and a Files tab to navigate the filesystem. The VM also supports VPN, SSH, and Quick Connect access for remote development and debugging as well as snapshots for saving the state of the VM's filesystem.

Default Credentials

The default username and password for the Generic Linux VM are user/password.

You can find these credentials in the AVH web interface by clicking on the Credentials button in the device's Console tab.

CPU Cores and RAM

The Generic Linux VM usually comes with 2 CPU cores and 2GB of RAM. You can adjust these in the Settings tab after creating the device.

The options for CPU cores are:

  • 4 cores
  • 2 cores (default)

The options for RAM are:

  • 4GB, available only with 4 CPU cores
  • 2GB (default)
  • 1GB

System Console

Generic Linux offers two Console tabs.

The primary Console allows you to interact with the VM's terminal. The file /dev/ttyAMA0 is connected to the Console and is owned by user.

The secondary Console provides an output where you can print messages to the user. The file /dev/ttyAMA1 is connected to the System Console and is owned by root.

To print messages to the System Console, first change the read-write permissions of /dev/ttyAMA1.

sudo chmod o+rw /dev/ttyAMA1

Then, you can write to both Consoles using the following commands:

echo "Hello, Console" > /dev/ttyAMA0
echo "Hello, System Console" > /dev/ttyAMA1