TechNexion / tn-imx-yocto-manifest

TechNexion i.MX Yocto manifests
27 stars 10 forks source link

= TechNexion Yocto 4.2 Mickledore 6.1.y GA BSP

NOTE: This BSP is a TechNexion release providing support NXP i.mx series processors

== Introduction This article provides step-by-step instructions for building a Ubntu Gnome image with TechNexion's Yocto BSP, which supports the i.MX series of processors.

{nbsp} +

== System Requirements Building an image from source with Yocto requires a host with the following:

{nbsp} +

== Set up build environment on host PC === Install required packages

=== Install the repo tool

=== Download the BSP source

[#_prepare_wifi_fw] === Prepare WIFI/BT firmware

{nbsp} +

=== Configurations for setup script

MACHINE is the target of build. It usually corresponds to the name of SOM or SBC.

DISTRO is the new way to configure for any backends.

DISPLAY is the disply type. This option only works on i.mx6 (i.mx6 Solo/Dual Lite/Dual/Quad) SOMs and doesn’t work for i.mx6ul, i.mx6sx and i.mx7.

BASEBOARD is the baseboard type.

WIFI_MODULE is to choose what kind of WLAN is on board.

WIFI_FIRMWARE is to choose to add WLAN firmware files in target rootfs or not.

-b specify the build directory.

.Build configurations for supported hardware |=== |Parameter |Available options|Description

MACHINE axon-imx93 Compatible with TechNexion + AXON-IMX93 (i.MX93)
edm-imx93
Compatible with TechNexion +
EDM-IMX93 (i.MX93) imx93-11x11-lpddr4x-evk Compatible with TechNexion + IMX93-11X11-LPDDR4X-EVK (i.MX93)
edm-g-imx8mm
Compatible with TechNexion +
EDM-G-IMX8MM (i.MX8M Mini) edm-g-imx8mp Compatible with TechNexion + EDM-G-IMX8MP (i.MX8M Plus)
pico-imx8mm
Compatible with TechNexion +
PICO-IMX8MM (i.MX8M Mini) pico-imx8mq Compatible with TechNexion + PICO-IMX8M (i.MX8M Quad)
axon-imx8mp
Compatible with TechNexion +
AXON-IMX8MP (i.MX8M Plus) tek-imx8mp Compatible with TechNexion + TEK-IMX8MP (i.MX8M Plus)
tep-imx8mp
Compatible with TechNexion +
TEP-IMX8MP (i.MX8M Plus) imx8mp-lpddr4-evk Compatible with TechNexion + IMX8MP-LPDDR4-EVK (i.MX8M Plus)
imx8mp-ddr4-evk
Compatible with TechNexion +
IMX8MP-DDR4-EVK (i.MX8M Plus) pico-imx7 Compatible with TechNexion + PICO-IMX7 (i.MX7 Dual)
tep1-imx7
Compatible with TechNexion +
TEP-0500-IMX7/TEP-0700-IMX7 edm-imx6 Compatible with TechNexion + EDM-IMX6 (i.MX6 Solo/Duallite/Quad/QuadPlus)
pico-imx6
Compatible with TechNexion +

PICO-IMX6 (i.MX6 Solo/Duallite/Quad) | |pico-imx6ul |Compatible with TechNexion + PICO-IMX6UL/PICO-IMX6ULL (i.MX6 UltraLite/ULL)

|DISTRO + NOTE: +

  1. i.MX 8 should use xwayland only. +
  2. wayland is the default distro for all i.MX families. +
  3. NXP is no longer support x11 and framebuffer |fsl-imx-wayland |Wayland weston graphics

| |fsl-imx-xwayland |NOTE: + Wayland graphics and X11. X11 applications using EGL are not supported

| |imx-desktop-xwayland |NOTE: #Only for Ubuntu desktop#

|BASEBOARD

(It specifies the 'baseboard' variable in uEnv.txt) |pi, nymph, dwarf, hobbit |Compatible with TechNexion + PICO-IMX6 (i.MX6 Solo/DL/Quad/UL/ULL) + PICO-IMX7 (i.MX7 Dual)

| |fairy, tc0700 |Compatible with TechNexion + EDM-IMX6 (i.MX6 Solo/DL/Quad/Quad Plus)

| |pi-8m |Compatible with TechNexion + PICO-IMX8MQ (i.MX8M Quad) + PICO-IMX8MM (i.MX8M Mini)

| |wizard |Compatible with TechNexion + PICO-IMX8MQ (i.MX8M Quad) + PICO-IMX8MM (i.MX8M Mini) + EDM-G-IMX8MP (i.MX8M Plus) + EDM-G-IMX8MM (i.MX8M Mini)

| |wb |Compatible with TechNexion + EDM-G-IMX8MP (i.MX8M Plus) + EDM-G-IMX8MM (i.MX8M Mini)

|WIFI_MODULE

(It specifies the 'wifi_module' variable in uEnv.txt) |'nxp' + 'qca' + 'brcm' + 'ath-pci' |Choose what kind of WLAN is on board.

|WIFI_FIRMWARE |'y' + 'all' |'y' option depends on 'WIFI_MODULE'. + If you specify 'WIFI_MODULE' as 'qca'. Then, it only add 'qca' firmware package in yocto build.

'all' option will add 'nxp', 'qca', 'brcm' and 'ath-pci' firmware package in yocto build.

Please refer to section "<<_prepare_wifi_fw>>" to ensure you already put firmware files in the right place.

|DISPLAY

NOTE: +

  1. Parameter "DISPLAY" only works on i.mx6/i.mx8m +
  2. It specifies the 'displayinfo' variable in uEnv.txt |lvds7 |(i.mx6) + 7 inch 1024x600 LVDS panel

| |lvds10 |(i.mx6) + 10 inch 1280x800 LVDS panel

| |lvds15 |(i.mx6) + 15 inch 1366x768 LVDS panel

| |hdmi720p |(i.mx6) + 1280x720 HDMI

| |hdmi1080p |(i.mx6) + 1920x1080 HDMI

| |lcd |(i.mx6) + 5 inch/7 inch 800x480 TTL parallel LCD panel

| |lvds7_hdmi720p |(i.mx6) + Dual display output to both 7 inch LVDS and HDMI

| |custom |(i.mx6) + Reserved for custom panel

| |mipi5 |(i.mx8m) + MIPI-DSI 5 inch panel(with ILI9881 controller)

| |hdmi |(i.mx8m) + HDMI monitor (the resolution is decided by EDID)

|-b | |Assign the name of build directory

|===

{nbsp} +

== Build OS image for TechNexion target platform IMPORTANT: Please don't add argument 'WIFI_FIRMWARE=y' if you don't put firmware files in "sources/meta-tn-imx-bsp/recipes-kernel/linux-firmware/files". It would result in build failure. + Please refer to section "<<_prepare_wifi_fw>>".

.Common target image |=== |Available options|Description

|imx-image-core |Yocto core image

|imx-image-full |Yocto full image

|imx-image-desktop |Ubuntu Gnome desktop full image + NOTE: #Only support 64bit platform#

|===

=== For AXON-IMX93

=== For EDM-IMX93

==== For IMX93 11x11 LPDDR4X EVK +

=== For EDM-G-IMX8MP

=== For EDM-G-IMX8MM

=== For PICO-IMX8MM

=== For PICO-IMX8MQ

=== For AXON-IMX8MP

=== For TEK-IMX8MP

=== For TEP-IMX8MP

=== For NXP IMX8MP EVK with TechNexion TEVI and Vizionlink camera support ==== IMX8MP LPDDR4 EVK +

==== IMX8MP DDR4 EVK +

=== For PICO-IMX7

=== For TEP-0500-IMX7/TEP-0700-IMX7

=== For EDM-IMX6

=== For PICO-IMX6

=== For PICO-IMX6UL/PICO-IMX6ULL

{nbsp} +

== Additional Features === Chromium Browser

=== QTWebkit WARNING: QtWebengine will only work on SoC with GPU graphics hardware on i.MX 6, i.MX 7 and i.MX 8.

=== Qt 6 WARNING: Qt is not supported on i.MX 6UltraLite and i.MX 7Dual. It works on X11 backend only but is not a supported feature.

=== NXP eIQ machine learning

=== Systemd

{nbsp} +

== Image Deployment

Use bmaptool with --nobmap to flash imx-image-full-XXX.rootfs.wic.bz2 directly. + NOTE: This will take a long time to flash image.** [source,console] bmaptool copy --nobmap imx-image-full-pico-imx8mq.rootfs.wic.bz2

{nbsp} +

== Login target === Yocto

=== Ubuntu