<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/recipes-bsp/formfactor, branch master</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2026-08-07T12:30:00+00:00</updated>
<entry>
<title>oelint: Suppress noncoreoverride on the machine-gated bbappend idiom</title>
<updated>2026-08-07T12:30:00+00:00</updated>
<author>
<name>Luciano Dittgen</name>
<email>luciano.dittgen@ossystems.com.br</email>
</author>
<published>2026-08-06T17:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f22a7b5863e81b58c21ee5c9f535074ea4d09497'/>
<id>urn:sha1:f22a7b5863e81b58c21ee5c9f535074ea4d09497</id>
<content type='text'>
oelint.vars.noncoreoverride flags every statement in a bbappend that
carries no MACHINE or DISTRO override suffix, because an unconditional
override of core behaviour fails yocto-check-layer. The check is purely
syntactic: it cannot see that a statement's effective value is already
machine-gated, which is exactly how most of this layer is written.

    DRM-REMOVE = ""                                   &lt;- flagged
    DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2"
    PACKAGECONFIG:remove = "${DRM-REMOVE}"            &lt;- flagged

Neither line can be scoped. A fallback default cannot carry an override
for the machines it is the fallback for, and the dispatch line that
consumes it is a no-op wherever the helper expands empty. Scoping them
anyway would damage correct metadata: weston-init reads HAS_G2D as "elif
${HAS_G2D};" in shell, where an empty value is a syntax error.

Suppress the 58 sites proven inert, each with its own rationale. The
proof is a bitbake -e comparison on MACHINE=qemuarm64 -- a machine this
layer does not own -- with meta-freescale in and out of BBLAYERS. At
every suppressed site SRC_URI, DEPENDS, PACKAGECONFIG, OPENGL_PKGCONFIGS
and REQUIRED_DISTRO_FEATURES are unchanged; eight recipes show no
effective difference at all. The helper variables are defined in the
datastore but every consumer is override-scoped. For the 18
FILESEXTRAPATHS sites there is a stronger result: FILESPATH and
FILESEXTRAPATHS are both in BB_BASEHASH_IGNORE_VARS, so they cannot
reach a task signature.

Two anonymous python blocks are deliberately left unsuppressed and
explained in place instead. For those, oelint anchors the finding to the
line before the block, so a directive placed above only moves the anchor
onto itself: the finding survives and inlinesuppress_na is reported for
the directive. oelint.task.noanonpython anchors the same block to the
'python' line and suppresses correctly, so the two rules disagree about
where the construct starts. Upstream oelint bug candidate.

The rule count goes 76 -&gt; 18 and the layer total 548 -&gt; 491. The 16
findings that remain are not noise: they are measured, genuine
unconditional changes to machines this layer does not own, and are left
open for separate fixes.

This change is comment-only; no non-comment line is added or modified.
Validated with bitbake -p (1166 recipes, 0 errors) and an authoritative
driver rescan showing zero introduced findings in any of the 24 edited
files. The residual override/outofcontext churn in the rescan is the
known shared-metadata scan non-determinism and nets to zero.

Signed-off-by: Luciano Dittgen &lt;luciano.dittgen@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Generalize overrides subsystem for NXP and Mainline support</title>
<updated>2022-02-21T23:06:28+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-18T22:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=30f5ce1d2168389295b4813e01898c2fb0f9bab9'/>
<id>urn:sha1:30f5ce1d2168389295b4813e01898c2fb0f9bab9</id>
<content type='text'>
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.

So, for example, the mx8mq override is split into:

- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP

- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP

- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP

- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP

The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.

Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).

To convert an existing layer, the following script can be used:

```sh
  git ls-files classes recipes-* \
      | xargs sed -i \
              -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
              -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
              -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
              -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
              \
              -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
              -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
              -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(vf\w*\),:\1-generic-bsp,g' \
              -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
              -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
              -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
              -e 's,(\(imx\)),(\1-nxp-bsp),g' \
              -e 's,\(imx\)|,\1-nxp-bsp|,g' \
              -e 's,|\(imx\)),|\1-nxp-bsp),g'

  for d in $(find -type d | egrep '/mx[6-8]w*'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/imx$'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/mx[5s]w*'); do
      git mv $d $d-generic-bsp
  done
```

Fixes: #791.
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>layer: Convert to new override syntax</title>
<updated>2021-08-12T17:08:24+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-08-02T18:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=59d36c9832702989bfcca8a5af29fb2dff01efcc'/>
<id>urn:sha1:59d36c9832702989bfcca8a5af29fb2dff01efcc</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>formfactor: Fix typo in comment</title>
<updated>2018-12-13T16:01:31+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2018-10-12T22:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=24f8f13e58e65a9673722ba6008a32088c79558b'/>
<id>urn:sha1:24f8f13e58e65a9673722ba6008a32088c79558b</id>
<content type='text'>
Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
</content>
</entry>
<entry>
<title>formfactor: Add machconfig for 6SLL and 7ULP</title>
<updated>2018-08-31T00:57:09+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2018-07-27T16:12:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=fd046a95bc9e85c1986b57e9d5a8fb473d55c5d1'/>
<id>urn:sha1:fd046a95bc9e85c1986b57e9d5a8fb473d55c5d1</id>
<content type='text'>
Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>formfactor: Add machconfig for i.MX6 Q/QP/DL/Solo/SL/SX</title>
<updated>2016-10-18T18:26:15+00:00</updated>
<author>
<name>Lauren Post</name>
<email>lauren.post@nxp.com</email>
</author>
<published>2016-09-30T15:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=ef4f43c2e884c9ddeb7ad22adb1bb7ea4ac7f0c7'/>
<id>urn:sha1:ef4f43c2e884c9ddeb7ad22adb1bb7ea4ac7f0c7</id>
<content type='text'>
in poky, the formfactor/config set HAVE_KEYBOARD=1, as it
assumes a key is connected as default.  This causes the disable
of the software keyboard launch in matchbox.
Set HAVE_KEYBOARD=0 for i.MX6 Q/QP/DL/Solo/SL/SX.

Signed-off-by: Lauren Post &lt;lauren.post@nxp.com&gt;
Signed-off-by: Jun Zhu &lt;junzhu@nxp.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>formfacor: Add generic machconfig formfactors for i.MX 6UltraLite and 7Dual</title>
<updated>2016-04-19T18:03:26+00:00</updated>
<author>
<name>Lauren Post</name>
<email>lauren.post@freescale.com</email>
</author>
<published>2015-12-24T07:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=0cc7baa52558e2d93a1733aea3c491b3d4e59378'/>
<id>urn:sha1:0cc7baa52558e2d93a1733aea3c491b3d4e59378</id>
<content type='text'>
Signed-off-by: Lauren Post &lt;lauren.post@freescale.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Move meta-fsl-arm content to layer root</title>
<updated>2015-07-16T18:01:29+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2015-07-15T20:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=f8517afc7a5ada4538b3b7d397fa32586d57ffe5'/>
<id>urn:sha1:f8517afc7a5ada4538b3b7d397fa32586d57ffe5</id>
<content type='text'>
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
