Debian Image Guide; Prepare The Host Pc; Compile The Atf - Cherry theobroma SYSTEMS PX30-mQ7 User Manual

System-on-module quad-core arm cortex-a35 featuring the rockchip px30 application processor
Hide thumbs Also See for theobroma SYSTEMS PX30-mQ7:
Table of Contents

Advertisement

5 Debian image guide

As opposed to Yocto, Debian does not provide a completely integrated build experience by itself. Linux kernel and U-Boot
have to be compiled manually and copied to the appropriate directory to be picked up by Debian.
This chapter will go through all neccessary steps, finally building a complete image using the debos Debian image builder. The
result will be a fully-functional Debian Bullseye system.
Alternatively, prebuilt images can be downloaded from https://downloads.theobroma-systems.com/ringneck/ .
Note: While Debian is a great tool for fast prototyping of your product, it is highly recommended to use a distribution/image
tailored to your need. This can be achieved by Yocto (Section 6 Building a Yocto image) or Buildroot for example.

5.1 Prepare the host PC

The debos Debian OS Builder is only available for Debian and Debian-based distributions (like Ubuntu). This chapter assumes
you use Debian or a Debian-based distribution as the host PC.
Install packages for compiling the parts and the complete image:
As debos internally uses kvm virtualization, your user must be a member of the
group:
Log out and back for the change to take affect. Then verify that
is listed in your groups:

5.2 Compile the ATF

Get the source code and compile the Arm Trusted Firmware as follows:
This step should take under 1 minute total.
v1.0.1-8-g2dd91c8
Page 20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Theobroma systems ringneck som-px30-mq7

Table of Contents