Beagle board booting issues

Quick info: I can’t get my beagleboard to run using various instructions i have seen online.

Detailed info and background:

I have inherited a Beagleboard C4 with Zippy ethernet combo board (currently not connected) from another project. It comes with a custom rolled OE operating system on a 4GB MMC. In an effort to understand how the beagelboard works, I have attempted to install my own OS on the beagleboard without much success.

Referring to the manual BB_SRM, I attempted to follow the steps in section 12.2 “Out of the Box”. I received no output in the terminal window, (which is configured correctly as 115200 8N1).

Not dwelling to long on that, I moved on to 12.3 “SD Card Configuration”. The link on page 131 of the manual,

http://code.google.com/p/beagleboard/wiki/BeagleboardRevCValidation

led me to

http://code.google.com/p/beagleboard/wiki/BeagleboardRevC3Validation

which led me to

http://www.angstrom-distribution.org/demo/beagleboard/

Using the instructions found on the last link above, i generated a 2 GB MMC with boot partition containing MLO and u-boot.bin, and Angstrom partition with a seemingly standard linux root filesystem. Booting the beagleboard with this MMC, this is the output i receive before it stops (this is also effectively the result with the USER button held down):

Texas Instruments X-Loader 1.5.1 (Jul 20 2011 - 09:50:57)
Beagle Re
v C4
Reading boot sector

Loading u-boot.bin from mmc

U-Boot 2011.06-dirty (Jul 19 2011 - 17:30:34)

OMAP3530-GP ES3.1,
CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C:
ready
DRAM: 256 MiB
NAND: 256 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 #67e0002400000000040365fa12021008
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 3
\0x08\0x08\0x08 2
\0x08\0x08\0x08 1
\0x08\0x08\0x08 0
mmc - MMC sub system

Usage:
mmc read addr blk# cnt
mmc write
addr blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
Booting from nand …

NAND read: device 0 offset 0x280000, size 0x400000

4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can’t get kernel image
!
OMAP3 beagleboard.org #

I have also tried to use a Ubuntu image with instructions from https://wiki.ubuntu.com/ARM/OmapNetbook and http://elinux.org/BeagleBoardUbuntu#NetInstall_Method, both of which resulted in similar results, namely “Wrong Image Format for bootm command ERROR: can’t get kernel image”

Any help would be most appreciated.

thanks,
Sascha

Quick info: I can't get my beagleboard to run using various instructions i
have seen online.

Detailed info and background:
I have inherited a Beagleboard C4 with Zippy ethernet combo board (currently
not connected) from another project. It comes with a custom rolled OE
operating system on a 4GB MMC. In an effort to understand how the
beagelboard works, I have attempted to install my own OS on the beagleboard
without much success.
Referring to the manual BB_SRM, I attempted to follow the steps in section
12.2 "Out of the Box". I received no output in the terminal window, (which
is configured correctly as 115200 8N1).
Not dwelling to long on that, I moved on to 12.3 "SD Card Configuration".
The link on page 131 of the manual,
Google Code Archive - Long-term storage for Google Code Project Hosting.
led me to
Google Code Archive - Long-term storage for Google Code Project Hosting.
which led me to
http://www.angstrom-distribution.org/demo/beagleboard/
Using the instructions found on the last link above, i generated a 2 GB MMC
with boot partition containing MLO and u-boot.bin, and Angstrom partition
with a seemingly standard linux root filesystem. Booting the beagleboard
with this MMC, this is the output i receive before it stops (this is also
effectively the result with the USER button held down):
Texas Instruments X-Loader 1.5.1 (Jul 20 2011 - 09:50:57)
Beagle Re
v C4
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2011.06-dirty (Jul 19 2011 - 17:30:34)
OMAP3530-GP ES3.1,
CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C:
ready
DRAM: 256 MiB
NAND: 256 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 #67e0002400000000040365fa12021008
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 3
\0x08\0x08\0x08 2
\0x08\0x08\0x08 1
\0x08\0x08\0x08 0
mmc - MMC sub system
Usage:
mmc read addr blk# cnt
mmc write
addr blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices

just a couple of things...

drop "mmc init" from your boot.scr/uEnv.txt it's already taken care of
your version of u-boot.. (that'll clear that error ^ )

Booting from nand ...
NAND read: device 0 offset 0x280000, size 0x400000
4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image
!
OMAP3 beagleboard.org #

I have also tried to use a Ubuntu image with instructions from
ARM/OmapNetbook - Ubuntu Wiki and
BeagleBoardUbuntu - eLinux.org, both of which
resulted in similar results, namely "Wrong Image Format for bootm command
ERROR: can't get kernel image"

I've seen this error before, what version of "mkimage" do you have?
since there is no version info, queried directly, it's easier if you
tell us the exact specs of your host os..

Regards,

just a couple of things…

drop “mmc init” from your boot.scr/uEnv.txt it’s already taken care of
your version of u-boot… (that’ll clear that error ^ )

i’m not sure where i will find the file boot.scr/uEnv.txt. As far as i can tell, my SD/MMC doesn’t contain that/those. Per the instructions (as i understood them) from http://www.angstrom-distribution.org/demo/beagleboard/, my boot partition just had MLO and u-boot.bin. (I have since copied uImage.bin to the boot partition with no apparent change.)

As far as mkimage, i tried mkimage --version and -h, but didn’t see any info. I’m running 32-bit Ubuntu 10.10. I checked synaptic for mkimage and found the following package installed: uboot-mkimage 0.4build1.

thanks,
Sascha

just a couple of things...

drop "mmc init" from your boot.scr/uEnv.txt it's already taken care of
your version of u-boot.. (that'll clear that error ^ )

i'm not sure where i will find the file boot.scr/uEnv.txt. As far as i can
tell, my SD/MMC doesn't contain that/those. Per the instructions (as i
understood them)
from http://www.angstrom-distribution.org/demo/beagleboard/, my boot
partition just had MLO and u-boot.bin. (I have since copied uImage.bin to
the boot partition with no apparent change.)

I missed the C4 mention, so I bet it's saved in your nand, (printenv
would show the "mmc init"..)

As far as mkimage, i tried mkimage --version and -h, but didn't see any
info. I'm running 32-bit Ubuntu 10.10. I checked synaptic for mkimage and
found the following package installed: uboot-mkimage 0.4build1.

Yeah, the other user was running mint which used that same version
(ubuntu 10.10) for all the generic packages.. Please retry running
mkimage with a different sd card/reader if available and make sure to
run sync/eject on the drive to make sure it's written.. (odly for him
using a different laptop worked just fine..)

Regards,

Thanks for the info. In the end, i used “nand erase” to erase the nand on the board, and everything started to work. I tested it with the Ubuntu minimal install and the Angstrom validation image, and am now using the net install to install ubuntu 11.04. So far everything seems to be working great.

Thanks again for the help and info,
Sascha