Patchwork [meta-fsl-ppc] Enable "the option Automount devtmpfs at /dev" in kernel

login
register
mail settings
Submitter chunrong guo
Date April 11, 2013, 5:53 a.m.
Message ID <1365659614-22549-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/47887/
State Superseded
Headers show

Comments

chunrong guo - April 11, 2013, 5:53 a.m.
From: Chunrong Guo <B40290@freescale.com>

        *fix bug #3452
        |udev error: can not mount harddisk and usb stick
        *fix bug #3837
        |System can not boot
Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 recipes-kernel/linux/linux-qoriq-sdk.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Otavio Salvador - April 11, 2013, 12:32 p.m.
On Thu, Apr 11, 2013 at 2:53 AM,  <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
>         *fix bug #3452
>         |udev error: can not mount harddisk and usb stick
>         *fix bug #3837
>         |System can not boot
> Signed-off-by: Chunrong Guo <B40290@freescale.com>

Please fix the commit log message, it is not in the usual used style.

> ---
>  recipes-kernel/linux/linux-qoriq-sdk.bb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
> index 1971f15..4efc934 100644
> --- a/recipes-kernel/linux/linux-qoriq-sdk.bb
> +++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
> @@ -8,12 +8,14 @@ LICENSE = "GPLv2"
>
>  require recipes-kernel/linux/linux-qoriq-sdk.inc
>
> -PR = "r9"
> +PR = "r10"
>
>  SRC_URI += "file://fix_getrusage_for_perf.patch \
>             "
>
>  do_configure_prepend() {
>         # copy desired defconfig so we pick it up for the real kernel_do_configure
> -       cp ${KERNEL_DEFCONFIG} ${B}/.config
> +        # cp ${KERNEL_DEFCONFIG} ${B}/.config
> +        sed '/CONFIG_DEVTMPFS/a\CONFIG_DEVTMPFS_MOUNT=y' ${KERNEL_DEFCONFIG} > kernelconfig
> +        cp kernelconfig ${B}/.config
>  }
> --
> 1.7.5.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
chunrong guo - April 12, 2013, 5:50 a.m.
Please ignore this patch.

-----Original Message-----
From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Thursday, April 11, 2013 8:32 PM
To: Guo Chunrong-B40290
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] Enable "the option Automount devtmpfs at /dev" in kernel

On Thu, Apr 11, 2013 at 2:53 AM,  <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
>         *fix bug #3452
>         |udev error: can not mount harddisk and usb stick
>         *fix bug #3837
>         |System can not boot
> Signed-off-by: Chunrong Guo <B40290@freescale.com>

Please fix the commit log message, it is not in the usual used style.

> ---
>  recipes-kernel/linux/linux-qoriq-sdk.bb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
> index 1971f15..4efc934 100644
> --- a/recipes-kernel/linux/linux-qoriq-sdk.bb
> +++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
> @@ -8,12 +8,14 @@ LICENSE = "GPLv2"
>
>  require recipes-kernel/linux/linux-qoriq-sdk.inc
>
> -PR = "r9"
> +PR = "r10"
>
>  SRC_URI += "file://fix_getrusage_for_perf.patch \
>             "
>
>  do_configure_prepend() {
>         # copy desired defconfig so we pick it up for the real kernel_do_configure
> -       cp ${KERNEL_DEFCONFIG} ${B}/.config
> +        # cp ${KERNEL_DEFCONFIG} ${B}/.config
> +        sed '/CONFIG_DEVTMPFS/a\CONFIG_DEVTMPFS_MOUNT=y' ${KERNEL_DEFCONFIG} > kernelconfig
> +        cp kernelconfig ${B}/.config
>  }
> --
> 1.7.5.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

Patch

diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
index 1971f15..4efc934 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.bb
+++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
@@ -8,12 +8,14 @@  LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r9"
+PR = "r10"
 
 SRC_URI += "file://fix_getrusage_for_perf.patch \
            "
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real kernel_do_configure
-	cp ${KERNEL_DEFCONFIG} ${B}/.config
+        # cp ${KERNEL_DEFCONFIG} ${B}/.config
+        sed '/CONFIG_DEVTMPFS/a\CONFIG_DEVTMPFS_MOUNT=y' ${KERNEL_DEFCONFIG} > kernelconfig
+        cp kernelconfig ${B}/.config
 }