diff options
Diffstat (limited to 'recipes-core/udev')
5 files changed, 20 insertions, 5 deletions
diff --git a/recipes-core/udev/udev-rules-imx.bb b/recipes-core/udev/udev-rules-imx.bb index 163f28350..57aff9bc8 100644 --- a/recipes-core/udev/udev-rules-imx.bb +++ b/recipes-core/udev/udev-rules-imx.bb | |||
@@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
4 | 4 | ||
5 | SRC_URI = " file://10-imx.rules" | 5 | SRC_URI = " file://10-imx.rules" |
6 | 6 | ||
7 | S = "${WORKDIR}" | 7 | S = "${UNPACKDIR}" |
8 | 8 | ||
9 | do_install () { | 9 | do_install () { |
10 | install -d ${D}${sysconfdir}/udev/rules.d | 10 | install -D -m 0644 ${UNPACKDIR}/10-imx.rules \ |
11 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ | 11 | ${D}${sysconfdir}/udev/rules.d/10-imx.rules |
12 | } | 12 | } |
diff --git a/recipes-core/udev/udev-rules-imx/10-imx.rules b/recipes-core/udev/udev-rules-imx/10-imx.rules index 6afc1e8e2..ff9237188 100644 --- a/recipes-core/udev/udev-rules-imx/10-imx.rules +++ b/recipes-core/udev/udev-rules-imx/10-imx.rules | |||
@@ -21,3 +21,6 @@ SUBSYSTEM=="video", MODE="0660" | |||
21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" | 21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" |
22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" | 22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" |
23 | KERNEL=="galcore", MODE="0660", GROUP="video" | 23 | KERNEL=="galcore", MODE="0660", GROUP="video" |
24 | KERNEL=="linux,cma*", NAME="dma_heap", MODE="0664", GROUP="video" | ||
25 | KERNEL=="mali[0-9]", MODE="0664", GROUP="video" | ||
26 | KERNEL=="pxp_device", MODE="0664", GROUP="video" | ||
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index 1200527c7..792c32343 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
@@ -9,7 +9,6 @@ SRC_URI = "\ | |||
9 | file://74-ls1046a-xfi2-networking.rules \ | 9 | file://74-ls1046a-xfi2-networking.rules \ |
10 | file://73-fsl-enetc-networking.rules \ | 10 | file://73-fsl-enetc-networking.rules \ |
11 | " | 11 | " |
12 | S = "${WORKDIR}" | ||
13 | 12 | ||
14 | RULE = "71-fsl-dpaa-persistent-networking.rules" | 13 | RULE = "71-fsl-dpaa-persistent-networking.rules" |
15 | RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules" | 14 | RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules" |
@@ -26,7 +25,7 @@ RULE:ls1012a = "" | |||
26 | do_install () { | 25 | do_install () { |
27 | install -d ${D}${sysconfdir}/udev/rules.d/ | 26 | install -d ${D}${sysconfdir}/udev/rules.d/ |
28 | for r in ${RULE};do | 27 | for r in ${RULE};do |
29 | install -m 0644 ${WORKDIR}/${r} ${D}${sysconfdir}/udev/rules.d/ | 28 | install -m 0644 ${UNPACKDIR}/${r} ${D}${sysconfdir}/udev/rules.d/ |
30 | done | 29 | done |
31 | } | 30 | } |
32 | 31 | ||
diff --git a/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules index a96b9458e..c9a6d70bb 100644 --- a/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/73-fsl-dpaa-persistent-networking.rules | |||
@@ -9,3 +9,12 @@ SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af0000", NAME="fm1-m | |||
9 | 9 | ||
10 | # Rename macless0 to "macless0" | 10 | # Rename macless0 to "macless0" |
11 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0" | 11 | SUBSYSTEM=="net", ATTR{device_type}=="macless0", NAME="macless0" |
12 | |||
13 | # Rules for handling the Upstream DPAA ethernet ports | ||
14 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae0000*", NAME="fm1-mac1" | ||
15 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae2000*", NAME="fm1-mac2" | ||
16 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae4000*", NAME="fm1-mac3" | ||
17 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae6000*", NAME="fm1-mac4" | ||
18 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1ae8000*", NAME="fm1-mac5" | ||
19 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1aea000*", NAME="fm1-mac6" | ||
20 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1af0000*", NAME="fm1-mac9" | ||
diff --git a/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules b/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules index 42931d475..79a10250a 100644 --- a/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules +++ b/recipes-core/udev/udev-rules-qoriq/74-ls1046a-xfi2-networking.rules | |||
@@ -1 +1,5 @@ | |||
1 | # Rules for handling the SDK DPAA ethernet ports | ||
1 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af2000", NAME="fm1-mac10" | 2 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", ATTR{device_addr}=="1af2000", NAME="fm1-mac10" |
3 | |||
4 | # Rules for handling the Upstream DPAA ethernet ports | ||
5 | SUBSYSTEM=="net", DRIVERS=="fsl_dpa*", KERNELS=="1af2000*", NAME="fm1-mac10" | ||