iMX93 Industrial Debian

From Voipac Wiki
Revision as of 08:39, 29 January 2025 by Voipac-sw (talk | contribs)
Jump to navigation Jump to search

This Wiki page guides through the process of downloading the Debian source files for release (bookworm) and building images for the iMX93 Industrial Development Kit.


All the source files for this customized Debian, together with the recent changes made, can be inspected and downloaded at the Voipac GitHub repository.

Cloning the project

Create a new directory for the project environment:

mkdir ~/voipac-debian
cd ~/voipac-debian

Clone the iMX9x Industrial Debian Project into the host machine:

git clone https://github.com/voipac/debian-imx-voipac

Building the image

Voipac provides quick and simple-to-use option how to build an image by using build_debian_voipac.sh prepared script:

This script automatically create Debian image for iMX93.

./build_debian_voipac.sh

Note: Make sure that the synchronization finished without errors displaying the successful fetching with the following massage:

repo sync has finished successfully.

Note: The first successful build can take several hours (depending on multiple factors affecting the host machine like CPU, internet bandwidth, allocated disk space, etc.).

Locating output files

After the compiling process was completed, the freshly built output files are located in the directory:

cd ~/voipac-yocto/yocto-imx8m-voipac/build-voipac/tmp/deploy/images

This directory also include binaries to be flashed into the development kit. To make them more accessible, the files can be copied and unpacked:

cp -prv imx-boot ~/
cp -prv voipac-image-imx8mq-voipac-20230512212054.rootfs.wic.gz ~/voipac-image-imx8mq-voipac.wic.gz
gzip -d ~/voipac-image-imx8mq-voipac.wic.gz

Note: The number string (e.g. 20230512212054) in the filename differs between every build as it displays the timestamp of the compilation.

Flashing the binaries

At this point everything was prepared to flash the binaries. Follow the flashing procedure instructions to start the development kit with the compiled images.