FRDM-IMX93 Yocto Release - BSP
Based on i.MX SW 2024 Q3 release
Linux kernel: 6.6.36_2.1.0
u-boot: 2024.04
Source: https://github.com/nxp-imx-support/meta-imx-frdm
FRDM-IMX93 BSP changes:
U-boot: Add basic support for FRDM-IMX93
Kernel: Add basic support for FRDM-IMX93 and add support for kinds of accessories
GoPoint: Add FRDM-IMX93 support
FRDM-IMX93 Yocto layer: Add Yocto layer for FRDM-IMX93 and integrate u-boot/kernel/GoPoint patches
FRDM-IMX93 accessories
7 inch Waveshare LCD: imx93-11x11-frdm-dsi.dtb
5 inch Tianma LCD: imx93-11x11-frdm-tianma-wvga-panel.dtb
RPi-CAM-MIPI: imx93-11x11-frdm.dtb
RPI-CAM-INTB: imx93-11x11-frdm-mt9m114.dtb
MX93AUD-HAT or MX93AUD-HAT + 8MIC-RPI-MX8: imx93-11x11-frdm-aud-hat.dtb
8MIC-RPI-MX8: imx93-11x11-frdm-8mic.dtb
LCD Panel
Vender
Interface
Size
Resolution
Support Touch
Purchase Link
dtb
T050RDH03-HC
Tianma
24 bit Parallel
5"
800 x 480
No
Will launch with MX91 EVK in Dec'24
imx93-11x11-frdm-tianma-wvga-panel.dtb
7inch Capacitive Touch IPS Display for Raspberry Pi, with Protection Case, 1024×600, DSI Interface
Waveshare
MIPI DSI
7"
1024x600
Yes
Click Here
imx93-11x11-frdm-dsi.dtb
Camera
Vender
Interface
Size
Resolution
Sensor
Purchase Link
dtb
RPI-CAM-MIPI
onsemi
MIPI CSI
1/4-inch
1M pixel, 1280H x 800V
AR0144
Click Here
imx93-11x11-frdm.dtb
RPI-CAM-INTB
Parallel Camera 40pins
1/6-inch
1.26 Mpixel 1296H × 976V
MT9M114
Will launch with MX91 EVK in Dec'24
imx93-11x11-frdm-mt9m114.dtb
Audio
Vender
Interface
Channel
Purchase Link
dtb
MX93AUD-HAT
Cirrus
40pins
8
Click Here
imx93-11x11-frdm-aud-hat.dtb
8MIC-RPI-MX8
NXP
40pins
8
Click Here
imx93-11x11-frdm-8mic.dtb
FRDM-IMX93 Yocto Release Usage
Download i.MX SW 2024 Q3 Release:
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
$ repo sync
Integrate FRDM-IMX93 layer into Yocto code base:
$ cd ${MY_YOCTO}/sources
$ git clone https://github.com/nxp-imx-support/meta-imx-frdm.git
Yocto Project Setup:
$ MACHINE=imx93frdm DISTRO=fsl-imx-xwayland source sources/meta-imx-frdm/tools/imx-frdm-setup.sh -b frdm-imx93
Build images:
$ bitbake imx-image-full
Flashing SD card image:
$ zstdcat imx-image-full-imx93frdm.rootfs.wic.zst | sudo dd of=/dev/sdb bs=1M && sync
Using uuu to burn image and rootfs to SD:
$ uuu -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst
FRDM-IMX93 Yocto Release – Matter support
Based on i.MX Matter 2024 Q3
Usage:
−Download i.MX SW 2024 Q3 Release;
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml
$ repo sync
−Download i.MX Matter 2024 Q3;
$ cd ${MY_YOCTO}/sources/meta-nxp-connectivity
$ git remote update
$ git checkout imx_matter_2024_q3
−Download FRDM-IMX93 Layer:
$ cd ${MY_YOCTO}/sources
$ git clone https://github.com/nxp-imx-support/meta-imx-frdm.git
−Yocto Project Setup:
$ MACHINE=imx93frdm-iwxxx-matter DISTRO=fsl-imx-xwayland source sources/meta-imx-frdm/tools/imx-frdm-matter-setup.sh bld-xwayland-imx93
−Build images:
$ bitbake imx-image-multimedia
FRDM-MX93 Debian Release
Debian is a free Operating System (OS), also known as Debian GNU/Linux.
i.MX Debian Linux SDK distribution is a combination of NXP-provided kernel and boot loaders with a Debian distro user-space image.
−Debian 12
−NXP packages are based i.MX SW Release 2024 Q3
i.MX Debian Linux SDK distribution uses Flexbuild to build system.
−Debian-based RootFS;
Debian Base (basic packages)
Debian Server (more packages without GUI Desktop)
Debian Desktop (with GNOME GUI Desktop)
−Linux kernel;
−BSP components;
−various applications (graphics, multimedia, networking, connectivity, security, and AI/ML);
Source: https://github.com/NXP/flexbuild
Introduction: https://nxp.com/nxpdebian
Quick Start with Debian
Flexbuild compiles and assembles the distro images as three parts:
BSP firmware image
Boot image
RootFS image
Creating an SD card on the Linux host
Download flex-installer
−$ wget http://www.nxp.com/lgfiles/sdk/lsdk2406/flex-installer
−$ chmod +x flex-installer; sudo mv flex-installer /usr/bin
Plug the SD card into the Linux host and install the images as below:
−$ flex-installer -i pf -d /dev/sdb (format SD card)
−$ flex-installer -i auto -d /dev/mmcblk1 -m imx93frdm (automatically download and install images)
Plug the SD card into the i.MX board and install the extra packages as follows:
−$ dhclient -i end0 (setup Ethernet network interface by DHCP or setting it manually)
−$ date -s "22 Nov 2024 09:00:00" (setting correct system time is required)
−$ debian-post-install-pkg desktop (install extra packages for GNOME GUI Desktop version)
−or
−$ debian-post-install-pkg server (install extra packages for Server version without GUI Desktop)
−# After finishing the installation, run the reboot command to boot up the Debian Desktop/Server system.
Building Debian Images with Flexbuild
Run the following commands for the first time to set up the build environment:
−$ git clone https://github.com/nxp/flexbuild
−$ cd flexbuild && . setup.env
−#Continue to run commands below in case you need to build in Docker due to lack of Ubuntu 22.04 or Debian 12 host
−$ bld docker (create or attach a docker container)
−$ . setup.env
Flexbuild usage:
−$ bld -m imx93frdm (build all images for imx93frdm)
−$ bld uboot -m imx93frdm (compile u-boot image for imx93frdm)
−$ bld linux (compile linux kernel for all arm64 i.MX machines)
−$ bld bsp -m imx93frdm (generate BSP firmware)
−$ bld boot (generate boot partition tarball including kernel, dtb, modules, distro bootscript for iMX machines)
−$ bld multimedia (build multimedia components for i.MX platforms)
−$ bld rfs -r debian:base (generate Debian base rootfs with base packages)
−$ bld apps -r debian:server (compile apps against runtime dependencies of Debian server RootFS)
−$ bld merge-apps -r debian:server (merge iMX-specific apps into target Debian server RootFS)
−$ bld packrfs (pack and compress target rootfs)
Related Documentation
FRDM-IMX93 Documents:
FRDM-IMX93 Quick Start Guide
FRDM-IMX93 Board User Manual
FRDM-IMX93 Software User Guide
More information about i.MX productions can be found at(http://www.nxp.com/imxlinux)
i.MX Yocto Project User’s Guide
i.MX Linux User’s Guide
i.MX Linux Reference Manual
i.MX Porting Guide
Debian documents at http://www.nxp.com/nxpdebian
i.MX Debian Linux SDK User Guide
View full article