[yocto] Not booting on BeagleBoard xM 0x2

Bruce Ashfield bruce.ashfield at gmail.com
Tue Jun 12 19:34:00 PDT 2012


On Tue, Jun 12, 2012 at 7:38 PM, Ryan Julian <ryanjulian at 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 at gmail.com>
> wrote:
>>
>> On Tue, Jun 12, 2012 at 7:00 PM, Ryan Julian <ryanjulian at berkeley.edu>
>> wrote:
>> > Tomas Frydrych <tf+lists.yocto at ...> 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 at ...
>> >> > 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 at 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 at ti.com>
>>    Signed-off-by: Bruce Ashfield <bruce.ashfield at 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 at 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"



More information about the yocto mailing list