Commit Graph

32 Commits

Author SHA1 Message Date
Alexander Stein
ec0929bb83 udev-rules-imx: Set group to video on i.MX93/95 devices
imx-pxp-g2d needs root access to
* /dev/pxp_device
* /dev/mali*
* /dev/dma_heap/linux,cma*

These are necessary for weston to start as non-root user.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
(cherry picked from commit cab7e1a11b)
2025-08-05 11:37:17 +00:00
Otavio Salvador
a769fe5a54 udev-rules-imx: Use 'install -D'
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-07-09 16:17:37 -03:00
Otavio Salvador
2a9aaf24bb udev-rules-imx: Fix warnings for S being unset
WARNING: udev-rules-imx-1.0-r0 do_unpack: udev-rules-imx: the directory
${WORKDIR}/${BP} (.../udev-rules-imx/1.0/udev-rules-imx-1.0) pointed to
by the S variable doesn't exist - please set S within the recipe to
point to where the source has been unpacked to

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-07-09 16:17:37 -03:00
Khem Raj
6ff5d29e87
udev-rules-imx: Drop setting S
Setting S here to something local is redundant moreover master oe-core
flags it now

Using S = ${WORKDIR} is no longer supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-22 18:52:12 -07:00
Khem Raj
365e9110b9
recipes: Switch WORKDIR use with UNPACKDIR
This is being enforced in master oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-22 13:25:43 -07:00
Khem Raj
25ea3585a4
udev-rules-imx: Replace WORKDIR refrences with UNPACKDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-21 22:57:43 -07:00
Otavio Salvador
a8d8dc4601 ls2080ardb: drop as it is unbuildable for too long
Fixes: #1498.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-10-12 20:27:43 -03:00
Khem Raj
59d36c9832 layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 10:08:24 -07:00
Chunrong Guo
73028a95af udev-rules-qoriq: add 73-fsl-enetc-networking.rules to qoriq-arm64
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-12-03 09:12:07 -03:00
Chunrong Guo
0df578618b udev: add rule for qoriq-arm64
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-09-12 14:45:44 -03:00
Chunrong Guo
9704df97f0 udev: add rule for t1024
*remove rule for t1023

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-15 15:20:32 -02:00
Chunrong Guo
89d1c337a4 udev-rules-qoriq: remove rule for t1024
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:37:01 -02:00
Otavio Salvador
6684de0401 Remove barebox and imx-bootlets
Those are untested and anyone interested in supporting them (mainly
barebox) ought to send the support to OE-Core instead.

This also removes the corresponding code from the
image_types_fsl.bbclass as it is not going to be used from now on.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03 18:41:20 -03:00
Otavio Salvador
18aa784c01 Move from ${COREBASE}/LICENSE to ${COMMON_LICENSE_DIR}/MIT
The OE-Core now warns when someone uses ${COREBASE}/LICENSE so we
should move to ${COMMON_LICENSE_DIR}/MIT to fix this deprecated use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-23 17:50:56 -03:00
Bob Cochran
7493e87a4d udev: remove eudev_%.bbappend and associated patch since it's no longer required
Commit d2313434 already exists in eudev to prevent udev from managing
an MMC Replay-protected memory block (RPMB)

Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and
meta-freescale minus the patch to 60-persistent-storage.rules
confirmed that udev ignores mmcblk0rpmb on boot.

referenced upstream patch:

d2313434ac

Change-Id: Ib91aed741d18a87081e82e7c71e36363bb8b3939
Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:03:51 -03:00
Ting Liu
bc39afa599 udev-rules-qoriq: add rules for ls1046a
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:01:28 -03:00
Ting Liu
b85198cf3a udev-rules-qoriq: no rule to install for ls1012a/ls2080a
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:01:28 -03:00
Ting Liu
4a9fa9a323 init-ifupdown: use consistent interfaces for qoriq
Let all qoriq boards share the same interfaces file, no difference
between qoriq-ppc and qoriq-arm.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-17 17:01:28 -03:00
Fabio Berton
fbc87c8158 udev-rules-qoriq: Set PACKAGE_ARCH to the value of MACHINE_SOCARCH
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-06 16:25:47 -02:00
Fabio Berton
7963dc4618 udev-rules-qoriq: Set override for all ls1043a soc family
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-06 16:25:47 -02:00
Lauren Post
494b4b380b alsa-lib: Add patch pcm-Don-t-store-the-state-for-SND_PCM_STATE_SUSPENDE.patch
Patch fixes the resume funcion which does not update teh dmix state

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18 16:26:15 -02:00
Ting Liu
71d5997169 udev-rules-qoriq: allow no rules installed
* set RULE to empty for ls2080ardb.
* use loop to handle the case when RULE is empty.
* set ALLOW_EMPTY to 1.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-08 11:27:02 -03:00
Ting Liu
578ab5d071 udev-rules-qoriq: add dpaa networking rules for ls1043a
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-08-12 11:41:02 -03:00
Zhenhua Luo
84bda66788 eudev: make eudev bbappend version generic
eudev_3.1.5.bbappend -> eudev_%.bbappend

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-23 10:48:49 -03:00
Hector Palacios
7c3ae4e611 imx-usb-loader: add recipe
This includes into the SDK Boundary Devices i.MX/Vybrid recovery
utility, a host tool which allows to boot an image via USB in
serial downloader mode.

It currently supports i.MX5, i.MX6, i.MX7, and Vybrid families.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:06:34 -03:00
Zhenhua Luo
17fc6cf5c5 rename udev to eudev to align with change in poky
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:26 -03:00
Ting Liu
f301302d39 udev-rules-qoriq: remove useless automount.rules
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:22 -03:00
Ting Liu
7ea0a843d0 udev-rules-qoriq: avoid conflict with udev-extraconf
udev-extraconf installs file mount.blacklist too. rpm/ndb bits should
go into udev-extraconf recipes, otherwise there will be file conflict.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:20 -03:00
Zhenhua Luo
0852984c31 udev-rules-qoriq: Add S definition and make the recipe qoriq-ppc specific
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19 15:03:15 -03:00
Otavio Salvador
1c04040365 udev-rules-qoriq: Make recipe QorIQ specific
The recipe shouldn't be used for non-QorIQ SoCs so this should have
the COMPATIBLE_MACHINE properly set.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28 23:26:59 -03:00
Otavio Salvador
6a868a6714 Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28 23:26:59 -03:00
Otavio Salvador
f8517afc7a Move meta-fsl-arm content to layer root
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 <otavio@ossystems.com.br>
2015-07-16 15:01:29 -03:00