Overo Airstorm mmc boot problem

View: New views
11 Messages — Rating Filter:   Alert me  

Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

Hello, I wonder if anyone can shed some light on the behaviour of a brand new
overo airstorm.

When I plug in an micro sd card, it doesn't boot.

On the serial console, I just see this:

�tذb�$U
             @ @ @D��

However, if I unplug the micro sd card and power cycle, I see u-boot
beginning, and if I interrupt u-boot, plug the card in, and enter 'run
bootcmd' it boots linaro from the card.

I'm a bit baffled as the problem seems to occur at a low level, before
anything that can be configured. U-boot just doesn't seem to start when the
card is plugged in. The card is a 2GB gumstix branded card. I have tried
this with 2 different airstorms and a few sd cards, with the same results,
so hardware failure is ruled out. I've also not had this problem with an
earlier overo (tide).

The output from u-boot (with no card) is as follows:

Texas Instruments X-Loader 1.5.0 (Sep 16 2011 - 12:10:02)
OMAP36XX/37XX-GP ES2.1
Board revision: 1
Loading u-boot.bin from nand


U-Boot 2010.09 (Oct 20 2010 - 10:11:49)

OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Gumstix Overo board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  512 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Board revision: 1
Tranceiver detected on mmc2
No EEPROM on expansion board
Die ID #413800029ff8000001683b061202300b
Net:   No ethernet found.
Hit any key to stop autoboot:  0
Overo #


--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4539832.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by dtran11 :: Rate this Message:

| View Threaded | Show Only this Message

You need to update your MLO to 1.5.1 or newer

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4539887.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, 2012-03-02 at 08:41 -0800, dtran11 wrote:
You need to update your MLO to 1.5.1 or newer
>
>

Hi, thanks for the reply..

I updated the MLO in flash as described here:
http://gumstix.org/how-to/70-writing-images-to-flash.html

with the latest version from
http://cumulus.gumstix.org/images/angstrom/developer/current/MLO

It didn't fix the problem.

There is a slight change: if I insert an sd card which isn't bootable (i.e
the one I used to save MLO), u-boot will now load and boot from nand.
However, if I insert a bootable linaro card, the gumstix hangs as before,
before even starting u-boot. Its as if u-boot doesn't like the sd card
structure with the 2 partitions which is bootable.

Any insights welcome..

Tim

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4540180.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by Chris Whittenburg :: Rate this Message:

| View Threaded | Show Only this Message

I think you needed to update the MLO on the sdcard, not the one in nand.

On Fri, Mar 2, 2012 at 1:21 PM, Tim Redfern <gumstix@...> wrote:

> On Fri, 2012-03-02 at 08:41 -0800, dtran11 wrote:
> You need to update your MLO to 1.5.1 or newer
>>
>>
>
> Hi, thanks for the reply..
>
> I updated the MLO in flash as described here:
> http://gumstix.org/how-to/70-writing-images-to-flash.html
>
> with the latest version from
> http://cumulus.gumstix.org/images/angstrom/developer/current/MLO
>
> It didn't fix the problem.
>
> There is a slight change: if I insert an sd card which isn't bootable (i.e
> the one I used to save MLO), u-boot will now load and boot from nand.
> However, if I insert a bootable linaro card, the gumstix hangs as before,
> before even starting u-boot. Its as if u-boot doesn't like the sd card
> structure with the 2 partitions which is bootable.
>
> Any insights welcome..
>
> Tim
>
> --
> View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4540180.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, 2012-03-02 at 15:10 -0600, Chris Whittenburg wrote:
I think you needed to update the MLO on the sdcard, not the one in nand.
>
Hi - thanks -

I feel this isn't the case, because the boot procedure stalls before
u-boot even starts. As I understand it, u-boot is supposed to load from
nand and then launch bootcmd.scr which searches for a kernel on the sd
card. However, when I have a bootable sd card inserted u-boot doesn't
even display its initial message. I just get a short garbled message
similar to:

�tذb�$U
             @ @ @D��` @

However its worth a try so I made a card with the newest linaro (12.02).
I don't know what version of MLO this is but it must be pretty new. It
didn't help.

I understand its not possible to just copy a new version of MLO over it
because MLO has to be on the very first sector of the card.

I don't know how to find out what version the MLO binaries I have are.
the 'file' command just reports them as 'data'

I can still manually load linux from the card by typing the commands
from bootcmd.scr

Tim


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, 2012-03-02 at 15:10 -0600, Chris Whittenburg wrote:
I think you needed to update the MLO on the sdcard, not the one in nand.
>
Hi - thanks -

I feel this isn't the case, because the boot procedure stalls before u-boot
even starts. As I understand it, u-boot is supposed to load from nand and
then launch bootcmd.scr which searches for a kernel on the sd card. However,
when I have a bootable sd card inserted u-boot doesn't even display its
initial message. I just get a short garbled message similar to:

�tذb�$U
             @ @ @D��` @

However its worth a try so I made a card with the newest linaro (12.02). I
don't know what version of MLO this is but it must be pretty new. It didn't
help.

I understand its not possible to just copy a new version of MLO over it
because MLO has to be on the very first sector of the card.

I don't know how to find out what version the MLO binaries I have are. the
'file' command just reports them as 'data'

I can still manually load linux from the card by typing the commands from
bootcmd.scr

Tim

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4542549.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

apologies, I put the latest angstrom images on sd card and it does work.

this means that linaro isn't working on this gumstix (airstorm) at the
moment.

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4542844.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Parent Message unknown Re: Overo Airstorm mmc boot problem

by James Linder-4 :: Rate this Message:

| View Threaded | Show Only this Message


On 03/03/2012, at 11:17 PM, gumstix-users-request@... wrote:

> I updated the MLO in flash as described here:
> http://gumstix.org/how-to/70-writing-images-to-flash.html
>
> with the latest version from
> http://cumulus.gumstix.org/images/angstrom/developer/current/MLO
>
> It didn't fix the problem.
>
> There is a slight change: if I insert an sd card which isn't bootable (i.e
> the one I used to save MLO), u-boot will now load and boot from nand.
> However, if I insert a bootable linaro card, the gumstix hangs as before,
> before even starting u-boot. Its as if u-boot doesn't like the sd card
> structure with the 2 partitions which is bootable.

I boot from an SD card so it *must* have a MLO
My air was delivered with blank nand, I'm trying to program it
Everything works except your link and sakomans link to flash MLO.
MLO is not found on the media.

Pray tell how you saved a copy on SD disk.
Perhaps that will work for me

James
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Parent Message unknown Re: Overo Airstorm mmc boot problem

by James Linder-4 :: Rate this Message:

| View Threaded | Show Only this Message


On 03/03/2012, at 11:17 PM, gumstix-users-request@... wrote:

> I think you needed to update the MLO on the sdcard, not the one in nand.
>>
> Hi - thanks -
>
> I feel this isn't the case, because the boot procedure stalls before u-boot
> even starts. As I understand it, u-boot is supposed to load from nand and
> then launch bootcmd.scr which searches for a kernel on the sd card. However,
> when I have a bootable sd card inserted u-boot doesn't even display its
> initial message. I just get a short garbled message similar to:
>
> ?t?b?$U
>             @ @ @D??` @
>
> However its worth a try so I made a card with the newest linaro (12.02). I
> don't know what version of MLO this is but it must be pretty new. It didn't
> help.
>
> I understand its not possible to just copy a new version of MLO over it
> because MLO has to be on the very first sector of the card.
>
> I don't know how to find out what version the MLO binaries I have are. the
> 'file' command just reports them as 'data'
>
> I can still manually load linux from the card by typing the commands from
> bootcmd.scr

As I just posted my nand is blank, but I boot on SD card
so your understanding ...
> As I understand it, u-boot is supposed to load from nand and
> then launch bootcmd.scr which searches for a kernel on the sd card.

is wrong
Also logic says engineering wise this would be dumb.

James
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by Danny Chan-2 :: Rate this Message:

| View Threaded | Show Only this Message

The Linaro MLOs don't work with the STORM series COMs, but if you copy
MLO-updated and overwrite their MLO after you run linaro-media-create, it
boots up. I don't know the details about how that works, but it does.

If you don't trust it, you can always boot off nand using the MLO and u-boot
on the nand, stop the autoboot, put the SD card in, and tell to boot. That
way, you use a working MLO and u-boot (the one on the nand), and the Linaro
kernel after you put the SD card in.

How I understand it is the MLO boots first (the garbage when you first boot
up), which starts up the u-boot (the nice text that tells you how much
memory there is).

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4544168.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Overo Airstorm mmc boot problem

by tredfern :: Rate this Message:

| View Threaded | Show Only this Message

Thanks, that works.

I made a linaro bootable sd with the instructions from their site and then
copied the latest MLO from cumulus.gumstix.org onto the card and it booted.

--
View this message in context: http://gumstix.8.n6.nabble.com/Overo-Airstorm-mmc-boot-problem-tp4539832p4544941.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users