summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-03-03 08:09:06 -0300
committerGitHub <noreply@github.com>2026-03-03 08:09:06 -0300
commitf9359e6c435fff9ac0d43d44a602e0e5bade9d9d (patch)
tree76956cd8fecccd6753cfdfda8aacf128b57db0e7
parent2781242e499e601ef9454009aceed16186a48d9e (diff)
parentc7bfeef53ad921f76613668de6fa2bb3bcd93235 (diff)
downloadmeta-freescale-whinlatter.tar.gz
Merge pull request #2460 from angolini/bbs-whinlatterwhinlatter
bitbake-setup compatible whinlatter
-rw-r--r--conf/fragments/eula/accept-fsl-eula.conf12
-rw-r--r--conf/fragments/graphics/framebuffer.conf9
-rw-r--r--conf/fragments/graphics/vulkan.conf8
-rw-r--r--conf/fragments/graphics/wayland.conf10
-rw-r--r--conf/fragments/graphics/xwayland.conf10
-rw-r--r--conf/fragments/init/systemd.conf8
-rw-r--r--default-registry/configurations/fsl-community-bsp-whinlatter.conf.json243
7 files changed, 300 insertions, 0 deletions
diff --git a/conf/fragments/eula/accept-fsl-eula.conf b/conf/fragments/eula/accept-fsl-eula.conf
new file mode 100644
index 000000000..933feaa00
--- /dev/null
+++ b/conf/fragments/eula/accept-fsl-eula.conf
@@ -0,0 +1,12 @@
1# Accept Freescale/NXP EULA
2#
3# By setting this variable, you indicate that you have read and accepted
4# the terms in the Freescale/NXP Software License Agreement located at:
5# ${LAYERDIR}/EULA
6#
7# This is required to build recipes that use proprietary NXP software.
8
9BB_CONF_FRAGMENT_SUMMARY = "Accept Freescale/NXP EULA"
10BB_CONF_FRAGMENT_DESCRIPTION = "This fragment sets the ACCEPT_FSL_EULA variable to '1', indicating acceptance of the Freescale/NXP EULA."
11
12ACCEPT_FSL_EULA = "1"
diff --git a/conf/fragments/graphics/framebuffer.conf b/conf/fragments/graphics/framebuffer.conf
new file mode 100644
index 000000000..80fdd0416
--- /dev/null
+++ b/conf/fragments/graphics/framebuffer.conf
@@ -0,0 +1,9 @@
1# FrameBuffer Configuration Fragment
2#
3# This fragment configures the build for framebuffer graphical backend.
4# It removes all competing backends (X11, Wayland, DirectFB, Vulkan).
5
6BB_CONF_FRAGMENT_SUMMARY = "Enable FrameBuffer backend"
7BB_CONF_FRAGMENT_DESCRIPTION = "Configures framebuffer-based graphics rendering by removing X11, Wayland, DirectFB, and Vulkan backends."
8
9DISTRO_FEATURES:remove = "x11 wayland directfb vulkan"
diff --git a/conf/fragments/graphics/vulkan.conf b/conf/fragments/graphics/vulkan.conf
new file mode 100644
index 000000000..c2599a762
--- /dev/null
+++ b/conf/fragments/graphics/vulkan.conf
@@ -0,0 +1,8 @@
1# Vulkan Configuration Fragment
2#
3# This fragment enables the Vulkan graphics API in the build.
4
5BB_CONF_FRAGMENT_SUMMARY = "Enable Vulkan graphics API"
6BB_CONF_FRAGMENT_DESCRIPTION = "Enables Vulkan support in the build by adding vulkan to DISTRO_FEATURES."
7
8DISTRO_FEATURES:append = " vulkan"
diff --git a/conf/fragments/graphics/wayland.conf b/conf/fragments/graphics/wayland.conf
new file mode 100644
index 000000000..fcdb0896e
--- /dev/null
+++ b/conf/fragments/graphics/wayland.conf
@@ -0,0 +1,10 @@
1# Wayland Configuration Fragment
2#
3# This fragment configures the build for the Wayland display backend.
4# It removes X11 and DirectFB support and enables Wayland and PAM features.
5
6BB_CONF_FRAGMENT_SUMMARY = "Enable Wayland display backend"
7BB_CONF_FRAGMENT_DESCRIPTION = "Enables Wayland display backend while removing X11 and DirectFB support. Use together with the systemd init fragment."
8
9DISTRO_FEATURES:remove = "directfb x11"
10DISTRO_FEATURES:append = " wayland pam"
diff --git a/conf/fragments/graphics/xwayland.conf b/conf/fragments/graphics/xwayland.conf
new file mode 100644
index 000000000..4f1aeac5b
--- /dev/null
+++ b/conf/fragments/graphics/xwayland.conf
@@ -0,0 +1,10 @@
1# XWayland Configuration Fragment
2#
3# This fragment configures the build for Wayland with XWayland support.
4# It enables both X11 and Wayland backends.
5
6BB_CONF_FRAGMENT_SUMMARY = "Enable Wayland with XWayland support"
7BB_CONF_FRAGMENT_DESCRIPTION = "Enables both X11 and Wayland display backends with XWayland support while removing DirectFB. Use together with the systemd init fragment."
8
9DISTRO_FEATURES:remove = "directfb"
10DISTRO_FEATURES:append = " x11 wayland pam"
diff --git a/conf/fragments/init/systemd.conf b/conf/fragments/init/systemd.conf
new file mode 100644
index 000000000..bd48fc4c0
--- /dev/null
+++ b/conf/fragments/init/systemd.conf
@@ -0,0 +1,8 @@
1# Systemd Init Manager Fragment
2#
3# This fragment sets the init manager to systemd.
4
5BB_CONF_FRAGMENT_SUMMARY = "Use systemd init manager"
6BB_CONF_FRAGMENT_DESCRIPTION = "Sets the init manager to systemd instead of the default SysVinit."
7
8INIT_MANAGER = "systemd"
diff --git a/default-registry/configurations/fsl-community-bsp-whinlatter.conf.json b/default-registry/configurations/fsl-community-bsp-whinlatter.conf.json
new file mode 100644
index 000000000..b46c6b401
--- /dev/null
+++ b/default-registry/configurations/fsl-community-bsp-whinlatter.conf.json
@@ -0,0 +1,243 @@
1{
2 "description": "NXP/Freescale Community BSP - whinlatter branch configurations",
3 "sources": {
4 "bitbake": {
5 "git-remote": {
6 "remotes": {
7 "origin": {
8 "uri": "https://git.openembedded.org/bitbake"
9 }
10 },
11 "branch": "2.16",
12 "rev": "2.16"
13 }
14 },
15 "openembedded-core": {
16 "git-remote": {
17 "remotes": {
18 "origin": {
19 "uri": "https://github.com/openembedded/openembedded-core"
20 }
21 },
22 "branch": "whinlatter",
23 "rev": "whinlatter"
24 },
25 "path": "openembedded-core"
26 },
27 "meta-yocto": {
28 "git-remote": {
29 "remotes": {
30 "origin": {
31 "uri": "https://git.yoctoproject.org/meta-yocto"
32 }
33 },
34 "branch": "whinlatter",
35 "rev": "whinlatter"
36 },
37 "path": "meta-yocto"
38 },
39 "meta-openembedded": {
40 "git-remote": {
41 "remotes": {
42 "origin": {
43 "uri": "https://github.com/openembedded/meta-openembedded"
44 }
45 },
46 "branch": "whinlatter",
47 "rev": "whinlatter"
48 },
49 "path": "meta-openembedded"
50 },
51 "meta-freescale": {
52 "git-remote": {
53 "remotes": {
54 "origin": {
55 "uri": "https://github.com/Freescale/meta-freescale"
56 }
57 },
58 "branch": "whinlatter",
59 "rev": "whinlatter"
60 },
61 "path": "meta-freescale"
62 },
63 "meta-freescale-3rdparty": {
64 "git-remote": {
65 "remotes": {
66 "origin": {
67 "uri": "https://github.com/Freescale/meta-freescale-3rdparty"
68 }
69 },
70 "branch": "whinlatter",
71 "rev": "whinlatter"
72 },
73 "path": "meta-freescale-3rdparty"
74 },
75 "meta-freescale-distro": {
76 "git-remote": {
77 "remotes": {
78 "origin": {
79 "uri": "https://github.com/Freescale/meta-freescale-distro"
80 }
81 },
82 "branch": "whinlatter",
83 "rev": "whinlatter"
84 },
85 "path": "meta-freescale-distro"
86 }
87 },
88 "bitbake-setup": {
89 "configurations": [
90 {
91 "bb-layers": [
92 "openembedded-core/meta",
93 "meta-yocto/meta-poky",
94 "meta-freescale",
95 "meta-freescale-3rdparty",
96 "meta-freescale-distro"
97 ],
98 "setup-dir-name": "$distro-$machine-whinlatter",
99 "oe-fragments-one-of": {
100 "machine": {
101 "description": "Target machines",
102 "options": [
103 {"name": "machine/imx23evk", "description": "NXP i.MX23 Evaluation Kit"},
104 {"name": "machine/imx28evk", "description": "NXP i.MX28 Evaluation Kit"},
105 {"name": "machine/imx51evk", "description": "NXP i.MX51 Evaluation Kit"},
106 {"name": "machine/imx53qsb", "description": "NXP i.MX53 Quick Start Board"},
107 {"name": "machine/imx6qdlsabreauto", "description": "NXP i.MX6QP/Q/DL SABRE Automotive"},
108 {"name": "machine/imx6qdlsabresd", "description": "NXP i.MX6QP/Q/DL SABRE Smart Device"},
109 {"name": "machine/imx6slevk", "description": "NXP i.MX6SL Evaluation Kit"},
110 {"name": "machine/imx6sllevk", "description": "NXP i.MX6SLL EVK"},
111 {"name": "machine/imx6sxsabreauto", "description": "NXP i.MX6SoloX Sabre Automotive"},
112 {"name": "machine/imx6sxsabresd", "description": "NXP i.MX6SoloX Sabre SD"},
113 {"name": "machine/imx6ulevk", "description": "NXP i.MX6UL EVK"},
114 {"name": "machine/imx6ullevk", "description": "NXP i.MX6ULL EVK"},
115 {"name": "machine/imx6ulz-14x14-evk", "description": "NXP i.MX6ULZ 14x14 EVK"},
116 {"name": "machine/imx7dsabresd", "description": "NXP i.MX7D SABRE Smart Device"},
117 {"name": "machine/imx7ulpevk", "description": "NXP i.MX7ULP EVK"},
118 {"name": "machine/imx8dx-mek", "description": "i.MX 8DualX Multisensory Enablement Kit"},
119 {"name": "machine/imx8dxl-a1-ddr3l-evk", "description": "NXP i.MX 8DualXLite A1 EVK with DDR3L"},
120 {"name": "machine/imx8dxl-a1-lpddr4-evk", "description": "NXP i.MX 8DualXLite A1 EVK with LPDDR4"},
121 {"name": "machine/imx8dxl-b0-ddr3l-evk", "description": "NXP i.MX 8DualXLite B0 EVK with DDR3L"},
122 {"name": "machine/imx8dxl-b0-lpddr4-evk", "description": "NXP i.MX 8DualXLite B0 EVK with LPDDR4"},
123 {"name": "machine/imx8mm-ddr4-evk", "description": "NXP i.MX 8M Mini EVK with DDR4"},
124 {"name": "machine/imx8mm-lpddr4-evk", "description": "NXP i.MX 8M Mini EVK with LPDDR4"},
125 {"name": "machine/imx8mn-ddr4-evk", "description": "NXP i.MX 8M Nano EVK with DDR4"},
126 {"name": "machine/imx8mn-lpddr4-evk", "description": "NXP i.MX 8M Nano EVK with LPDDR4"},
127 {"name": "machine/imx8mnul-ddr3l-evk", "description": "NXP i.MX 8M Nano UltraLite EVK with DDR3L"},
128 {"name": "machine/imx8mp-ddr4-evk", "description": "NXP i.MX 8M Plus EVK with DDR4"},
129 {"name": "machine/imx8mp-lpddr4-evk", "description": "NXP i.MX 8M Plus EVK with LPDDR4"},
130 {"name": "machine/imx8mq-evk", "description": "NXP i.MX 8M Quad Evaluation Kit"},
131 {"name": "machine/imx8mq-lpddr4-wevk", "description": "NXP i.MX 8M Quad LPDDR4 EVK with Wi-Fi"},
132 {"name": "machine/imx8qm-mek", "description": "i.MX 8QuadMax Multisensory Enablement Kit, rev B0"},
133 {"name": "machine/imx8qxp-mek", "description": "i.MX 8QuadXPlus Multisensory Enablement Kit"},
134 {"name": "machine/imx8ulp-lpddr4-evk", "description": "NXP i.MX 8ULP EVK with LPDDR4"},
135 {"name": "machine/imx93-11x11-lpddr4x-evk", "description": "NXP i.MX 93 11x11 EVK with LPDDR4X"},
136 {"name": "machine/imx93-14x14-lpddr4x-evk", "description": "NXP i.MX 93 14x14 EVK with LPDDR4X"},
137 {"name": "machine/imx93-9x9-lpddr4-qsb", "description": "NXP i.MX93 9x9 QSB with LPDDR4"},
138 {"name": "machine/imx943-19x19-lpddr4-evk", "description": "NXP i.MX 943 19x19 EVK with LPDDR4"},
139 {"name": "machine/imx95-19x19-verdin", "description": "Toradex i.MX 95 19x19 Verdin Evaluation Kit"},
140 {"name": "machine/ls1012afrwy", "description": "NXP QorIQ LS1012AFRWY"},
141 {"name": "machine/ls1012ardb", "description": "NXP QorIQ LS1012ARDB"},
142 {"name": "machine/ls1028ardb", "description": "NXP LS1028ARDB (64-bit)"},
143 {"name": "machine/ls1043ardb", "description": "NXP QorIQ LS1043ARDB"},
144 {"name": "machine/ls1046afrwy", "description": "NXP LS1046A (64-bit)"},
145 {"name": "machine/ls1046ardb", "description": "NXP LS1046ARDB (64-bit)"},
146 {"name": "machine/ls1088ardb", "description": "NXP LS1088ARDB (64-bit)"},
147 {"name": "machine/ls1088ardb-pb", "description": "NXP LS1088ARDB-PB (64-bit)"},
148 {"name": "machine/ls2088ardb", "description": "NXP LS2088ARDB (64-bit)"},
149 {"name": "machine/lx2160ardb", "description": "NXP LX2160ARDB (64-bit)"},
150 {"name": "machine/lx2162aqds", "description": "NXP LX2162AQDS (64-bit)"},
151 {"name": "machine/mpc8548cds", "description": "NXP MPC8548CDS"},
152 {"name": "machine/p1020rdb", "description": "NXP QorIQ P1020 Reference"},
153 {"name": "machine/p2020rdb", "description": "NXP QorIQ P2020 Reference"},
154 {"name": "machine/p2041rdb", "description": "NXP QorIQ P2041 Reference"},
155 {"name": "machine/p3041ds", "description": "NXP QorIQ P3041 Development"},
156 {"name": "machine/p4080ds", "description": "NXP QorIQ P4080 Development"},
157 {"name": "machine/p5040ds", "description": "NXP QorIQ P5040 Development"},
158 {"name": "machine/p5040ds-64b", "description": "NXP QorIQ P5040 Development (64-bit)"},
159 {"name": "machine/t1024rdb", "description": "NXP QorIQ T1024 Reference"},
160 {"name": "machine/t1024rdb-64b", "description": "NXP QorIQ T1024 Reference (64-bit)"},
161 {"name": "machine/t1042d4rdb", "description": "NXP QorIQ T1042D4 Reference"},
162 {"name": "machine/t1042d4rdb-64b", "description": "NXP QorIQ T1042D4 Reference (64-bit)"},
163 {"name": "machine/t2080rdb", "description": "NXP QorIQ T2080 Reference"},
164 {"name": "machine/t2080rdb-64b", "description": "NXP QorIQ T2080 Reference (64-bit)"},
165 {"name": "machine/t4240rdb", "description": "NXP QorIQ T4240 Reference"},
166 {"name": "machine/t4240rdb-64b", "description": "NXP QorIQ T4240 Reference (64-bit)"}
167 ]
168 },
169 "distro": {
170 "description": "Target Distributions",
171 "options": [
172 {"name": "distro/fsl", "description": "FSL NXP BSP base distribution"},
173 {"name": "distro/fslc", "description": "FSLC Community BSP base distribution"}
174 ]
175 }
176 },
177 "configurations": [
178 {
179 "name": "fsl",
180 "description": "I will use the distro base configuration only (either FSL or FSLC)"
181 },
182 {
183 "name": "accept-fsl-eula",
184 "description": "Accept NXP EULA only",
185 "oe-fragments": [
186 "freescale-layer/eula/accept-fsl-eula"
187 ]
188 },
189 {
190 "name": "fsl-framebuffer",
191 "description": "Accept NXP EULA and configure FrameBuffer backend",
192 "oe-fragments": [
193 "freescale-layer/eula/accept-fsl-eula",
194 "freescale-layer/graphics/framebuffer"
195 ]
196 },
197 {
198 "name": "fsl-wayland",
199 "description": "Accept NXP EULA and configure Wayland with systemd",
200 "oe-fragments": [
201 "freescale-layer/eula/accept-fsl-eula",
202 "freescale-layer/init/systemd",
203 "freescale-layer/graphics/wayland"
204 ]
205 },
206 {
207 "name": "fsl-xwayland",
208 "description": "Accept NXP EULA and configure XWayland with systemd",
209 "oe-fragments": [
210 "freescale-layer/eula/accept-fsl-eula",
211 "freescale-layer/init/systemd",
212 "freescale-layer/graphics/xwayland"
213 ]
214 },
215 {
216 "name": "framebuffer",
217 "description": "Configure FrameBuffer backend",
218 "oe-fragments": [
219 "freescale-layer/graphics/framebuffer"
220 ]
221 },
222 {
223 "name": "wayland",
224 "description": "Configure Wayland with systemd",
225 "oe-fragments": [
226 "freescale-layer/init/systemd",
227 "freescale-layer/graphics/wayland"
228 ]
229 },
230 {
231 "name": "xwayland",
232 "description": "Configure XWayland with systemd",
233 "oe-fragments": [
234 "freescale-layer/init/systemd",
235 "freescale-layer/graphics/xwayland"
236 ]
237 }
238 ]
239 }
240 ]
241 },
242 "version": "1.0"
243}