How To Install crust-firmware on Ubuntu 22.04

In this tutorial we learn how to install crust-firmware on Ubuntu 22.04. crust-firmware is SCP firmware for Allwinner sunxi boards

Introduction

In this tutorial we learn how to install crust-firmware on Ubuntu 22.04.

What is crust-firmware

crust-firmware is:

Some System on a Chip (SoC) computers, also known as single-board, embed a dedicated processor called a System Control Processor (SCP) which abstracts power and system management tasks away from application processors.

Crust replaces the proprietary firmware on the Allwinner’s AR100 SCP, found in sunxi boards like Banana/Orange/Lichee Pi or Pinebook/phone.

There is usually no need to install this package. The same contents are more conveniently available from the u-boot-sunxi package.

There are three methods to install crust-firmware on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install crust-firmware Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install crust-firmware using apt-get by running the following command:

sudo apt-get -y install crust-firmware

Install crust-firmware Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install crust-firmware using apt by running the following command:

sudo apt -y install crust-firmware

Install crust-firmware Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install crust-firmware using aptitude by running the following command:

sudo aptitude -y install crust-firmware

How To Uninstall crust-firmware on Ubuntu 22.04

To uninstall only the crust-firmware package we can use the following command:

sudo apt-get remove crust-firmware

Uninstall crust-firmware And Its Dependencies

To uninstall crust-firmware and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove crust-firmware

Remove crust-firmware Configurations and Data

To remove crust-firmware configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge crust-firmware

Remove crust-firmware configuration, data, and all of its dependencies

We can use the following command to remove crust-firmware configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge crust-firmware

References

Summary

In this tutorial we learn how to install crust-firmware package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.