diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:58 +0200 |
commit | f98b448ee835646be48f530b3e6fe13b32b093f5 (patch) | |
tree | 9d1062f1e8893e72829df650f5e558c5fb255955 /recipes-core | |
download | meta-fsl-arm-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend | 4 | ||||
-rw-r--r-- | recipes-core/udev/udev-extraconf/10-imx.rules | 24 | ||||
-rw-r--r-- | recipes-core/udev/udev-extraconf_%.bbappend | 17 |
3 files changed, 45 insertions, 0 deletions
diff --git a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend new file mode 100644 index 0000000..3e8fa2f --- /dev/null +++ b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | RDEPENDS_${PN} += " \ | ||
2 | nativesdk-elftosb \ | ||
3 | nativesdk-mxsldr \ | ||
4 | " | ||
diff --git a/recipes-core/udev/udev-extraconf/10-imx.rules b/recipes-core/udev/udev-extraconf/10-imx.rules new file mode 100644 index 0000000..1fc32dc --- /dev/null +++ b/recipes-core/udev/udev-extraconf/10-imx.rules | |||
@@ -0,0 +1,24 @@ | |||
1 | # Create symlinks for i.mx keypads and touchscreens | ||
2 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxckpd", SYMLINK+="input/keyboard0" | ||
3 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxc_ts", SYMLINK+="input/ts0" | ||
4 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="imx_adc_ts", SYMLINK+="input/ts0" | ||
5 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mpr084", SYMLINK+="input/keyboard0" | ||
6 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="tsc2007", SYMLINK+="input/ts0" | ||
7 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="STMP3XXX touchscreen", SYMLINK+="input/ts0" | ||
8 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="MXS touchscreen", SYMLINK+="input/ts0" | ||
9 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="HannStar P1003 Touchscreen", SYMLINK+="input/ts0" | ||
10 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="eGalax Touch Screen", SYMLINK+="input/ts0" | ||
11 | |||
12 | # The long class name gets cut off to be mc13783_connectiv in | ||
13 | # /sys/class/mc13783_connectivity/mc13783_connectivit | ||
14 | KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity" | ||
15 | # Anyone has readonly permission to IIM device file | ||
16 | KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" | ||
17 | KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" | ||
18 | KERNEL=="mxc_ipu", MODE="0666" | ||
19 | KERNEL=="fb0", MODE="0666" | ||
20 | KERNEL=="fb1", MODE="0666" | ||
21 | KERNEL=="fb2", MODE="0666" | ||
22 | KERNEL=="mxc_vpu", MODE="0666" | ||
23 | SUBSYSTEM=="video", MODE="0666" | ||
24 | KERNEL=="gsl_kmod", MODE="0666" | ||
diff --git a/recipes-core/udev/udev-extraconf_%.bbappend b/recipes-core/udev/udev-extraconf_%.bbappend new file mode 100644 index 0000000..f73e4bc --- /dev/null +++ b/recipes-core/udev/udev-extraconf_%.bbappend | |||
@@ -0,0 +1,17 @@ | |||
1 | # Freescale imx extra configuration udev rules | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | SRC_URI_append_mxs = " file://10-imx.rules" | ||
5 | SRC_URI_append_mx5 = " file://10-imx.rules" | ||
6 | SRC_URI_append_mx6 = " file://10-imx.rules" | ||
7 | |||
8 | do_install_prepend () { | ||
9 | if [ -e "${WORKDIR}/10-imx.rules" ]; then | ||
10 | install -d ${D}${sysconfdir}/udev/rules.d | ||
11 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d | ||
12 | fi | ||
13 | } | ||
14 | |||
15 | PACKAGE_ARCH_mxs = "${MACHINE_ARCH}" | ||
16 | PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" | ||
17 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | ||