Difference between revisions of "iMX93 Industrial Debian"
(Created page with "Category:iMX93 Industrial Category:iMX93 Industrial Software Category:iMX93 Industrial Debian Category:Debian <!-- --> <div style="float:right">__TOC__</div>...") |
|||
Line 6: | Line 6: | ||
<div style="float:right">__TOC__</div> | <div style="float:right">__TOC__</div> | ||
− | This Wiki page guides through the process of downloading the | + | 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 [https://github.com/voipac/debian-imx-voipac Voipac GitHub] repository. | |
− | All the source files for this customized | ||
== Cloning the project == | == Cloning the project == | ||
Create a new directory for the project environment: | Create a new directory for the project environment: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | mkdir ~/voipac- | + | mkdir ~/voipac-debian |
− | cd ~/voipac- | + | cd ~/voipac-debian |
</syntaxhighlight> | </syntaxhighlight> | ||
− | Clone the | + | Clone the iMX9x Industrial Debian Project into the host machine: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | git clone https://github.com/voipac/ | + | git clone https://github.com/voipac/debian-imx-voipac |
</syntaxhighlight> | </syntaxhighlight> | ||
== Building the image == | == Building the image == | ||
− | Voipac provides quick and simple-to-use option how to build an image by using [https://github.com/voipac/ | + | Voipac provides quick and simple-to-use option how to build an image by using [https://github.com/voipac/debian-imx-voipac/blob/master/build_debian_voipac.sh build_debian_voipac.sh prepared script]: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | This script automatically create Debian image for iMX93. | |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | ./ | + | ./build_debian_voipac.sh |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:39, 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
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.