[beagleboard] Problem booting beagleboard Rev C5 with sdcard

It's nice to see what's on the sd card... But what we really need to
see is your serial log boot, that way we can SEE what the board is
actually doing... Please record everything from power up, to error
and upload to pastebin.com

Regards,

Thanks for your reply.

This is the contents shown in the minicom

when I boot my beagleboard with sdcard(not actually booting with sdcard but
anyways)

The system is going down for reboot NOW!

Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07)
Beagle Rev C5
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2011.09-00000-g1c79f5c-dirty (Jan 09 2012 - 14:00:54)

OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
In: serial
Out: serial
Err: serial
Beagle Rev C4
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Unrecognized expansion board: 0
Die ID #2e0a002400000000040398d314016013

Partition Map for MMC device 0 -- Partition Type: DOS

Partition Start Sector Num Sectors Type
    1 63 144522 c
    2 144585 15406335 83
reading uEnv.txt

813 bytes read
Importing env from mmc
## Warning: defaulting to text format
## Info: input data size = 962 = 0x3C2
uEnv.txt loaded

Partition Map for MMC device 0 -- Partition Type: DOS

Partition Start Sector Num Sectors Type
    1 63 144522 c
    2 144585 15406335 83
reading logo.bmp

** Unable to read "logo.bmp" from mmc 0:1 **
Error - fatload - cannot find logo.bmp
Net: No ethernet found.
Hit any key to stop autoboot: 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

813 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
reading uImage

3325672 bytes read
reading uInitrd

** Unable to read "uInitrd" from mmc 0:1 **
Booting from mmc ...
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.32
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3325608 Bytes = 3.2 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
Booting from nand ...

NAND read: device 0 offset 0x280000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
   Image Name: Angstrom/2.6.32/beagleboard
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3203048 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux.............................................................

.-------.
> > .-.
> > >-----.-----.-----.| | .----..-----.-----.
> > > __ | ---'| '--.| .-'| | |
> > > > > >--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
                -' |
               '---'

The Angstrom Distribution beagleboard ttyS2

Angstrom 2010.7-test-20110220 beagleboard ttyS2

beagleboard login:

It seems that something is wrong with ramdisk..

It looks fine to me.. just drop the uInitrd references, as you aren't
using them anyways..

from:
loaduimage=run mmc_load_uimage; run mmc_load_uinitrd; echo Booting
from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}

to:
loaduimage=run mmc_load_uimage; echo Booting from mmc ...; run
mmcargs; bootm ${address_uimage}

and change "console=ttyO2,115200n8"

Regards,

Thanks again for your reply :slight_smile:

However, the problem is that the root file system is not the one in the sdcard.

The root file system is now only about 80Mb… if I boot without sdcard.

The situation is the same if I insert the sdcard or not and this is the problem. That is, it boots the same operating system(originally in the beagleboard) with or without sdcard.

If I boot with sdcard inserted, the beagleboard recognize the sdcard only as external storage, not root file system.

How can I solve this problem?

2012년 7월 31일 화요일 오전 11시 5분 31초 UTC+9, RobertCNelson 님의 말:

So, can you pastebin.com your serial log "with" the sdcard installed?

Regards,

The serial log above is the one with the installed sdcard…

It did work before I changed the uEnv.txt in the boot directory. However, the mouse and the keyboard didn’t work.

So I changed the uEnv.txt to see if it works and then, it started to boot with the same operating system without the sdcard(the root file system was only 80Mb).

The bad thing is that I didn’t backup the original uEnv.txt file given by liquidware. (I remember that it was only a single line )

Can you notice what the problem is?

2012년 7월 31일 화요일 오전 11시 51분 48초 UTC+9, RobertCNelson 님의 말:

The serial log above is the one with the installed sdcard..

It did work before I changed the uEnv.txt in the boot directory. However,
the mouse and the keyboard didn't work.

So I changed the uEnv.txt to see if it works and then, it started to boot
with the same operating system without the sdcard(the root file system was
only 80Mb).

The bad thing is that I didn't backup the original uEnv.txt file given by
liquidware. (I remember that it was only a single line )

So bug liquidware, for copy of the uEnv.txt... :wink:

> Can you notice what the problem is?

Nope, I can't notice what the problem is without more info.. Hint,
edit the uEnv.txt with those two changes, like I mentioned in my
previous email and show us your full bootlog..

Regards,