diff options
| author | Daiane Angolini <daiane.angolini@foundries.io> | 2026-05-27 19:04:42 -0300 |
|---|---|---|
| committer | Daiane Angolini <daiane.angolini@foundries.io> | 2026-05-27 19:57:40 -0300 |
| commit | 3de95be6ead9120724095e4436b467ab6e70ae74 (patch) | |
| tree | cc4aa028d8fdd29c86b3b1464f1c0bbb296983c0 | |
| parent | a0f1e77a387e5a68befcce4f57ad2905f812f9e6 (diff) | |
| download | meta-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.conf | 8 | ||||
| -rw-r--r-- | conf/fragments/bsp/nxp.conf | 32 |
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 @@ | |||
| 1 | BB_CONF_FRAGMENT_SUMMARY = "Use FSLC BSP components (linux-fslc, u-boot-fslc)" | ||
| 2 | BB_CONF_FRAGMENT_DESCRIPTION = "Sets IMX_DEFAULT_BSP = 'mainline' and selects the FSLC \ | ||
| 3 | linux-fslc kernel and u-boot-fslc bootloader as defaults for i.MX builds. \ | ||
| 4 | Note: DISTRO = 'poky' is used as-is; TARGET_VENDOR and DISTROOVERRIDES from \ | ||
| 5 | the legacy fslc-base.inc are not carried over." | ||
| 6 | |||
| 7 | IMX_DEFAULT_BSP = "mainline" | ||
| 8 | IMX_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 @@ | |||
| 1 | BB_CONF_FRAGMENT_SUMMARY = "Use NXP downstream BSP components (linux-imx, u-boot-imx)" | ||
| 2 | BB_CONF_FRAGMENT_DESCRIPTION = "Sets IMX_DEFAULT_BSP = 'nxp' and selects NXP downstream \ | ||
| 3 | providers for the kernel, bootloader, and GStreamer plugins on mx6/mx7/mx8/mx9 SoCs. \ | ||
| 4 | Requires a layer providing linux-imx and u-boot-imx (e.g. meta-imx). \ | ||
| 5 | Note: DISTRO = 'poky' is used as-is; TARGET_VENDOR and DISTROOVERRIDES from \ | ||
| 6 | the legacy fsl-base.inc are not carried over." | ||
| 7 | |||
| 8 | IMX_DEFAULT_BSP = "nxp" | ||
| 9 | IMX_DEFAULT_BOOTLOADER = "u-boot-imx" | ||
| 10 | |||
| 11 | PREFERRED_PROVIDER_virtual/kernel:mx6-nxp-bsp = "linux-imx" | ||
| 12 | PREFERRED_PROVIDER_virtual/kernel:mx7-nxp-bsp = "linux-imx" | ||
| 13 | PREFERRED_PROVIDER_virtual/kernel:mx8-nxp-bsp = "linux-imx" | ||
| 14 | PREFERRED_PROVIDER_virtual/kernel:mx9-nxp-bsp = "linux-imx" | ||
| 15 | |||
| 16 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6-nxp-bsp = "imx-gst1.0-plugin" | ||
| 17 | MACHINE_GSTREAMER_1_0_PLUGIN:mx7-nxp-bsp = "imx-gst1.0-plugin" | ||
| 18 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8-nxp-bsp = "imx-gst1.0-plugin" | ||
| 19 | MACHINE_GSTREAMER_1_0_PLUGIN:mx9-nxp-bsp = "imx-gst1.0-plugin" | ||
| 20 | |||
| 21 | PREFERRED_VERSION_gstreamer1.0 ??= "1.24.7.imx" | ||
| 22 | PREFERRED_VERSION_gstreamer1.0-plugins-bad ??= "1.24.7.imx" | ||
| 23 | PREFERRED_VERSION_gstreamer1.0-plugins-base ??= "1.24.7.imx" | ||
| 24 | PREFERRED_VERSION_gstreamer1.0-plugins-good ??= "1.24.7.imx" | ||
| 25 | PREFERRED_VERSION_gst-devtools ??= "1.24.0.imx" | ||
| 26 | PREFERRED_VERSION_gstreamer1.0-libav ??= "1.24.0.imx" | ||
| 27 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly ??= "1.24.0.imx" | ||
| 28 | PREFERRED_VERSION_gstreamer1.0-python ??= "1.24.0.imx" | ||
| 29 | PREFERRED_VERSION_gstreamer1.0-rtsp-server ??= "1.24.0.imx" | ||
| 30 | PREFERRED_VERSION_gstreamer1.0-vaapi ??= "1.24.0.imx" | ||
| 31 | |||
| 32 | PACKAGECONFIG:append:pn-pulseaudio = " autospawn-for-root" | ||
