add "CentOS release 5.5 (Final)" into SANITY_TESTED_DISTROS
PATCH 1/16 add "CentOS release 5.5 (Final)" into SANITY_TESTED_DISTROS
From: Zhenhua Luo <[email protected]>
--- conf/distro/fsl.conf | 1 + 1 file changed, 1 insertion(+)
conf/distro/fsl.conf +1 -0
@@ -60,6 +60,7 @@ SANITY_TESTED_DISTROS ?= " \ Fedora release 15 (Lovelock) \n \ Fedora release 16 (Verne) \n \ Fedora release 17 (Beefy Miracle) \n \ + CentOS release 5.5 (Final) \n \ CentOS release 5.6 (Final) \n \ CentOS release 5.7 (Final) \n \ CentOS release 5.8 (Final) \n \
Signature · 1 line
1.7.9.5
PATCH 2/16 fsl-image-minimal: IMAGE_FSTYPES add jffs2
From: Ting Liu <[email protected]>
--- images/fsl-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
images/fsl-image-minimal.bb +1 -1
@@ -13,4 +13,4 @@ IMAGE_ROOTFS_SIZE = "8192" # remove not needed ipkg informations ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " -IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot" +IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot jffs2"
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 02/16] fsl-image-minimal: IMAGE_FSTYPES add jffs2
Quoted 12 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- images/fsl-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)images/fsl-image-minimal.bb +0
-0
images/fsl-image-minimal.bb IMAGE_ROOTFS_SIZE = "8192" · line 16
Quoted 5 lines
images/fsl-image-minimal.bb +1
-1@@ -13,4 +13,4 @@ IMAGE_ROOTFS_SIZE = "8192" # remove not needed ipkg informations ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " -IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot" +IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot jffs2"
Just to confirm, all boards will use the jffs2 image?
-M
Quoted 8 lines
--
1.7.9.5_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 02/16] fsl-image-minimal: IMAGE_FSTYPES add jffs2
The targets with NAND flash need jffs2 rootfs, e.g. mpc8536ds, mpc8572ds, p1020utm, pp1020rdb, p1021rdb, p1022ds, p1024rdb p1025rdb
Best Regards,
Zhenhua
Quoted 39 lines
-----Original Message-----
From: McClintock Matthew-B29882
Sent: Thursday, September 13, 2012 5:53 AM
To: Luo Zhenhua-B19537
Cc: [email protected]
Subject: Re: [yocto] [meta-fsl-ppc 02/16] fsl-image-minimal:IMAGE_FSTYPESadd jffs2Quoted 15 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- images/fsl-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)images/fsl-image-minimal.bb +0
-0@@ -13,4 +13,4 @@ IMAGE_ROOTFS_SIZE = "8192" # remove not needed ipkg informations ROOTFS_POSTPROCESS_COMMAND +="
remove_packaging_data_files; "images/fsl-image-minimal.bb IMAGE_ROOTFS_SIZE = "8192" · line 16
Quoted 2 lines
images/fsl-image-minimal.bb +1
-1-IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot" +IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot jffs2"Just to confirm, all boards will use the jffs2 image?
-M
Quoted 8 lines
--
1.7.9.5_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 02/16] fsl-image-minimal: IMAGE_FSTYPES add jffs2
Quoted 1 line · On Wed, Sep 12, 2012 at 9:26 PM, Luo Zhenhua-B19537 <[email protected]>…
The targets with NAND flash need jffs2 rootfs, e.g. mpc8536ds, mpc8572ds, p1020utm, pp1020rdb, p1021rdb, p1022ds, p1024rdb p1025rdb
I think other's have NAND flash too, they don't need these?
-M
Quoted 51 lines
Best Regards,
Zhenhua
Quoted 24 lines
-----Original Message-----
From: McClintock Matthew-B29882
Sent: Thursday, September 13, 2012 5:53 AM
To: Luo Zhenhua-B19537
Cc: [email protected]
Subject: Re: [yocto] [meta-fsl-ppc 02/16] fsl-image-minimal:IMAGE_FSTYPESadd jffs2Quoted 15 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- images/fsl-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)images/fsl-image-minimal.bb +0
-0@@ -13,4 +13,4 @@ IMAGE_ROOTFS_SIZE = "8192" # remove not needed ipkg informations ROOTFS_POSTPROCESS_COMMAND +="
remove_packaging_data_files; "Quoted 15 lines
images/fsl-image-minimal.bb IMAGE_ROOTFS_SIZE = "8192" · line 16
Quoted 2 lines
images/fsl-image-minimal.bb +1
-1-IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot" +IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot jffs2"Just to confirm, all boards will use the jffs2 image?
-M
Quoted 8 lines
--
1.7.9.5_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 02/16] fsl-image-minimal: IMAGE_FSTYPES add jffs2
Yes, jffs2 is required when the rootfs is loaded from NAND flash.
Best Regards,
Zhenhua
Quoted 68 lines
-----Original Message-----
From: McClintock Matthew-B29882
Sent: Thursday, September 13, 2012 10:51 AM
To: Luo Zhenhua-B19537
Cc: McClintock Matthew-B29882; [email protected]
Subject: Re: [yocto] [meta-fsl-ppc 02/16] fsl-image-minimal:IMAGE_FSTYPESadd jffs2Quoted 2 lines · On Wed, Sep 12, 2012 at 9:26 PM, Luo Zhenhua-B19537 <[email protected]>…
The targets with NAND flash need jffs2 rootfs, e.g. mpc8536ds, mpc8572ds, p1020utm, pp1020rdb, p1021rdb, p1022ds, p1024rdb p1025rdb
I think other's have NAND flash too, they don't need these?
-M
Quoted 51 lines
Best Regards,
Zhenhua
Quoted 24 lines
-----Original Message-----
From: McClintock Matthew-B29882
Sent: Thursday, September 13, 2012 5:53 AM
To: Luo Zhenhua-B19537
Cc: [email protected]
Subject: Re: [yocto] [meta-fsl-ppc 02/16] fsl-image-minimal:IMAGE_FSTYPESadd jffs2Quoted 15 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- images/fsl-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/images/fsl-image-minimal.bb index b8d3c77..f3d1ad4 100644
images/fsl-image-minimal.bb +1
-0@@ -13,4 +13,4 @@ IMAGE_ROOTFS_SIZE = "8192" # remove not needed ipkg informations ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "Quoted 15 lines
images/fsl-image-minimal.bb IMAGE_ROOTFS_SIZE = "8192" · line 16
Quoted 2 lines
images/fsl-image-minimal.bb +1
-1-IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot" +IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot jffs2"Just to confirm, all boards will use the jffs2 image?
-M
Quoted 8 lines
images/fsl-image-minimal.bb +0
-1--1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 3/16 add additional u-boot and dts for mpc85xx
In reply to [email protected]From: Ting Liu <[email protected]>
--- conf/machine/mpc8536ds.conf | 3 ++- conf/machine/mpc8548cds.conf | 5 +++-- conf/machine/mpc8572ds.conf | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-)
conf/machine/mpc8536ds.conf +2 -1
@@ -6,7 +6,8 @@ require e500v2.inc BOOTFORMAT_CONFIG = "config_ddr2_512m_mpc8536ds_667M.dat" UBOOT_MACHINES ?= "MPC8536DS MPC8536DS_36BIT MPC8536DS_NAND MPC8536DS_SDCARD MPC8536DS_SPIFLASH" -KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8536ds.dts" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8536ds.dts \ + ${S}/arch/powerpc/boot/dts/mpc8536ds_36b.dts" KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig" JFFS2_ERASEBLOCK = "0x20000"
conf/machine/mpc8548cds.conf +3 -2
@@ -4,8 +4,9 @@ require e500v2.inc -UBOOT_MACHINES ?= "MPC8548CDS" -KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8548cds_32b.dts" +UBOOT_MACHINES ?= "MPC8548CDS MPC8548CDS_36BIT" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8548cds_32b.dts \ + ${S}/arch/powerpc/boot/dts/mpc8548cds_36b.dts" KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig" JFFS2_ERASEBLOCK = "0x20000"
conf/machine/mpc8572ds.conf +3 -2
@@ -3,8 +3,9 @@ require e500v2.inc -UBOOT_MACHINES ?= "MPC8572DS" -KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8572ds.dts" +UBOOT_MACHINES ?= "MPC8572DS MPC8572DS_36BIT MPC8572DS_NAND" +KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8572ds.dts \ + ${S}/arch/powerpc/boot/dts/mpc8572ds_36b.dts" KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig" JFFS2_ERASEBLOCK = "0x20000"
Signature · 1 line
1.7.9.5
PATCH 4/16 lio-utils: add lio-utils-4.0
In reply to [email protected]From: Zhenhua Luo <[email protected]>
--- recipes-tools/lio-utils/lio-utils_4.0.bb | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes-tools/lio-utils/lio-utils_4.0.bb
recipes-tools/lio-utils/lio-utils_4.0.bb new file +48 -0
@@ -0,0 +1,48 @@ +SUMMARY = "lio-utils" +DESCRIPTION = "a simple low-level configuration tool set for the Target+iSCSI (LIO)" +HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" + +SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git" +SRCREV = "lio-4.0" +S = "${WORKDIR}/git" + +inherit distutils + +EXTRA_OEMAKE += "-C ${S}/tools PREFIX=${prefix} DESTDIR=${D}" + +# pass LDFLAGS to linker to avoid missing GNU_HASH QA errors +TARGET_CC_ARCH += "${LDFLAGS}" +do_compile() { + cd ${S}/tcm-py + distutils_do_compile + + cd ${S}/lio-py + distutils_do_compile + + if test -d ${S}/tools; then + oe_runmake + fi +} + +do_install() { + cd ${S}/tcm-py + distutils_do_install + + cd ${S}/lio-py + distutils_do_install + + SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR} + [ ! -d ${D}/${sbindir} ] && install -d ${D}/${sbindir} + for var in tcm_node tcm_dump tcm_loop tcm_fabric lio_dump lio_node; do + chmod a+x ${SITE_PACKAGES}/${var}.py + [ ! -f ${D}/${sbindir}/${var} ] && ln -s ${PYTHON_SITEPACKAGES_DIR}/${var}.py ${D}/${sbindir}/${var} + done + + if test -d ${S}/tools; then + oe_runmake install + fi +} + +FILES_${PN} += "${sbindir}/*"
Signature · 1 line
1.7.9.5
PATCH 5/16 ethtool: add ethtool-3.0
In reply to [email protected]From: Zhenhua Luo <[email protected]>
To match the kernel version of FSL SDK
--- recipes-extended/ethtool/ethtool_3.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-extended/ethtool/ethtool_3.0.bb
recipes-extended/ethtool/ethtool_3.0.bb new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Display or change ethernet card settings" +DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces." +HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/" +SECTION = "console/network" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz" +SRC_URI[md5sum] = "a339cbdcbe1c1fbe377c36d84231bda6" +SRC_URI[sha256sum] = "9b9caffc0ee3567b607618ca5bc85505230d66cd9d5caa1c333760b3885f0ae4" + +inherit autotools
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 05/16] ethtool: add ethtool-3.0
Quoted 3 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Zhenhua Luo <[email protected]>
To match the kernel version of FSL SDK
This commit message does not make sense. Can we say why we need ethtool 3.0 and the subsequent patch?
Also this patch should be for-denzil branch only as poky master already has ethtool 3.0 recipe in it.
-M
Quoted 33 lines
Signed-off-by Zhenhua Luo <[email protected]>--- recipes-extended/ethtool/ethtool_3.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-extended/ethtool/ethtool_3.0.bbrecipes-extended/ethtool/ethtool_3.0.bb new file +12
-1@@ -0,0 +1,12 @@ +SUMMARY = "Display or change ethernet card settings" +DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces." +HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/" +SECTION = "console/network" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz" +SRC_URI[md5sum] = "a339cbdcbe1c1fbe377c36d84231bda6" +SRC_URI[sha256sum] = "9b9caffc0ee3567b607618ca5bc85505230d66cd9d5caa1c333760b3885f0ae4" + +inherit autotools --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 6/16 ethtool: add FSL specific patch
In reply to [email protected]From: Zhenhua Luo <[email protected]>
--- ...ool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch | 95 ++++++++++++++++++++ recipes-extended/ethtool/ethtool_3.0.bb | 7 +- 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 recipes-extended/ethtool/ethtool-3.0/ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch
recipes-extended/ethtool/ethtool-3.0/ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch new file +95 -0
@@ -0,0 +1,95 @@ +From patchwork Thu Aug 30 15:44:09 2012 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: [SDK1.3] ethtool-3.0: Enable nfc rx-flow hashing on SPI +Date: Thu, 30 Aug 2012 21:44:09 -0000 +From: Claudiu Manoil <[email protected]> +X-Patchwork-Id: 25852 + +This makes it possible to enable hashing of AH or ESP flows +(IPSEC) based on their SPI (Security Parameter Index) field. + +Applies on top of (ethtool v3.0): +git.kernel.org/pub/scm/network/ethtool/ethtool.git +commit- +"a6fc65b Release version 3.0." + +Signed-off-by: Pankaj Chauhan <[email protected]> +Signed-off-by: Claudiu Manoil <[email protected]> +--- + ethtool-copy.h | 1 + + ethtool.8.in | 1 + + ethtool.c | 14 +++++++++++--- + 3 files changed, 13 insertions(+), 3 deletions(-) + +diff --git a/ethtool-copy.h b/ethtool-copy.h +index c7a18f7..cf20158 100644 +--- a/ethtool-copy.h ++++ b/ethtool-copy.h +@@ -888,6 +888,7 @@ enum ethtool_sfeatures_retval_bits { + #define RXH_IP_DST (1 << 5) + #define RXH_L4_B_0_1 (1 << 6) /* src port in case of TCP/UDP/SCTP */ + #define RXH_L4_B_2_3 (1 << 7) /* dst port in case of TCP/UDP/SCTP */ ++#define RXH_AH_ESP_SPI (1 << 8) /* SPI field, for AH/ESP flows */ + #define RXH_DISCARD (1 << 31) + + #define RX_CLS_FLOW_DISC 0xffffffffffffffffULL +diff --git a/ethtool.8.in b/ethtool.8.in +index 7a0bd43..a640317 100644 +--- a/ethtool.8.in ++++ b/ethtool.8.in +@@ -601,6 +601,7 @@ s Hash on the IP source address of the rx packet. + d Hash on the IP destination address of the rx packet. + f Hash on bytes 0 and 1 of the Layer 4 header of the rx packet. + n Hash on bytes 2 and 3 of the Layer 4 header of the rx packet. ++S Hash on the SPI field (4 bytes), for AH/ESP packets. + r T{ + Discard all packets of this flow type. When this option is set, all + other options are ignored. +diff --git a/ethtool.c b/ethtool.c +index 943dfb7..bb9d592 100644 +--- a/ethtool.c ++++ b/ethtool.c +@@ -231,7 +231,7 @@ static struct option { + { "-N", "--config-nfc", MODE_SNFC, "Configure Rx network flow " + "classification options", + " [ rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|" +- "tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|r... ]\n" }, ++ "tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|S|r... ]\n" }, + { "-x", "--show-rxfh-indir", MODE_GRXFHINDIR, "Show Rx flow hash " + "indirection" }, + { "-X", "--set-rxfh-indir", MODE_SRXFHINDIR, "Set Rx flow hash indirection", +@@ -728,8 +728,10 @@ static int rxflow_str_to_type(const char *str) + flow_type = TCP_V4_FLOW; + else if (!strcmp(str, "udp4")) + flow_type = UDP_V4_FLOW; +- else if (!strcmp(str, "ah4") || !strcmp(str, "esp4")) +- flow_type = AH_ESP_V4_FLOW; ++ else if (!strcmp(str, "ah4")) ++ flow_type = AH_V4_FLOW; ++ else if (!strcmp(str, "esp4")) ++ flow_type = ESP_V4_FLOW; + else if (!strcmp(str, "sctp4")) + flow_type = SCTP_V4_FLOW; + else if (!strcmp(str, "tcp6")) +@@ -1538,6 +1540,9 @@ static int parse_rxfhashopts(char *optstr, u32 *data) + case 'n': + *data |= RXH_L4_B_2_3; + break; ++ case 'S': ++ *data |= RXH_AH_ESP_SPI; ++ break; + case 'r': + *data |= RXH_DISCARD; + break; +@@ -1577,6 +1582,9 @@ static char *unparse_rxfhashopts(u64 opts) + if (opts & RXH_L4_B_2_3) { + strcat(buf, "L4 bytes 2 & 3 [TCP/UDP dst port]\n"); + } ++ if (opts & RXH_AH_ESP_SPI) { ++ strcat(buf, "SPI field (AH/ESP header)\n"); ++ } + } else { + sprintf(buf, "None"); + }
recipes-extended/ethtool/ethtool_3.0.bb +6 -1
@@ -5,7 +5,12 @@ SECTION = "console/network" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz" +PR = "r1" + +FILESEXTRAPATHS_prepend := "${THISDIR}/ethtool-3.0:" + +SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \ + file://ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch " SRC_URI[md5sum] = "a339cbdcbe1c1fbe377c36d84231bda6" SRC_URI[sha256sum] = "9b9caffc0ee3567b607618ca5bc85505230d66cd9d5caa1c333760b3885f0ae4"
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 06/16] ethtool: add FSL specific patch
Quoted 1 line · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Zhenhua Luo <[email protected]>
Another for-denzil patch. This patch needs to be rewritten for master as a patch added in oe-core or as a bbappends in our layer.
-M
Quoted 134 lines
Signed-off-by Zhenhua Luo <[email protected]>--- ...ool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch | 95 ++++++++++++++++++++ recipes-extended/ethtool/ethtool_3.0.bb | 7 +- 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 recipes-extended/ethtool/ethtool-3.0/ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patchrecipes-extended/ethtool/ethtool-3.0/ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch new file +95
-0@@ -0,0 +1,95 @@ +From patchwork Thu Aug 30 15:44:09 2012 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: [SDK1.3] ethtool-3.0: Enable nfc rx-flow hashing on SPI +Date: Thu, 30 Aug 2012 21:44:09 -0000 +From: Claudiu Manoil <[email protected]> +X-Patchwork-Id: 25852 + +This makes it possible to enable hashing of AH or ESP flows +(IPSEC) based on their SPI (Security Parameter Index) field. + +Applies on top of (ethtool v3.0): +git.kernel.org/pub/scm/network/ethtool/ethtool.git +commit- +"a6fc65b Release version 3.0." + +Signed-off-by: Pankaj Chauhan <[email protected]> +Signed-off-by: Claudiu Manoil <[email protected]> +--- + ethtool-copy.h | 1 + + ethtool.8.in | 1 + + ethtool.c | 14 +++++++++++--- + 3 files changed, 13 insertions(+), 3 deletions(-) + +diff --git a/ethtool-copy.h b/ethtool-copy.h +index c7a18f7..cf20158 100644 +--- a/ethtool-copy.h ++++ b/ethtool-copy.h +@@ -888,6 +888,7 @@ enum ethtool_sfeatures_retval_bits { + #define RXH_IP_DST (1 << 5) + #define RXH_L4_B_0_1 (1 << 6) /* src port in case of TCP/UDP/SCTP */ + #define RXH_L4_B_2_3 (1 << 7) /* dst port in case of TCP/UDP/SCTP */ ++#define RXH_AH_ESP_SPI (1 << 8) /* SPI field, for AH/ESP flows */ + #define RXH_DISCARD (1 << 31) + + #define RX_CLS_FLOW_DISC 0xffffffffffffffffULL +diff --git a/ethtool.8.in b/ethtool.8.in +index 7a0bd43..a640317 100644 +--- a/ethtool.8.in ++++ b/ethtool.8.in +@@ -601,6 +601,7 @@ s Hash on the IP source address of the rx packet. + d Hash on the IP destination address of the rx packet. + f Hash on bytes 0 and 1 of the Layer 4 header of the rx packet. + n Hash on bytes 2 and 3 of the Layer 4 header of the rx packet. ++S Hash on the SPI field (4 bytes), for AH/ESP packets. + r T{ + Discard all packets of this flow type. When this option is set, all + other options are ignored. +diff --git a/ethtool.c b/ethtool.c +index 943dfb7..bb9d592 100644 +--- a/ethtool.c ++++ b/ethtool.c +@@ -231,7 +231,7 @@ static struct option { + { "-N", "--config-nfc", MODE_SNFC, "Configure Rx network flow " + "classification options", + " [ rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|" +- "tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|r... ]\n" }, ++ "tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|S|r... ]\n" }, + { "-x", "--show-rxfh-indir", MODE_GRXFHINDIR, "Show Rx flow hash " + "indirection" }, + { "-X", "--set-rxfh-indir", MODE_SRXFHINDIR, "Set Rx flow hash indirection", +@@ -728,8 +728,10 @@ static int rxflow_str_to_type(const char *str) + flow_type = TCP_V4_FLOW; + else if (!strcmp(str, "udp4")) + flow_type = UDP_V4_FLOW; +- else if (!strcmp(str, "ah4") || !strcmp(str, "esp4")) +- flow_type = AH_ESP_V4_FLOW; ++ else if (!strcmp(str, "ah4")) ++ flow_type = AH_V4_FLOW; ++ else if (!strcmp(str, "esp4")) ++ flow_type = ESP_V4_FLOW; + else if (!strcmp(str, "sctp4")) + flow_type = SCTP_V4_FLOW; + else if (!strcmp(str, "tcp6")) +@@ -1538,6 +1540,9 @@ static int parse_rxfhashopts(char *optstr, u32 *data) + case 'n': + *data |= RXH_L4_B_2_3; + break; ++ case 'S': ++ *data |= RXH_AH_ESP_SPI; ++ break; + case 'r': + *data |= RXH_DISCARD; + break; +@@ -1577,6 +1582,9 @@ static char *unparse_rxfhashopts(u64 opts) + if (opts & RXH_L4_B_2_3) { + strcat(buf, "L4 bytes 2 & 3 [TCP/UDP dst port]\n"); + } ++ if (opts & RXH_AH_ESP_SPI) { ++ strcat(buf, "SPI field (AH/ESP header)\n"); ++ } + } else { + sprintf(buf, "None"); + }recipes-extended/ethtool/ethtool_3.0.bb +6
-2@@ -5,7 +5,12 @@ SECTION = "console/network" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz" +PR = "r1" + +FILESEXTRAPATHS_prepend := "${THISDIR}/ethtool-3.0:" + +SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \ + file://ethtool-3.0-Enable-nfc-rx-flow-hashing-on-SPI.patch " SRC_URI[md5sum] = "a339cbdcbe1c1fbe377c36d84231bda6" SRC_URI[sha256sum] = "9b9caffc0ee3567b607618ca5bc85505230d66cd9d5caa1c333760b3885f0ae4" --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 7/16 netbase: add optional parameter to control auto dhcp for eth0
In reply to [email protected]From: Ting Liu <[email protected]>
--- recipes-append/netbase/netbase_4.47.bbappend | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-append/netbase/netbase_4.47.bbappend +6 -1
@@ -1,10 +1,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +AUTO_ETH0 = '${@base_conditional("ETH0_AUTO_DHCP", "0", "0", "1", d)}' + SRC_URI += "file://71-fsl-dpaa-persistent-networking.rules" do_install_append () { install -d ${D}${sysconfdir}/udev/rules.d/ install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d + if [ "0" = "${AUTO_ETH0}" ]; then + sed -i 's,auto eth0,#auto eth0,g' ${D}${sysconfdir}/network/interfaces + fi } -PR .= "+${DISTRO}" +PR .= "+${DISTRO}.1"
Signature · 1 line
1.7.9.5
PATCH 8/16 fsl.conf: disable auto dhcp for eth0
In reply to [email protected]From: Ting Liu <[email protected]>
--- conf/distro/fsl.conf | 4 ++++ 1 file changed, 4 insertions(+)
conf/distro/fsl.conf +4 -0
@@ -91,3 +91,7 @@ PREFERRED_VERSION_samba = "3.4.0" PREFERRED_PROVIDER_virtual/libx11 = "libx11" CCACHE = "" + +# disable auto dhcp for eth0 +ETH0_AUTO_DHCP = "0" +
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 08/16] fsl.conf: disable auto dhcp for eth0
Quoted 12 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- conf/distro/fsl.conf | 4 ++++ 1 file changed, 4 insertions(+)conf/distro/fsl.conf +0
-0
conf/distro/fsl.conf PREFERRED_VERSION_samba = "3.4.0" · line 96
Quoted 6 lines
conf/distro/fsl.conf +3
-0@@ -91,3 +91,7 @@ PREFERRED_VERSION_samba = "3.4.0" PREFERRED_PROVIDER_virtual/libx11 = "libx11" CCACHE = "" + +# disable auto dhcp for eth0 +ETH0_AUTO_DHCP = "0"
As I've said before just turning off dhcp by default is not what we want. Some internal testing issue is not a reason to disable this by default as this is used by default by most users.
-M
PATCH 9/16 rcw_git.bb: update to 1.2.1 release version
In reply to [email protected]From: Matthew McClintock <[email protected]>
--- recipes-tools/rcw/rcw_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-tools/rcw/rcw_git.bb +2 -2
@@ -1,7 +1,7 @@ DESCRIPTION = "Reset Control Words (RCW)" SECTION = "rcw" LICENSE = "BSD" -PR = "r4" +PR = "r5" LIC_FILES_CHKSUM = " \ file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
@@ -16,7 +16,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy -SRCREV = "394db85c496f6e41dd7e29e54dab3db2b380b187" +SRCREV = "v1.2.1" SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git" S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.5
Khem Raj
NAKRe: [meta-fsl-ppc 09/16] rcw_git.bb: update to 1.2.1 release version
NAK
Quoted 37 lines · On Wed, Sep 12, 2012 at 12:06 AM, <[email protected]> wrote:
From: Matthew McClintock <[email protected]>
Signed-off-by Matthew McClintock <[email protected]>--- recipes-tools/rcw/rcw_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-tools/rcw/rcw_git.bb +2
-3@@ -1,7 +1,7 @@ DESCRIPTION = "Reset Control Words (RCW)" SECTION = "rcw" LICENSE = "BSD" -PR = "r4" +PR = "r5" LIC_FILES_CHKSUM = " \ file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \@@ -16,7 +16,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy -SRCREV = "394db85c496f6e41dd7e29e54dab3db2b380b187" +SRCREV = "v1.2.1" SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git" S = "${WORKDIR}/git" --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 09/16] rcw_git.bb: update to 1.2.1 release version
Quoted 1 line · On Wednesday 12 September 2012 00:40:36 Khem Raj wrote:
NAK
Please do not reply to patches like this. If you object to a patch you need to provide some reasoning.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-fsl-ppc 09/16] rcw_git.bb: update to 1.2.1 release version
Quoted 4 lines · Paul Eggleton
Quoted 1 line · On Wednesday 12 September 2012 00:40:36 Khem Raj wrote:
NAK
Please do not reply to patches like this. If you object to a patch you
need to
Quoted 1 line
provide some reasoning.
I did in the previous patch in this series which is similar
Quoted 8 lines
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre
Re: [meta-fsl-ppc 09/16] rcw_git.bb: update to 1.2.1 release version
Quoted 4 lines · Khem Raj
On Wednesday, September 12, 2012, Paul Eggleton
<[email protected]> wrote:
Quoted 8 lines
Quoted 6 lines · On Wednesday 12 September 2012 00:40:36 Khem Raj wrote:
Quoted 1 line
NAK
Please do not reply to patches like this. If you object to a patch you need to
provide some reasoning.I did in the previous patch in this series which is similar
I've gone and changed all the usage of tags back to SHAs.
-M
Quoted 15 lines
Quoted 9 lines
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 09/16] rcw_git.bb: update to 1.2.1 release version
Quoted 5 lines · On Wed, Sep 12, 2012 at 11:02 AM, McClintock Matthew-B29882…
I've gone and changed all the usage of tags back to SHAs.
Thanks Matthew you rock
PATCH 10/16 rcw: update LIC_FILES_CHKSUM file
In reply to [email protected]From: Ting Liu <[email protected]>
--- recipes-tools/rcw/rcw_git.bb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
recipes-tools/rcw/rcw_git.bb +2 -5
@@ -1,13 +1,10 @@ DESCRIPTION = "Reset Control Words (RCW)" SECTION = "rcw" LICENSE = "BSD" -PR = "r5" +PR = "r6" LIC_FILES_CHKSUM = " \ - file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p3041ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p4080ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p5020ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ + file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e \ " # this package is specific to the machine itself
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 10/16] rcw: update LIC_FILES_CHKSUM file
Quoted 15 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- recipes-tools/rcw/rcw_git.bb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)recipes-tools/rcw/rcw_git.bb +0
-0@@ -1,13 +1,10 @@ DESCRIPTION = "Reset Control Words (RCW)" SECTION = "rcw" LICENSE = "BSD"
recipes-tools/rcw/rcw_git.bb line 8
Quoted 10 lines
recipes-tools/rcw/rcw_git.bb +2
-5-PR = "r5" +PR = "r6" LIC_FILES_CHKSUM = " \ - file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p3041ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p4080ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ - file://p5020ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ + file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e \ "
This license changed but the SRC_URI/SRCREV did not? I don't think this is valid. You are assuming other bbappends recipes are in place.
-M
Quoted 10 lines
recipes-tools/rcw/rcw_git.bb +0
-1# this package is specific to the machine itself --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 11/16 u-boot: fix nand image name issue for different core type
In reply to [email protected]From: Zhenhua Luo <[email protected]>
Final nand u-boot image is named differently in u-boot source. That is:
"u-boot-nand.bin" for e500v2 boards, "u-boot.bin" for other boards.
--- recipes-kernel/u-boot/u-boot_git.bb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)
recipes-kernel/u-boot/u-boot_git.bb +11 -10
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -PR = "r19" +PR = "r21" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
@@ -49,19 +49,20 @@ do_compile () { esac if [ "x${UBOOT_TARGET}" != "x" ]; then - if [ "${UBOOT_TARGET}" == "u-boot-nand" ]; then - : - elif [ "${MACHINE_ARCH}" == "p1023rds" ] || \ - [ "${MACHINE_ARCH}" == "p2041rdb" ] || \ - [ "${MACHINE_ARCH}" == "p3041ds" ] || \ - [ "${MACHINE_ARCH}" == "p4080ds" ] || \ - [ "${MACHINE_ARCH}" == "p5020ds" ] || \ - [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then + if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then + if [ "${DEFAULTTUNE}" != "ppce500v2" ];then + cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi else - ${STAGING_BINDIR_NATIVE}/boot_format \ + if [ -n "${BOOTFORMAT_CONFIG}" ];then + ${STAGING_BINDIR_NATIVE}/boot_format \ ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin + else + cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi fi fi done
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 11/16] u-boot: fix nand image name issue for different core type
Quoted 7 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Zhenhua Luo <[email protected]>
Final nand u-boot image is named differently in u-boot source. That is:
"u-boot-nand.bin" for e500v2 boards, "u-boot.bin" for other boards.Signed-off-by Zhenhua Luo <[email protected]>Signed-off-by Ting Liu <[email protected]>
This is not applying against master.
-M
Quoted 55 lines
--- recipes-kernel/u-boot/u-boot_git.bb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)recipes-kernel/u-boot/u-boot_git.bb +11
-11@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -PR = "r19" +PR = "r21" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"@@ -49,19 +49,20 @@ do_compile () { esac if [ "x${UBOOT_TARGET}" != "x" ]; then - if [ "${UBOOT_TARGET}" == "u-boot-nand" ]; then - : - elif [ "${MACHINE_ARCH}" == "p1023rds" ] || \ - [ "${MACHINE_ARCH}" == "p2041rdb" ] || \ - [ "${MACHINE_ARCH}" == "p3041ds" ] || \ - [ "${MACHINE_ARCH}" == "p4080ds" ] || \ - [ "${MACHINE_ARCH}" == "p5020ds" ] || \ - [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then + if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then + if [ "${DEFAULTTUNE}" != "ppce500v2" ];then + cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi else - ${STAGING_BINDIR_NATIVE}/boot_format \ + if [ -n "${BOOTFORMAT_CONFIG}" ];then + ${STAGING_BINDIR_NATIVE}/boot_format \ ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin + else + cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi fi fi done --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 12/16 add nand u-boot in the default build list for p2041rdb
In reply to [email protected]From: Zhenhua Luo <[email protected]>
--- conf/machine/p2041rdb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/p2041rdb.conf +1 -1
@@ -3,7 +3,7 @@ require e500mc.inc -UBOOT_MACHINES ?= "P2041RDB P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH" +UBOOT_MACHINES ?= "P2041RDB P2041RDB_NAND P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH" KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2041rdb.dts \ ${S}/arch/powerpc/boot/dts/p2041rdb-usdpaa.dts" KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
Signature · 1 line
1.7.9.5
PATCH 13/16 Update recipes to use release tags instead of SHA
In reply to [email protected]From: Matthew McClintock <[email protected]>
--- recipes-tools/hv-cfg/hv-cfg_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-tools/hv-cfg/hv-cfg_git.bb +1 -1
@@ -18,7 +18,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy -SRCREV = "102ab848d94f3c04f364ed273d0e00b21b0266f4" +SRCREV = "v1.2" SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git" S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.5
Khem Raj
NAKRe: [meta-fsl-ppc 13/16] Update recipes to use release tags instead of SHA
NAK, it breaks BB_NO_NETWORK useless.
Quoted 28 lines · On Wed, Sep 12, 2012 at 12:06 AM, <[email protected]> wrote:
From: Matthew McClintock <[email protected]>
Signed-off-by Matthew McClintock <[email protected]>--- recipes-tools/hv-cfg/hv-cfg_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-tools/hv-cfg/hv-cfg_git.bb +1
-2@@ -18,7 +18,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy -SRCREV = "102ab848d94f3c04f364ed273d0e00b21b0266f4" +SRCREV = "v1.2" SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git" S = "${WORKDIR}/git" --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [meta-fsl-ppc 13/16] Update recipes to use release tags instead of SHA
Quoted 1 line · Khem Raj
NAK, it breaks
BB_NO_NETWORKuseless.
Khem is right, I was about to go back and change all the tags to SHAs...
-M
Quoted 33 lines · On Wed, Sep 12, 2012 at 12:06 AM, <[email protected]> wrote:
Quoted 24 lines
From: Matthew McClintock <[email protected]>
Signed-off-by Matthew McClintock <[email protected]>--- recipes-tools/hv-cfg/hv-cfg_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-tools/hv-cfg/hv-cfg_git.bb +1
-2@@ -18,7 +18,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy -SRCREV = "102ab848d94f3c04f364ed273d0e00b21b0266f4" +SRCREV = "v1.2" SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git" S = "${WORKDIR}/git" --1.7.9.5
Quoted 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
PATCH 14/16 busybox: add fsl customized defconfig
In reply to [email protected]From: Ting Liu <[email protected]>
1.use largest general-purpose configuration
2.add a patch to fix possible build issue with kernel 3.0
reference: http://www.gossamer-threads.com/lists/linux/kernel/1418363
--- .../busybox-1.19.4/busybox-1.19.4-ubi-user-h.patch | 419 ++++++++ .../busybox/busybox-1.19.4/defconfig-fsl | 1013 ++++++++++++++++++++ recipes-append/busybox/busybox-1.19.4/inetd | 33 + recipes-append/busybox/busybox-1.19.4/inetd.conf | 20 + recipes-append/busybox/busybox_1.19.4.bbappend | 15 + 5 files changed, 1500 insertions(+) create mode 100644 recipes-append/busybox/busybox-1.19.4/busybox-1.19.4-ubi-user-h.patch create mode 100644 recipes-append/busybox/busybox-1.19.4/defconfig-fsl create mode 100644 recipes-append/busybox/busybox-1.19.4/inetd create mode 100644 recipes-append/busybox/busybox-1.19.4/inetd.conf create mode 100644 recipes-append/busybox/busybox_1.19.4.bbappend
recipes-append/busybox/busybox-1.19.4/busybox-1.19.4-ubi-user-h.patch new file +419 -0
@@ -0,0 +1,419 @@ +20110926 Juergen Lambrecht <[email protected]> +This patch add an include file from mtd-utils. + +diff --exclude CVS --exclude .git -uNr busybox-1.19.4/include/mtd/ubi-user.h busybox-1.19.4.modified/include/mtd/ubi-user.h +--- busybox-1.19.4/include/mtd/ubi-user.h 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.19.4.modified/include/mtd/ubi-user.h 2011-09-26 15:48:54.884088675 +0200 +@@ -0,0 +1,412 @@ ++/* ++ * Copyright (c) International Business Machines Corp., 2006 ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License as published by ++ * the Free Software Foundation; either version 2 of the License, or ++ * (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See ++ * the GNU General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ++ * ++ * Author: Artem Bityutskiy (???????? ?????) ++ */ ++ ++#ifndef __UBI_USER_H__ ++#define __UBI_USER_H__ ++ ++#include <linux/types.h> ++ ++/* ++ * UBI device creation (the same as MTD device attachment) ++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * MTD devices may be attached using %UBI_IOCATT ioctl command of the UBI ++ * control device. The caller has to properly fill and pass ++ * &struct ubi_attach_req object - UBI will attach the MTD device specified in ++ * the request and return the newly created UBI device number as the ioctl ++ * return value. ++ * ++ * UBI device deletion (the same as MTD device detachment) ++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * An UBI device maybe deleted with %UBI_IOCDET ioctl command of the UBI ++ * control device. ++ * ++ * UBI volume creation ++ * ~~~~~~~~~~~~~~~~~~~ ++ * ++ * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character ++ * device. A &struct ubi_mkvol_req object has to be properly filled and a ++ * pointer to it has to be passed to the ioctl. ++ * ++ * UBI volume deletion ++ * ~~~~~~~~~~~~~~~~~~~ ++ * ++ * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character ++ * device should be used. A pointer to the 32-bit volume ID hast to be passed ++ * to the ioctl. ++ * ++ * UBI volume re-size ++ * ~~~~~~~~~~~~~~~~~~ ++ * ++ * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character ++ * device should be used. A &struct ubi_rsvol_req object has to be properly ++ * filled and a pointer to it has to be passed to the ioctl. ++ * ++ * UBI volumes re-name ++ * ~~~~~~~~~~~~~~~~~~~ ++ * ++ * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command ++ * of the UBI character device should be used. A &struct ubi_rnvol_req object ++ * has to be properly filled and a pointer to it has to be passed to the ioctl. ++ * ++ * UBI volume update ++ * ~~~~~~~~~~~~~~~~~ ++ * ++ * Volume update should be done via the %UBI_IOCVOLUP ioctl command of the ++ * corresponding UBI volume character device. A pointer to a 64-bit update ++ * size should be passed to the ioctl. After this, UBI expects user to write ++ * this number of bytes to the volume character device. The update is finished ++ * when the claimed number of bytes is passed. So, the volume update sequence ++ * is something like: ++ * ++ * fd = open("/dev/my_volume"); ++ * ioctl(fd, UBI_IOCVOLUP, &image_size); ++ * write(fd, buf, image_size); ++ * close(fd); ++ * ++ * Logical eraseblock erase ++ * ~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * To erase a logical eraseblock, the %UBI_IOCEBER ioctl command of the ++ * corresponding UBI volume character device should be used. This command ++ * unmaps the requested logical eraseblock, makes sure the corresponding ++ * physical eraseblock is successfully erased, and returns. ++ * ++ * Atomic logical eraseblock change ++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * Atomic logical eraseblock change operation is called using the %UBI_IOCEBCH ++ * ioctl command of the corresponding UBI volume character device. A pointer to ++ * a &struct ubi_leb_change_req object has to be passed to the ioctl. Then the ++ * user is expected to write the requested amount of bytes (similarly to what ++ * should be done in case of the "volume update" ioctl). ++ * ++ * Logical eraseblock map ++ * ~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * To map a logical eraseblock to a physical eraseblock, the %UBI_IOCEBMAP ++ * ioctl command should be used. A pointer to a &struct ubi_map_req object is ++ * expected to be passed. The ioctl maps the requested logical eraseblock to ++ * a physical eraseblock and returns. Only non-mapped logical eraseblocks can ++ * be mapped. If the logical eraseblock specified in the request is already ++ * mapped to a physical eraseblock, the ioctl fails and returns error. ++ * ++ * Logical eraseblock unmap ++ * ~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * To unmap a logical eraseblock to a physical eraseblock, the %UBI_IOCEBUNMAP ++ * ioctl command should be used. The ioctl unmaps the logical eraseblocks, ++ * schedules corresponding physical eraseblock for erasure, and returns. Unlike ++ * the "LEB erase" command, it does not wait for the physical eraseblock being ++ * erased. Note, the side effect of this is that if an unclean reboot happens ++ * after the unmap ioctl returns, you may find the LEB mapped again to the same ++ * physical eraseblock after the UBI is run again. ++ * ++ * Check if logical eraseblock is mapped ++ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * To check if a logical eraseblock is mapped to a physical eraseblock, the ++ * %UBI_IOCEBISMAP ioctl command should be used. It returns %0 if the LEB is ++ * not mapped, and %1 if it is mapped. ++ * ++ * Set an UBI volume property ++ * ~~~~~~~~~~~~~~~~~~~~~~~~~ ++ * ++ * To set an UBI volume property the %UBI_IOCSETPROP ioctl command should be ++ * used. A pointer to a &struct ubi_set_prop_req object is expected to be ++ * passed. The object describes which property should be set, and to which value ++ * it should be set. ++ */ ++ ++/* ++ * When a new UBI volume or UBI device is created, users may either specify the ++ * volume/device number they want to create or to let UBI automatically assign ++ * the number using these constants. ++ */ ++#define UBI_VOL_NUM_AUTO (-1) ++#define UBI_DEV_NUM_AUTO (-1) ++ ++/* Maximum volume name length */ ++#define UBI_MAX_VOLUME_NAME 127 ++ ++/* ioctl commands of UBI character devices */ ++ ++#define UBI_IOC_MAGIC 'o' ++ ++/* Create an UBI volume */ ++#define UBI_IOCMKVOL _IOW(UBI_IOC_MAGIC, 0, struct ubi_mkvol_req) ++/* Remove an UBI volume */ ++#define UBI_IOCRMVOL _IOW(UBI_IOC_MAGIC, 1, __s32) ++/* Re-size an UBI volume */ ++#define UBI_IOCRSVOL _IOW(UBI_IOC_MAGIC, 2, struct ubi_rsvol_req) ++/* Re-name volumes */ ++#define UBI_IOCRNVOL _IOW(UBI_IOC_MAGIC, 3, struct ubi_rnvol_req) ++ ++/* ioctl commands of the UBI control character device */ ++ ++#define UBI_CTRL_IOC_MAGIC 'o' ++ ++/* Attach an MTD device */ ++#define UBI_IOCATT _IOW(UBI_CTRL_IOC_MAGIC, 64, struct ubi_attach_req) ++/* Detach an MTD device */ ++#define UBI_IOCDET _IOW(UBI_CTRL_IOC_MAGIC, 65, __s32) ++ ++/* ioctl commands of UBI volume character devices */ ++ ++#define UBI_VOL_IOC_MAGIC 'O' ++ ++/* Start UBI volume update */ ++#define UBI_IOCVOLUP _IOW(UBI_VOL_IOC_MAGIC, 0, __s64) ++/* LEB erasure command, used for debugging, disabled by default */ ++#define UBI_IOCEBER _IOW(UBI_VOL_IOC_MAGIC, 1, __s32) ++/* Atomic LEB change command */ ++#define UBI_IOCEBCH _IOW(UBI_VOL_IOC_MAGIC, 2, __s32) ++/* Map LEB command */ ++#define UBI_IOCEBMAP _IOW(UBI_VOL_IOC_MAGIC, 3, struct ubi_map_req) ++/* Unmap LEB command */ ++#define UBI_IOCEBUNMAP _IOW(UBI_VOL_IOC_MAGIC, 4, __s32) ++/* Check if LEB is mapped command */ ++#define UBI_IOCEBISMAP _IOR(UBI_VOL_IOC_MAGIC, 5, __s32) ++/* Set an UBI volume property */ ++#define UBI_IOCSETPROP _IOW(UBI_VOL_IOC_MAGIC, 6, struct ubi_set_prop_req) ++ ++/* Maximum MTD device name length supported by UBI */ ++#define MAX_UBI_MTD_NAME_LEN 127 ++ ++/* Maximum amount of UBI volumes that can be re-named at one go */ ++#define UBI_MAX_RNVOL 32 ++ ++/* ++ * UBI data type hint constants. ++ * ++ * UBI_LONGTERM: long-term data ++ * UBI_SHORTTERM: short-term data ++ * UBI_UNKNOWN: data persistence is unknown ++ * ++ * These constants are used when data is written to UBI volumes in order to ++ * help the UBI wear-leveling unit to find more appropriate physical ++ * eraseblocks. ++ */ ++enum { ++ UBI_LONGTERM = 1, ++ UBI_SHORTTERM = 2, ++ UBI_UNKNOWN = 3, ++}; ++ ++/* ++ * UBI volume type constants. ++ * ++ * @UBI_DYNAMIC_VOLUME: dynamic volume ++ * @UBI_STATIC_VOLUME: static volume ++ */ ++enum { ++ UBI_DYNAMIC_VOLUME = 3, ++ UBI_STATIC_VOLUME = 4, ++}; ++ ++/* ++ * UBI set property ioctl constants ++ * ++ * @UBI_PROP_DIRECT_WRITE: allow / disallow user to directly write and ++ * erase individual eraseblocks on dynamic volumes ++ */ ++enum { ++ UBI_PROP_DIRECT_WRITE = 1, ++}; ++ ++/** ++ * struct ubi_attach_req - attach MTD device request. ++ * @ubi_num: UBI device number to create ++ * @mtd_num: MTD device number to attach ++ * @vid_hdr_offset: VID header offset (use defaults if %0) ++ * @padding: reserved for future, not used, has to be zeroed ++ * ++ * This data structure is used to specify MTD device UBI has to attach and the ++ * parameters it has to use. The number which should be assigned to the new UBI ++ * device is passed in @ubi_num. UBI may automatically assign the number if ++ * @UBI_DEV_NUM_AUTO is passed. In this case, the device number is returned in ++ * @ubi_num. ++ * ++ * Most applications should pass %0 in @vid_hdr_offset to make UBI use default ++ * offset of the VID header within physical eraseblocks. The default offset is ++ * the next min. I/O unit after the EC header. For example, it will be offset ++ * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or ++ * it will be 512 in case of a 2KiB page NAND flash with 4 512-byte sub-pages. ++ * ++ * But in rare cases, if this optimizes things, the VID header may be placed to ++ * a different offset. For example, the boot-loader might do things faster if ++ * the VID header sits at the end of the first 2KiB NAND page with 4 sub-pages. ++ * As the boot-loader would not normally need to read EC headers (unless it ++ * needs UBI in RW mode), it might be faster to calculate ECC. This is weird ++ * example, but it real-life example. So, in this example, @vid_hdr_offer would ++ * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes ++ * aligned, which is OK, as UBI is clever enough to realize this is 4th ++ * sub-page of the first page and add needed padding. ++ */ ++struct ubi_attach_req { ++ __s32 ubi_num; ++ __s32 mtd_num; ++ __s32 vid_hdr_offset; ++ __s8 padding[12]; ++}; ++ ++/** ++ * struct ubi_mkvol_req - volume description data structure used in ++ * volume creation requests. ++ * @vol_id: volume number ++ * @alignment: volume alignment ++ * @bytes: volume size in bytes ++ * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME) ++ * @padding1: reserved for future, not used, has to be zeroed ++ * @name_len: volume name length ++ * @padding2: reserved for future, not used, has to be zeroed ++ * @name: volume name ++ * ++ * This structure is used by user-space programs when creating new volumes. The ++ * @used_bytes field is only necessary when creating static volumes. ++ * ++ * The @alignment field specifies the required alignment of the volume logical ++ * eraseblock. This means, that the size of logical eraseblocks will be aligned ++ * to this number, i.e., ++ * (UBI device logical eraseblock size) mod (@alignment) = 0. ++ * ++ * To put it differently, the logical eraseblock of this volume may be slightly ++ * shortened in order to make it properly aligned. The alignment has to be ++ * multiple of the flash minimal input/output unit, or %1 to utilize the entire ++ * available space of logical eraseblocks. ++ * ++ * The @alignment field may be useful, for example, when one wants to maintain ++ * a block device on top of an UBI volume. In this case, it is desirable to fit ++ * an integer number of blocks in logical eraseblocks of this UBI volume. With ++ * alignment it is possible to update this volume using plane UBI volume image ++ * BLOBs, without caring about how to properly align them. ++ */ ++struct ubi_mkvol_req { ++ __s32 vol_id; ++ __s32 alignment; ++ __s64 bytes; ++ __s8 vol_type; ++ __s8 padding1; ++ __s16 name_len; ++ __s8 padding2[4]; ++ char name[UBI_MAX_VOLUME_NAME + 1]; ++} __attribute__ ((packed)); ++ ++/** ++ * struct ubi_rsvol_req - a data structure used in volume re-size requests. ++ * @vol_id: ID of the volume to re-size ++ * @bytes: new size of the volume in bytes ++ * ++ * Re-sizing is possible for both dynamic and static volumes. But while dynamic ++ * volumes may be re-sized arbitrarily, static volumes cannot be made to be ++ * smaller than the number of bytes they bear. To arbitrarily shrink a static ++ * volume, it must be wiped out first (by means of volume update operation with ++ * zero number of bytes). ++ */ ++struct ubi_rsvol_req { ++ __s64 bytes; ++ __s32 vol_id; ++} __attribute__ ((packed)); ++ ++/** ++ * struct ubi_rnvol_req - volumes re-name request. ++ * @count: count of volumes to re-name ++ * @padding1: reserved for future, not used, has to be zeroed ++ * @vol_id: ID of the volume to re-name ++ * @name_len: name length ++ * @padding2: reserved for future, not used, has to be zeroed ++ * @name: new volume name ++ * ++ * UBI allows to re-name up to %32 volumes at one go. The count of volumes to ++ * re-name is specified in the @count field. The ID of the volumes to re-name ++ * and the new names are specified in the @vol_id and @name fields. ++ * ++ * The UBI volume re-name operation is atomic, which means that should power cut ++ * happen, the volumes will have either old name or new name. So the possible ++ * use-cases of this command is atomic upgrade. Indeed, to upgrade, say, volumes ++ * A and B one may create temporary volumes %A1 and %B1 with the new contents, ++ * then atomically re-name A1->A and B1->B, in which case old %A and %B will ++ * be removed. ++ * ++ * If it is not desirable to remove old A and B, the re-name request has to ++ * contain 4 entries: A1->A, A->A1, B1->B, B->B1, in which case old A1 and B1 ++ * become A and B, and old A and B will become A1 and B1. ++ * ++ * It is also OK to request: A1->A, A1->X, B1->B, B->Y, in which case old A1 ++ * and B1 become A and B, and old A and B become X and Y. ++ * ++ * In other words, in case of re-naming into an existing volume name, the ++ * existing volume is removed, unless it is re-named as well at the same ++ * re-name request. ++ */ ++struct ubi_rnvol_req { ++ __s32 count; ++ __s8 padding1[12]; ++ struct { ++ __s32 vol_id; ++ __s16 name_len; ++ __s8 padding2[2]; ++ char name[UBI_MAX_VOLUME_NAME + 1]; ++ } ents[UBI_MAX_RNVOL]; ++} __attribute__ ((packed)); ++ ++/** ++ * struct ubi_leb_change_req - a data structure used in atomic LEB change ++ * requests. ++ * @lnum: logical eraseblock number to change ++ * @bytes: how many bytes will be written to the logical eraseblock ++ * @dtype: data type (%UBI_LONGTERM, %UBI_SHORTTERM, %UBI_UNKNOWN) ++ * @padding: reserved for future, not used, has to be zeroed ++ */ ++struct ubi_leb_change_req { ++ __s32 lnum; ++ __s32 bytes; ++ __s8 dtype; ++ __s8 padding[7]; ++} __attribute__ ((packed)); ++ ++/** ++ * struct ubi_map_req - a data structure used in map LEB requests. ++ * @lnum: logical eraseblock number to unmap ++ * @dtype: data type (%UBI_LONGTERM, %UBI_SHORTTERM, %UBI_UNKNOWN) ++ * @padding: reserved for future, not used, has to be zeroed ++ */ ++struct ubi_map_req { ++ __s32 lnum; ++ __s8 dtype; ++ __s8 padding[3]; ++} __attribute__ ((packed)); ++ ++ ++/** ++ * struct ubi_set_prop_req - a data structure used to set an ubi volume ++ * property. ++ * @property: property to set (%UBI_PROP_DIRECT_WRITE) ++ * @padding: reserved for future, not used, has to be zeroed ++ * @value: value to set ++ */ ++struct ubi_set_prop_req { ++ __u8 property; ++ __u8 padding[7]; ++ __u64 value; ++} __attribute__ ((packed)); ++ ++#endif /* __UBI_USER_H__ */
recipes-append/busybox/busybox-1.19.4/defconfig-fsl new file +1013 -0
1,013 lines not on this page · raw message
recipes-append/busybox/busybox-1.19.4/inetd new file +33 -0
@@ -0,0 +1,33 @@ +#!/bin/sh +# +# start/stop inetd super server. + +if ! [ -x /usr/sbin/inetd ]; then + exit 0 +fi + +case "$1" in + start) + echo -n "Starting internet superserver:" + echo -n " inetd" ; start-stop-daemon -S -x /usr/sbin/inetd > /dev/null + echo "." + ;; + stop) + echo -n "Stopping internet superserver:" + echo -n " inetd" ; start-stop-daemon -K -x /usr/sbin/inetd > /dev/null + echo "." + ;; + restart) + echo -n "Restarting internet superserver:" + echo -n " inetd " + killall -HUP inetd + echo "." + ;; + *) + echo "Usage: /etc/init.d/inetd {start|stop|restart}" + exit 1 + ;; +esac + +exit 0 +
recipes-append/busybox/busybox-1.19.4/inetd.conf new file +20 -0
@@ -0,0 +1,20 @@ +# /etc/inetd.conf: see inetd(8) for further informations. +# +# Internet server configuration database +# +# If you want to disable an entry so it isn't touched during +# package updates just comment it out with a single '#' character. +# +# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> +# +#:INTERNAL: Internal services +#echo stream tcp nowait root internal +#echo dgram udp wait root internal +#chargen stream tcp nowait root internal +#chargen dgram udp wait root internal +#discard stream tcp nowait root internal +#discard dgram udp wait root internal +#daytime stream tcp nowait root internal +#daytime dgram udp wait root internal +#time stream tcp nowait root internal +#time dgram udp wait root internal
recipes-append/busybox/busybox_1.19.4.bbappend new file +15 -0
@@ -0,0 +1,15 @@ +PR_append_fsl = "+${DISTRO}.0" + +FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/busybox-1.19.4:" + +SRC_URI_append_fsl += "file://defconfig-fsl \ + file://busybox-1.19.4-ubi-user-h.patch \ + file://inetd \ + file://inetd.conf \ +" + +do_configure_prepend_fsl () { + cp ${WORKDIR}/defconfig-fsl ${WORKDIR}/defconfig +} + +
Signature · 1 line
1.7.9.5
PATCH 15/16 change the priority of packages which provide ifconfig to ifconfig link ifconfig.net-tools by default
In reply to [email protected]From: Chunrong Guo <[email protected]>
--- .../net-tools/net-tools_1.60-23.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 recipes-append/net-tools/net-tools_1.60-23.bbappend
recipes-append/net-tools/net-tools_1.60-23.bbappend new file +9 -0
@@ -0,0 +1,9 @@ +PR_append_fsl = "+${DISTRO}.0" + +inherit update-alternatives + +ALTERNATIVE_NAME_fsl = "ifconfig" +ALTERNATIVE_LINK_fsl = "${base_sbindir}/ifconfig" +ALTERNATIVE_PATH_fsl = "${base_sbindir}/ifconfig.net-tools" +ALTERNATIVE_PRIORITY_fsl = "200" +
Signature · 1 line
1.7.9.5
PATCH 16/16 udev: do not automount block devices
In reply to [email protected]From: Chunrong Guo <[email protected]>
kernel can’t boot up with extend partition in HDD FILESEXTRAPATHS_prepend is the right variable to extend file search path
--- recipes-append/udev/files/local.rules | 4 +++- recipes-append/udev/udev_164.bbappend | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-)
recipes-append/udev/files/local.rules +3 -1
@@ -15,6 +15,8 @@ KERNEL=="nbd*", GOTO="persistent_storage_end" +SUBSYSTEM=="block", ENV{DEVTYPE}=="partition" ,GOTO="nomountblock" + # Media automounting SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
@@ -36,4 +38,4 @@ ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0" LABEL="persistent_storage_end" - +LABEL="nomountblock"
recipes-append/udev/udev_164.bbappend +2 -2
@@ -1,4 +1,4 @@ -FILEXTRAPATHS_prepend := "${THISDIR}/files:" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -PR .= "+${DISTRO}.0" +PR .= "+${DISTRO}.1"
Signature · 1 line
1.7.9.5
Re: [meta-fsl-ppc 16/16] udev: do not automount block devices
recipes-append/udev/udev_164.bbappend line 1
Quoted 2 lines · On Wed, Sep 12, 2012 at 12:06 AM, <[email protected]> wrote:
recipes-append/udev/udev_164.bbappend +1
-1-FILEXTRAPATHS_prepend := "${THISDIR}/files:" +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
this would mean that if someone is using meta-fsl-ppc with some other distro as a machine layer then it would also change udev's behavior for non fsl machines. IIUC this is only needed for fsl machines then it should use that override.
Guys,
When submitting patches to this list please CC me. Also fix your git email addresses so it shows your name no your CoreID
-M
Quoted 27 lines · On Wed, Sep 12, 2012 at 2:06 AM, <[email protected]> wrote:
From: Zhenhua Luo <[email protected]>
Signed-off-by Zhenhua Luo <[email protected]>--- conf/distro/fsl.conf | 1 + 1 file changed, 1 insertion(+)conf/distro/fsl.conf +1
-1@@ -60,6 +60,7 @@ SANITY_TESTED_DISTROS ?= " \ Fedora release 15 (Lovelock) \n \ Fedora release 16 (Verne) \n \ Fedora release 17 (Beefy Miracle) \n \ + CentOS release 5.5 (Final) \n \ CentOS release 5.6 (Final) \n \ CentOS release 5.7 (Final) \n \ CentOS release 5.8 (Final) \n \ --1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto