From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Denys Dmytriyenko <denis@denix.org>
Cc: yocto@yoctoproject.org, Denys Dmytriyenko <denys@ti.com>
Subject: Re: [PATCH] linux-yocto 3.0: fix beagleboard boot hang on mmc init due to preempt
Date: Tue, 17 Apr 2012 00:57:24 -0400 [thread overview]
Message-ID: <4F8CF834.3090101@windriver.com> (raw)
In-Reply-To: <1334621899-3397-1-git-send-email-denis@denix.org>
On 12-04-16 8:18 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko<denys@ti.com>
>
> The boot hangs with the message:
> mmc0: error -110 whilst initialising SD card
>
> The MMC driver has issues initializing when PREEMPT is enabled (either forced
> or voluntary). Unplugging and then plugging the card back will reset the
> driver and continue booting. Alternatively, disable preemption.
Looks good .. and as discussed perfectly reasonable for now. I'll
pull this into the repo tomorrow (this) morning and send it around for
merging.
Thanks for the fix,
Bruce
>
> Signed-off-by: Denys Dmytriyenko<denys@ti.com>
> ---
> .../recipes-kernel/linux/files/no-preempt.cfg | 1 +
> .../recipes-kernel/linux/files/no-preempt.scc | 1 +
> .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 6 ++++++
> 3 files changed, 8 insertions(+), 0 deletions(-)
> create mode 100644 meta-yocto/recipes-kernel/linux/files/no-preempt.cfg
> create mode 100644 meta-yocto/recipes-kernel/linux/files/no-preempt.scc
>
> diff --git a/meta-yocto/recipes-kernel/linux/files/no-preempt.cfg b/meta-yocto/recipes-kernel/linux/files/no-preempt.cfg
> new file mode 100644
> index 0000000..0cbeb5a
> --- /dev/null
> +++ b/meta-yocto/recipes-kernel/linux/files/no-preempt.cfg
> @@ -0,0 +1 @@
> +CONFIG_PREEMPT_NONE=y
> diff --git a/meta-yocto/recipes-kernel/linux/files/no-preempt.scc b/meta-yocto/recipes-kernel/linux/files/no-preempt.scc
> new file mode 100644
> index 0000000..1e75e15
> --- /dev/null
> +++ b/meta-yocto/recipes-kernel/linux/files/no-preempt.scc
> @@ -0,0 +1 @@
> +kconf non-hardware no-preempt.cfg
> diff --git a/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend
> index 944f601..d5460fd 100644
> --- a/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend
> +++ b/meta-yocto/recipes-kernel/linux/linux-yocto_3.0.bbappend
> @@ -1,3 +1,5 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> +
> KMACHINE_atom-pc = "yocto/standard/common-pc/atom-pc"
> KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
> KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
> @@ -13,3 +15,7 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
> COMPATIBLE_MACHINE_routerstationpro = "routerstationpro"
> COMPATIBLE_MACHINE_beagleboard = "beagleboard"
> COMPATIBLE_MACHINE_atom-pc = "atom-pc"
> +
> +KERNEL_FEATURES_append_beagleboard = " no-preempt.scc"
> +
> +SRC_URI_append_beagleboard = " file://no-preempt.scc"
prev parent reply other threads:[~2012-04-17 4:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 0:18 [PATCH] linux-yocto 3.0: fix beagleboard boot hang on mmc init due to preempt Denys Dmytriyenko
2012-04-17 4:57 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F8CF834.3090101@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=denis@denix.org \
--cc=denys@ti.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.