Difference between revisions of "iMX93 Industrial Debian"
Line 22: | Line 22: | ||
git clone https://github.com/voipac/debian-imx-voipac | git clone https://github.com/voipac/debian-imx-voipac | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | == Prerequisites == | ||
+ | |||
+ | For Debian image building it is necessary to install docker [https://docs.docker.com/desktop/setup/install/linux/ubuntu/ installation] as whole procedure is done in virtualised environment. | ||
== Building the image == | == Building the image == | ||
Line 28: | Line 32: | ||
This script automatically create Debian image for iMX93: | This script automatically create Debian image for iMX93: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | ./build_debian_voipac.sh | + | MACHINE=imx93-voipac ./build_debian_voipac.sh |
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | During the u-boot user will be asked for RAM Size. For basic kit configuration select default option (1), for lite select 1G (option 2) and for pro and max configurations choose 2G option (option 3). | ||
+ | |||
+ | [[File:Screenshot from 2025-01-29 08-48-33.png|thumb]] | ||
+ | |||
== Locating output files == | == Locating output files == |
Revision as of 08:49, 29 January 2025
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
Prerequisites
For Debian image building it is necessary to install docker installation as whole procedure is done in virtualised environment.
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:
MACHINE=imx93-voipac ./build_debian_voipac.sh
During the u-boot user will be asked for RAM Size. For basic kit configuration select default option (1), for lite select 1G (option 2) and for pro and max configurations choose 2G option (option 3).
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.