All of lore.kernel.org
 help / color / mirror / Atom feed
* Not booting on BeagleBoard xM 0x2
@ 2012-04-04 10:14 Tomas Frydrych
  2012-04-04 12:04 ` Andrea Galbusera
  0 siblings, 1 reply; 14+ messages in thread
From: Tomas Frydrych @ 2012-04-04 10:14 UTC (permalink / raw)
  To: yocto

Hi,

I am trying to get Yocto image built from yesterday's master
(Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
BeagleBoard xM, but the kernel panics with:

----------------- console log start ------------

Waiting for root device /dev/mmcblk0p2...
mmc0: new SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
 mmcblk0: p1 p2

VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
Please append a correct "root=" boot option; here are the available
partitions:

b300         3858432 mmcblk0  driver: mmcblk
  b301          120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
  b302         3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2

VFS: Unable to mount root fs on unknown-block(179,2)
User configuration error - no valid root filesystem found
Kernel panic - not syncing: Invalid configuration from end user prevents
continuing

-------------- console log end ------------------------------------

My guess would be the problem is the card being detected as 'ro' (line
3), but I do not know why that is (there is no lock switch on mmc cards).

The card itself is fine, it's the original card that came with the
board, the original Angstrom demo boots fine from it, and yocto kernel
2.6.37 also used to boot.

Tomas




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 10:14 Not booting on BeagleBoard xM 0x2 Tomas Frydrych
@ 2012-04-04 12:04 ` Andrea Galbusera
  2012-04-04 12:50   ` Bruce Ashfield
  0 siblings, 1 reply; 14+ messages in thread
From: Andrea Galbusera @ 2012-04-04 12:04 UTC (permalink / raw)
  To: Tomas Frydrych; +Cc: yocto

Hi Tomas,

On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
<tf+lists.yocto@r-finger.com> wrote:
> Hi,
>
> I am trying to get Yocto image built from yesterday's master
> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
> BeagleBoard xM, but the kernel panics with:
>
> ----------------- console log start ------------
>
> Waiting for root device /dev/mmcblk0p2...
> mmc0: new SDHC card at address 1234
> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>  mmcblk0: p1 p2
>
> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
> Please append a correct "root=" boot option; here are the available
> partitions:
>
> b300         3858432 mmcblk0  driver: mmcblk
>  b301          120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>  b302         3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>
> VFS: Unable to mount root fs on unknown-block(179,2)
> User configuration error - no valid root filesystem found
> Kernel panic - not syncing: Invalid configuration from end user prevents
> continuing
>
> -------------- console log end ------------------------------------
>
> My guess would be the problem is the card being detected as 'ro' (line
> 3), but I do not know why that is (there is no lock switch on mmc cards).
>
> The card itself is fine, it's the original card that came with the
> board, the original Angstrom demo boots fine from it, and yocto kernel
> 2.6.37 also used to boot.
>
> Tomas

Looks related to the comment I wrote here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
I have a slightly different failure with yocto 1.2 beta snapshot (same
kernel) but seems related. Needs more investigation.
Anyone else having problem booting on beagleboard xM? Seems something
wrong happened after 1.1 release...

Andrea


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 12:04 ` Andrea Galbusera
@ 2012-04-04 12:50   ` Bruce Ashfield
  2012-04-04 14:10     ` Gary Thomas
  0 siblings, 1 reply; 14+ messages in thread
From: Bruce Ashfield @ 2012-04-04 12:50 UTC (permalink / raw)
  To: Andrea Galbusera; +Cc: yocto

On 12-04-04 08:04 AM, Andrea Galbusera wrote:
> Hi Tomas,
>
> On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
> <tf+lists.yocto@r-finger.com>  wrote:
>> Hi,
>>
>> I am trying to get Yocto image built from yesterday's master
>> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
>> BeagleBoard xM, but the kernel panics with:
>>
>> ----------------- console log start ------------
>>
>> Waiting for root device /dev/mmcblk0p2...
>> mmc0: new SDHC card at address 1234
>> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>>   mmcblk0: p1 p2
>>
>> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
>> Please append a correct "root=" boot option; here are the available
>> partitions:
>>
>> b300         3858432 mmcblk0  driver: mmcblk
>>   b301          120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>>   b302         3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>>
>> VFS: Unable to mount root fs on unknown-block(179,2)
>> User configuration error - no valid root filesystem found
>> Kernel panic - not syncing: Invalid configuration from end user prevents
>> continuing
>>
>> -------------- console log end ------------------------------------
>>
>> My guess would be the problem is the card being detected as 'ro' (line
>> 3), but I do not know why that is (there is no lock switch on mmc cards).
>>
>> The card itself is fine, it's the original card that came with the
>> board, the original Angstrom demo boots fine from it, and yocto kernel
>> 2.6.37 also used to boot.
>>
>> Tomas
>
> Looks related to the comment I wrote here:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
> I have a slightly different failure with yocto 1.2 beta snapshot (same
> kernel) but seems related. Needs more investigation.
> Anyone else having problem booting on beagleboard xM? Seems something
> wrong happened after 1.1 release...

We are working on several bugs on our reference beagleboard. The problem
is that my beagleboard died (a horrible painful death) and the other boards
that are directly available to are RevC and they are booting. So things
are slowed down a bit .. but we are trying to get to the bottom of it,
as fast as possible.

Cheers,

Bruce

>
> Andrea
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 12:50   ` Bruce Ashfield
@ 2012-04-04 14:10     ` Gary Thomas
  2012-04-04 14:58       ` Andrea Galbusera
                         ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Gary Thomas @ 2012-04-04 14:10 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2814 bytes --]

On 2012-04-04 06:50, Bruce Ashfield wrote:
> On 12-04-04 08:04 AM, Andrea Galbusera wrote:
>> Hi Tomas,
>>
>> On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
>> <tf+lists.yocto@r-finger.com> wrote:
>>> Hi,
>>>
>>> I am trying to get Yocto image built from yesterday's master
>>> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
>>> BeagleBoard xM, but the kernel panics with:
>>>
>>> ----------------- console log start ------------
>>>
>>> Waiting for root device /dev/mmcblk0p2...
>>> mmc0: new SDHC card at address 1234
>>> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>>> mmcblk0: p1 p2
>>>
>>> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
>>> Please append a correct "root=" boot option; here are the available
>>> partitions:
>>>
>>> b300 3858432 mmcblk0 driver: mmcblk
>>> b301 120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>>> b302 3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>>>
>>> VFS: Unable to mount root fs on unknown-block(179,2)
>>> User configuration error - no valid root filesystem found
>>> Kernel panic - not syncing: Invalid configuration from end user prevents
>>> continuing
>>>
>>> -------------- console log end ------------------------------------
>>>
>>> My guess would be the problem is the card being detected as 'ro' (line
>>> 3), but I do not know why that is (there is no lock switch on mmc cards).
>>>
>>> The card itself is fine, it's the original card that came with the
>>> board, the original Angstrom demo boots fine from it, and yocto kernel
>>> 2.6.37 also used to boot.
>>>
>>> Tomas
>>
>> Looks related to the comment I wrote here:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
>> I have a slightly different failure with yocto 1.2 beta snapshot (same
>> kernel) but seems related. Needs more investigation.
>> Anyone else having problem booting on beagleboard xM? Seems something
>> wrong happened after 1.1 release...
>
> We are working on several bugs on our reference beagleboard. The problem
> is that my beagleboard died (a horrible painful death) and the other boards
> that are directly available to are RevC and they are booting. So things
> are slowed down a bit .. but we are trying to get to the bottom of it,
> as fast as possible.

Just FYI, it also doesn't boot on my rev-C3 (not xM), albeit with a different
error pattern.  It hangs at this point:
   Waiting for root device /dev/mmcblk0p2...
   mmc0: error -110 whilst initialising SD card

Looks like you might need the attached patch?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: 0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch --]
[-- Type: text/x-patch, Size: 1099 bytes --]

From 47be8c9046c22715ce646091dd9e98fa87fc86e1 Mon Sep 17 00:00:00 2001
From: Steve Sakoman <steve@sakoman.com>
Date: Mon, 18 Jul 2011 23:13:41 -0500
Subject: [PATCH 07/10] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts

This fixes MMC errors due to timeouts on certain SD Cards following suggestions
to set dto to 14 by Jason Kridner and Steven Kipisz

Details of the issue:
http://talk.maemo.org/showthread.php?p=1000707#post1000707

This fix was originally proposed by Sukumar Ghoral of TI.
---
 drivers/mmc/host/omap_hsmmc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index dedf3da..a8a60d4 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1441,6 +1441,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host,
 			dto = 14;
 	}
 
+	/* Set dto to max value of 14 to avoid SD Card timeouts */
+	dto = 14;
+
 	reg &= ~DTO_MASK;
 	reg |= dto << DTO_SHIFT;
 	OMAP_HSMMC_WRITE(host->base, SYSCTL, reg);
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 14:10     ` Gary Thomas
@ 2012-04-04 14:58       ` Andrea Galbusera
  2012-04-04 15:06         ` Gary Thomas
  2012-04-04 18:49       ` Robert Berger
  2012-04-05  5:31       ` Tomas Frydrych
  2 siblings, 1 reply; 14+ messages in thread
From: Andrea Galbusera @ 2012-04-04 14:58 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

Hi Gary,

On Wed, Apr 4, 2012 at 4:10 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2012-04-04 06:50, Bruce Ashfield wrote:
>>
>> On 12-04-04 08:04 AM, Andrea Galbusera wrote:
>>>
>>> Hi Tomas,
>>>
>>> On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
>>> <tf+lists.yocto@r-finger.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am trying to get Yocto image built from yesterday's master
>>>> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
>>>> BeagleBoard xM, but the kernel panics with:
>>>>
>>>> ----------------- console log start ------------
>>>>
>>>> Waiting for root device /dev/mmcblk0p2...
>>>> mmc0: new SDHC card at address 1234
>>>> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>>>> mmcblk0: p1 p2
>>>>
>>>> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
>>>> Please append a correct "root=" boot option; here are the available
>>>> partitions:
>>>>
>>>> b300 3858432 mmcblk0 driver: mmcblk
>>>> b301 120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>>>> b302 3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>>>>
>>>> VFS: Unable to mount root fs on unknown-block(179,2)
>>>> User configuration error - no valid root filesystem found
>>>> Kernel panic - not syncing: Invalid configuration from end user prevents
>>>> continuing
>>>>
>>>> -------------- console log end ------------------------------------
>>>>
>>>> My guess would be the problem is the card being detected as 'ro' (line
>>>> 3), but I do not know why that is (there is no lock switch on mmc
>>>> cards).
>>>>
>>>> The card itself is fine, it's the original card that came with the
>>>> board, the original Angstrom demo boots fine from it, and yocto kernel
>>>> 2.6.37 also used to boot.
>>>>
>>>> Tomas
>>>
>>>
>>> Looks related to the comment I wrote here:
>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
>>> I have a slightly different failure with yocto 1.2 beta snapshot (same
>>> kernel) but seems related. Needs more investigation.
>>> Anyone else having problem booting on beagleboard xM? Seems something
>>> wrong happened after 1.1 release...
>>
>>
>> We are working on several bugs on our reference beagleboard. The problem
>> is that my beagleboard died (a horrible painful death) and the other
>> boards
>> that are directly available to are RevC and they are booting. So things
>> are slowed down a bit .. but we are trying to get to the bottom of it,
>> as fast as possible.
>
>
> Just FYI, it also doesn't boot on my rev-C3 (not xM), albeit with a
> different
> error pattern.  It hangs at this point:
>
>  Waiting for root device /dev/mmcblk0p2...
>  mmc0: error -110 whilst initialising SD card

That's exactly the same error I see! Happy to know am not alone...

> Looks like you might need the attached patch?

I'm going to give it a try as soon as I can. Did you already submit it
somewhere?

Andrea


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 14:58       ` Andrea Galbusera
@ 2012-04-04 15:06         ` Gary Thomas
  0 siblings, 0 replies; 14+ messages in thread
From: Gary Thomas @ 2012-04-04 15:06 UTC (permalink / raw)
  To: Andrea Galbusera; +Cc: yocto

On 2012-04-04 08:58, Andrea Galbusera wrote:
> Hi Gary,
>
> On Wed, Apr 4, 2012 at 4:10 PM, Gary Thomas<gary@mlbassoc.com>  wrote:
>> On 2012-04-04 06:50, Bruce Ashfield wrote:
>>>
>>> On 12-04-04 08:04 AM, Andrea Galbusera wrote:
>>>>
>>>> Hi Tomas,
>>>>
>>>> On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
>>>> <tf+lists.yocto@r-finger.com>  wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am trying to get Yocto image built from yesterday's master
>>>>> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
>>>>> BeagleBoard xM, but the kernel panics with:
>>>>>
>>>>> ----------------- console log start ------------
>>>>>
>>>>> Waiting for root device /dev/mmcblk0p2...
>>>>> mmc0: new SDHC card at address 1234
>>>>> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>>>>> mmcblk0: p1 p2
>>>>>
>>>>> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
>>>>> Please append a correct "root=" boot option; here are the available
>>>>> partitions:
>>>>>
>>>>> b300 3858432 mmcblk0 driver: mmcblk
>>>>> b301 120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>>>>> b302 3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>>>>>
>>>>> VFS: Unable to mount root fs on unknown-block(179,2)
>>>>> User configuration error - no valid root filesystem found
>>>>> Kernel panic - not syncing: Invalid configuration from end user prevents
>>>>> continuing
>>>>>
>>>>> -------------- console log end ------------------------------------
>>>>>
>>>>> My guess would be the problem is the card being detected as 'ro' (line
>>>>> 3), but I do not know why that is (there is no lock switch on mmc
>>>>> cards).
>>>>>
>>>>> The card itself is fine, it's the original card that came with the
>>>>> board, the original Angstrom demo boots fine from it, and yocto kernel
>>>>> 2.6.37 also used to boot.
>>>>>
>>>>> Tomas
>>>>
>>>>
>>>> Looks related to the comment I wrote here:
>>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
>>>> I have a slightly different failure with yocto 1.2 beta snapshot (same
>>>> kernel) but seems related. Needs more investigation.
>>>> Anyone else having problem booting on beagleboard xM? Seems something
>>>> wrong happened after 1.1 release...
>>>
>>>
>>> We are working on several bugs on our reference beagleboard. The problem
>>> is that my beagleboard died (a horrible painful death) and the other
>>> boards
>>> that are directly available to are RevC and they are booting. So things
>>> are slowed down a bit .. but we are trying to get to the bottom of it,
>>> as fast as possible.
>>
>>
>> Just FYI, it also doesn't boot on my rev-C3 (not xM), albeit with a
>> different
>> error pattern.  It hangs at this point:
>>
>>   Waiting for root device /dev/mmcblk0p2...
>>   mmc0: error -110 whilst initialising SD card
>
> That's exactly the same error I see! Happy to know am not alone...
>
>> Looks like you might need the attached patch?
>
> I'm going to give it a try as soon as I can. Did you already submit it
> somewhere?

I haven't had a chance to try it yet.  I got it from the meta-ti layer.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 14:10     ` Gary Thomas
  2012-04-04 14:58       ` Andrea Galbusera
@ 2012-04-04 18:49       ` Robert Berger
  2012-04-04 19:11         ` Chris Tapp
  2012-04-05  5:31       ` Tomas Frydrych
  2 siblings, 1 reply; 14+ messages in thread
From: Robert Berger @ 2012-04-04 18:49 UTC (permalink / raw)
  To: yocto

Garry/Andrea,

I am currently giving a training based on the Beagle-XM an this error
happened at the same time on 5 boards with a 3.1 kernel.


> error pattern.  It hangs at this point:
>   Waiting for root device /dev/mmcblk0p2...
>   mmc0: error -110 whilst initialising SD card
> 

The fix was to change the SD cards and use cards from a different
manufacturer, so yes, it seems to be related to some funny SD card timings.

I did not try to patch yet.

Regards,

Robert


..."To assert that the earth revolves around the sun is as erroneous as
to claim that Jesus was not born of a virgin." - Cardinal Bellarmine
1615, during the trial of Galileo

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 18:49       ` Robert Berger
@ 2012-04-04 19:11         ` Chris Tapp
  0 siblings, 0 replies; 14+ messages in thread
From: Chris Tapp @ 2012-04-04 19:11 UTC (permalink / raw)
  To: gmane; +Cc: yocto

On 4 Apr 2012, at 19:49, Robert Berger wrote:

> Garry/Andrea,
> 
> I am currently giving a training based on the Beagle-XM an this error
> happened at the same time on 5 boards with a 3.1 kernel.
> 
> 
>> error pattern.  It hangs at this point:
>>  Waiting for root device /dev/mmcblk0p2...
>>  mmc0: error -110 whilst initialising SD card
>> 
> 
> The fix was to change the SD cards and use cards from a different
> manufacturer, so yes, it seems to be related to some funny SD card timings.

Not sure if it help, but the Raspberry Pi team have been having problems with SD cards as well. Some work, some don't - even when they have the same part numbers. Seems as if some silicon / firmware revision along the way has changed something somewhere...

Chris



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-04 14:10     ` Gary Thomas
  2012-04-04 14:58       ` Andrea Galbusera
  2012-04-04 18:49       ` Robert Berger
@ 2012-04-05  5:31       ` Tomas Frydrych
  2012-06-12 23:00         ` Ryan Julian
  2 siblings, 1 reply; 14+ messages in thread
From: Tomas Frydrych @ 2012-04-05  5:31 UTC (permalink / raw)
  To: yocto

On 04/04/12 15:10, Gary Thomas wrote:
> On 2012-04-04 06:50, Bruce Ashfield wrote:
>> On 12-04-04 08:04 AM, Andrea Galbusera wrote:
>>> Hi Tomas,
>>>
>>> On Wed, Apr 4, 2012 at 12:14 PM, Tomas Frydrych
>>> <tf+lists.yocto@r-finger.com> wrote:
>>>> Hi,
>>>>
>>>> I am trying to get Yocto image built from yesterday's master
>>>> (Linux-3.0.23-yocto-standard) to boot on the NAND-less version of
>>>> BeagleBoard xM, but the kernel panics with:
>>>>
>>>> ----------------- console log start ------------
>>>>
>>>> Waiting for root device /dev/mmcblk0p2...
>>>> mmc0: new SDHC card at address 1234
>>>> mmcblk0: mmc0:1234 SA04G 3.67 GiB (ro)
>>>> mmcblk0: p1 p2
>>>>
>>>> VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
>>>> Please append a correct "root=" boot option; here are the available
>>>> partitions:
>>>>
>>>> b300 3858432 mmcblk0 driver: mmcblk
>>>> b301 120456 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
>>>> b302 3445942 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
>>>>
>>>> VFS: Unable to mount root fs on unknown-block(179,2)
>>>> User configuration error - no valid root filesystem found
>>>> Kernel panic - not syncing: Invalid configuration from end user
>>>> prevents
>>>> continuing
>>>>
>>>> -------------- console log end ------------------------------------
>>>>
>>>> My guess would be the problem is the card being detected as 'ro' (line
>>>> 3), but I do not know why that is (there is no lock switch on mmc
>>>> cards).
>>>>
>>>> The card itself is fine, it's the original card that came with the
>>>> board, the original Angstrom demo boots fine from it, and yocto kernel
>>>> 2.6.37 also used to boot.
>>>>
>>>> Tomas
>>>
>>> Looks related to the comment I wrote here:
>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1892
>>> I have a slightly different failure with yocto 1.2 beta snapshot (same
>>> kernel) but seems related. Needs more investigation.
>>> Anyone else having problem booting on beagleboard xM? Seems something
>>> wrong happened after 1.1 release...
>>
>> We are working on several bugs on our reference beagleboard. The problem
>> is that my beagleboard died (a horrible painful death) and the other
>> boards
>> that are directly available to are RevC and they are booting. So things
>> are slowed down a bit .. but we are trying to get to the bottom of it,
>> as fast as possible.
> 
> Just FYI, it also doesn't boot on my rev-C3 (not xM), albeit with a
> different
> error pattern.  It hangs at this point:
>   Waiting for root device /dev/mmcblk0p2...
>   mmc0: error -110 whilst initialising SD card
> 
> Looks like you might need the attached patch?

This is a different issue. I get this too with one particular MMC card,
but with 2.6.37 kernel, if I unplug this card and plug it back in the
boot resumes and completes successfully. If I do this with the 3.0.2
kernel, the bug I described with the associated kernel panic then kicks in.

Tomas

> 
> 
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-04-05  5:31       ` Tomas Frydrych
@ 2012-06-12 23:00         ` Ryan Julian
  2012-06-12 23:10           ` Bruce Ashfield
  0 siblings, 1 reply; 14+ messages in thread
From: Ryan Julian @ 2012-06-12 23:00 UTC (permalink / raw)
  To: yocto

Tomas Frydrych <tf+lists.yocto@...> writes:
> This is a different issue. I get this too with one particular MMC card,
> but with 2.6.37 kernel, if I unplug this card and plug it back in the
> boot resumes and completes successfully. If I do this with the 3.0.2
> kernel, the bug I described with the associated kernel panic then kicks in.
> 
> Tomas
> 
> > 
> > 
> > 
> > _______________________________________________
> > yocto mailing list
> > yocto@...
> > https://lists.yoctoproject.org/listinfo/yocto
> 
> 

Bruce and Tomas,
Did you ever find a solution to this issue?

I'm encountering the same issue on the BB-xM Rev C. I've tested on two different 
boards from different production runs, both with an error identical to Tomas'. 
I'd be happy to run tests/provide logs if given instructions.

Thanks!

-Ryan





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-06-12 23:00         ` Ryan Julian
@ 2012-06-12 23:10           ` Bruce Ashfield
  2012-06-12 23:38             ` Ryan Julian
  0 siblings, 1 reply; 14+ messages in thread
From: Bruce Ashfield @ 2012-06-12 23:10 UTC (permalink / raw)
  To: Ryan Julian; +Cc: yocto

On Tue, Jun 12, 2012 at 7:00 PM, Ryan Julian <ryanjulian@berkeley.edu> wrote:
> Tomas Frydrych <tf+lists.yocto@...> writes:
>> This is a different issue. I get this too with one particular MMC card,
>> but with 2.6.37 kernel, if I unplug this card and plug it back in the
>> boot resumes and completes successfully. If I do this with the 3.0.2
>> kernel, the bug I described with the associated kernel panic then kicks in.
>>
>> Tomas
>>
>> >
>> >
>> >
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@...
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
> Bruce and Tomas,
> Did you ever find a solution to this issue?
>
> I'm encountering the same issue on the BB-xM Rev C. I've tested on two different
> boards from different production runs, both with an error identical to Tomas'.
> I'd be happy to run tests/provide logs if given instructions.

We did. Denys provided us a fix, the only one that was available at the time:

commit a49b0ec1356bb15a6a8c76b76c464ab3f1f61840
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date:   Tue Apr 17 13:45:47 2012 -0400

    meta/beagleboard: disable CONFIG_PREEMPT

    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.

    Signed-off-by: Denys Dmytriyenko <denys@ti.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

:000000 100644 0000000... 0cbeb5a... A  bsp/beagleboard/no-preempt.cfg
:000000 100644 0000000... 1e75e15... A  bsp/beagleboard/no-preempt.scc

Cheers,

Bruce

>
> Thanks!
>
> -Ryan
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-06-12 23:10           ` Bruce Ashfield
@ 2012-06-12 23:38             ` Ryan Julian
  2012-06-13  2:34               ` Bruce Ashfield
  0 siblings, 1 reply; 14+ messages in thread
From: Ryan Julian @ 2012-06-12 23:38 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2583 bytes --]

Hi Bruce,

The build I'm using already includes Denys' patch.

I was referring to Tomas' original problem, in which the MMC card
successfully initialized, but the kernel still panics while trying to mount
mmcblk0p2. These two seem unrelated, unless I'm mistaken.

On Tue, Jun 12, 2012 at 4:10 PM, Bruce Ashfield <bruce.ashfield@gmail.com>wrote:

> On Tue, Jun 12, 2012 at 7:00 PM, Ryan Julian <ryanjulian@berkeley.edu>
> wrote:
> > Tomas Frydrych <tf+lists.yocto@...> writes:
> >> This is a different issue. I get this too with one particular MMC card,
> >> but with 2.6.37 kernel, if I unplug this card and plug it back in the
> >> boot resumes and completes successfully. If I do this with the 3.0.2
> >> kernel, the bug I described with the associated kernel panic then kicks
> in.
> >>
> >> Tomas
> >>
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > yocto mailing list
> >> > yocto@...
> >> > https://lists.yoctoproject.org/listinfo/yocto
> >>
> >>
> >
> > Bruce and Tomas,
> > Did you ever find a solution to this issue?
> >
> > I'm encountering the same issue on the BB-xM Rev C. I've tested on two
> different
> > boards from different production runs, both with an error identical to
> Tomas'.
> > I'd be happy to run tests/provide logs if given instructions.
>
> We did. Denys provided us a fix, the only one that was available at the
> time:
>
> commit a49b0ec1356bb15a6a8c76b76c464ab3f1f61840
> Author: Bruce Ashfield <bruce.ashfield@windriver.com>
> Date:   Tue Apr 17 13:45:47 2012 -0400
>
>    meta/beagleboard: disable CONFIG_PREEMPT
>
>    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.
>
>    Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>
> :000000 100644 0000000... 0cbeb5a... A  bsp/beagleboard/no-preempt.cfg
> :000000 100644 0000000... 1e75e15... A  bsp/beagleboard/no-preempt.scc
>
> Cheers,
>
> Bruce
>
> >
> > Thanks!
> >
> > -Ryan
> >
> >
> >
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>

[-- Attachment #2: Type: text/html, Size: 3707 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-06-12 23:38             ` Ryan Julian
@ 2012-06-13  2:34               ` Bruce Ashfield
  2012-06-13  6:46                 ` Tomas Frydrych
  0 siblings, 1 reply; 14+ messages in thread
From: Bruce Ashfield @ 2012-06-13  2:34 UTC (permalink / raw)
  To: Ryan Julian; +Cc: yocto

On Tue, Jun 12, 2012 at 7:38 PM, Ryan Julian <ryanjulian@berkeley.edu> wrote:
> Hi Bruce,
>
> The build I'm using already includes Denys' patch.
>
> I was referring to Tomas' original problem, in which the MMC card
> successfully initialized, but the kernel still panics while trying to mount
> mmcblk0p2. These two seem unrelated, unless I'm mistaken.

The two issues that we worked with ended up both being resolved by the preempt
disable patch. Both stemmed from the MMC card not being recognized, and that
was due to in kernel preemption.

So we may be seeing something different yet again here ..

Cheers,

Bruce

>
> On Tue, Jun 12, 2012 at 4:10 PM, Bruce Ashfield <bruce.ashfield@gmail.com>
> wrote:
>>
>> On Tue, Jun 12, 2012 at 7:00 PM, Ryan Julian <ryanjulian@berkeley.edu>
>> wrote:
>> > Tomas Frydrych <tf+lists.yocto@...> writes:
>> >> This is a different issue. I get this too with one particular MMC card,
>> >> but with 2.6.37 kernel, if I unplug this card and plug it back in the
>> >> boot resumes and completes successfully. If I do this with the 3.0.2
>> >> kernel, the bug I described with the associated kernel panic then kicks
>> >> in.
>> >>
>> >> Tomas
>> >>
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > yocto mailing list
>> >> > yocto@...
>> >> > https://lists.yoctoproject.org/listinfo/yocto
>> >>
>> >>
>> >
>> > Bruce and Tomas,
>> > Did you ever find a solution to this issue?
>> >
>> > I'm encountering the same issue on the BB-xM Rev C. I've tested on two
>> > different
>> > boards from different production runs, both with an error identical to
>> > Tomas'.
>> > I'd be happy to run tests/provide logs if given instructions.
>>
>> We did. Denys provided us a fix, the only one that was available at the
>> time:
>>
>> commit a49b0ec1356bb15a6a8c76b76c464ab3f1f61840
>> Author: Bruce Ashfield <bruce.ashfield@windriver.com>
>> Date:   Tue Apr 17 13:45:47 2012 -0400
>>
>>    meta/beagleboard: disable CONFIG_PREEMPT
>>
>>    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.
>>
>>    Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>>    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>>
>> :000000 100644 0000000... 0cbeb5a... A  bsp/beagleboard/no-preempt.cfg
>> :000000 100644 0000000... 1e75e15... A  bsp/beagleboard/no-preempt.scc
>>
>> Cheers,
>>
>> Bruce
>>
>> >
>> > Thanks!
>> >
>> > -Ryan
>> >
>> >
>> >
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>> --
>> "Thou shalt not follow the NULL pointer, for chaos and madness await
>> thee at its end"
>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Not booting on BeagleBoard xM 0x2
  2012-06-13  2:34               ` Bruce Ashfield
@ 2012-06-13  6:46                 ` Tomas Frydrych
  0 siblings, 0 replies; 14+ messages in thread
From: Tomas Frydrych @ 2012-06-13  6:46 UTC (permalink / raw)
  To: yocto

On 13/06/12 03:34, Bruce Ashfield wrote:
> On Tue, Jun 12, 2012 at 7:38 PM, Ryan Julian <ryanjulian@berkeley.edu> wrote:
>> Hi Bruce,
>>
>> The build I'm using already includes Denys' patch.
>>
>> I was referring to Tomas' original problem, in which the MMC card
>> successfully initialized, but the kernel still panics while trying to mount
>> mmcblk0p2. These two seem unrelated, unless I'm mistaken.
> 
> The two issues that we worked with ended up both being resolved by the preempt
> disable patch. Both stemmed from the MMC card not being recognized, and that
> was due to in kernel preemption.

IIRC, both of these went away with a kernel update, but I am now using a
kernel from meta-ti, so I can't verify that.

Tomas


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-06-13  6:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04 10:14 Not booting on BeagleBoard xM 0x2 Tomas Frydrych
2012-04-04 12:04 ` Andrea Galbusera
2012-04-04 12:50   ` Bruce Ashfield
2012-04-04 14:10     ` Gary Thomas
2012-04-04 14:58       ` Andrea Galbusera
2012-04-04 15:06         ` Gary Thomas
2012-04-04 18:49       ` Robert Berger
2012-04-04 19:11         ` Chris Tapp
2012-04-05  5:31       ` Tomas Frydrych
2012-06-12 23:00         ` Ryan Julian
2012-06-12 23:10           ` Bruce Ashfield
2012-06-12 23:38             ` Ryan Julian
2012-06-13  2:34               ` Bruce Ashfield
2012-06-13  6:46                 ` Tomas Frydrych

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.