[meta-ti] Denys Dmytriyenko : eudev: immediately tell kernel that userspace FW loading failed
Arago Project git
git at arago-project.org
Fri Apr 29 18:33:17 PDT 2016
Module: meta-ti
Branch: master
Commit: 4b96409bccb7a674ab0cd0b31a540480bf13d2be
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=4b96409bccb7a674ab0cd0b31a540480bf13d2be
Author: Denys Dmytriyenko <denys at ti.com>
Date: Sat Apr 30 04:14:51 2016 +0000
eudev: immediately tell kernel that userspace FW loading failed
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-core/udev/eudev/firmware.rules | 3 +++
recipes-core/udev/eudev_%.bbappend | 7 +++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/recipes-core/udev/eudev/firmware.rules b/recipes-core/udev/eudev/firmware.rules
new file mode 100644
index 0000000..f7a08ce
--- /dev/null
+++ b/recipes-core/udev/eudev/firmware.rules
@@ -0,0 +1,3 @@
+# stub for immediately telling the kernel that userspace firmware loading
+# failed; necessary to avoid long timeouts with CONFIG_FW_LOADER_USER_HELPER=y
+SUBSYSTEM=="firmware", ACTION=="add", ATTR{loading}="-1"
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index a23d015..54cbf84 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -1,8 +1,11 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-SRC_URI_append = " file://omap-tty.rules"
+SRC_URI_append = " \
+ file://omap-tty.rules \
+ file://firmware.rules \
+"
-PR_append = ".1"
+PR_append = ".2"
install_omap_rules() {
install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
More information about the meta-ti
mailing list