summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@foundries.io>2026-05-27 19:04:42 -0300
committerDaiane Angolini <daiane.angolini@foundries.io>2026-05-27 19:57:40 -0300
commit3de95be6ead9120724095e4436b467ab6e70ae74 (patch)
treecc4aa028d8fdd29c86b3b1464f1c0bbb296983c0
parenta0f1e77a387e5a68befcce4f57ad2905f812f9e6 (diff)
downloadmeta-freescale-3de95be6ead9120724095e4436b467ab6e70ae74.tar.gz
fragments/bsp: add FSLC and NXP BSP selection fragments
BSP selection (linux-fslc vs linux-imx, u-boot-fslc vs u-boot-imx) previously required a separate DISTRO from meta-freescale-distro. These fragments let users express the same choice with DISTRO = "poky" without depending on a dedicated distro layer. The fslc fragment covers the mainline-tracking BSP (linux-fslc, u-boot-fslc). The nxp fragment covers the NXP downstream BSP (linux-imx, u-boot-imx) and carries the provider preferences and GStreamer version pins previously found in fsl-base.inc. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
-rw-r--r--conf/fragments/bsp/fslc.conf8
-rw-r--r--conf/fragments/bsp/nxp.conf32
2 files changed, 40 insertions, 0 deletions
diff --git a/conf/fragments/bsp/fslc.conf b/conf/fragments/bsp/fslc.conf
new file mode 100644
index 000000000..4cf33a1b7
--- /dev/null
+++ b/conf/fragments/bsp/fslc.conf
@@ -0,0 +1,8 @@
1BB_CONF_FRAGMENT_SUMMARY = "Use FSLC BSP components (linux-fslc, u-boot-fslc)"
2BB_CONF_FRAGMENT_DESCRIPTION = "Sets IMX_DEFAULT_BSP = 'mainline' and selects the FSLC \
3linux-fslc kernel and u-boot-fslc bootloader as defaults for i.MX builds. \
4Note: DISTRO = 'poky' is used as-is; TARGET_VENDOR and DISTROOVERRIDES from \
5the legacy fslc-base.inc are not carried over."
6
7IMX_DEFAULT_BSP = "mainline"
8IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
diff --git a/conf/fragments/bsp/nxp.conf b/conf/fragments/bsp/nxp.conf
new file mode 100644
index 000000000..8a13b96ff
--- /dev/null
+++ b/conf/fragments/bsp/nxp.conf
@@ -0,0 +1,32 @@
1BB_CONF_FRAGMENT_SUMMARY = "Use NXP downstream BSP components (linux-imx, u-boot-imx)"
2BB_CONF_FRAGMENT_DESCRIPTION = "Sets IMX_DEFAULT_BSP = 'nxp' and selects NXP downstream \
3providers for the kernel, bootloader, and GStreamer plugins on mx6/mx7/mx8/mx9 SoCs. \
4Requires a layer providing linux-imx and u-boot-imx (e.g. meta-imx). \
5Note: DISTRO = 'poky' is used as-is; TARGET_VENDOR and DISTROOVERRIDES from \
6the legacy fsl-base.inc are not carried over."
7
8IMX_DEFAULT_BSP = "nxp"
9IMX_DEFAULT_BOOTLOADER = "u-boot-imx"
10
11PREFERRED_PROVIDER_virtual/kernel:mx6-nxp-bsp = "linux-imx"
12PREFERRED_PROVIDER_virtual/kernel:mx7-nxp-bsp = "linux-imx"
13PREFERRED_PROVIDER_virtual/kernel:mx8-nxp-bsp = "linux-imx"
14PREFERRED_PROVIDER_virtual/kernel:mx9-nxp-bsp = "linux-imx"
15
16MACHINE_GSTREAMER_1_0_PLUGIN:mx6-nxp-bsp = "imx-gst1.0-plugin"
17MACHINE_GSTREAMER_1_0_PLUGIN:mx7-nxp-bsp = "imx-gst1.0-plugin"
18MACHINE_GSTREAMER_1_0_PLUGIN:mx8-nxp-bsp = "imx-gst1.0-plugin"
19MACHINE_GSTREAMER_1_0_PLUGIN:mx9-nxp-bsp = "imx-gst1.0-plugin"
20
21PREFERRED_VERSION_gstreamer1.0 ??= "1.24.7.imx"
22PREFERRED_VERSION_gstreamer1.0-plugins-bad ??= "1.24.7.imx"
23PREFERRED_VERSION_gstreamer1.0-plugins-base ??= "1.24.7.imx"
24PREFERRED_VERSION_gstreamer1.0-plugins-good ??= "1.24.7.imx"
25PREFERRED_VERSION_gst-devtools ??= "1.24.0.imx"
26PREFERRED_VERSION_gstreamer1.0-libav ??= "1.24.0.imx"
27PREFERRED_VERSION_gstreamer1.0-plugins-ugly ??= "1.24.0.imx"
28PREFERRED_VERSION_gstreamer1.0-python ??= "1.24.0.imx"
29PREFERRED_VERSION_gstreamer1.0-rtsp-server ??= "1.24.0.imx"
30PREFERRED_VERSION_gstreamer1.0-vaapi ??= "1.24.0.imx"
31
32PACKAGECONFIG:append:pn-pulseaudio = " autospawn-for-root"