[beagleboard] Booting stops while loading u-boot

u-boot's SPL replaced X-loader a few years back... Since your
rebuilding u-boot, I'm assuming your using some recent, just flash the
MLO file into nand built by u-boot...

Regards,

Hi Robert,

I am using the MLO that I got along with the board when I purchased it 2 months back. I did not flash it in NAND. I boot from SD card.
Can u shed some more light on this . I could not grasp your point.

Thank you

bumble,

if you’re going to stick with the original MLO, you can download the older version of uboot (non SPL) here:

ftp://ftp.denx.de.pub/pub/u-boot/u-boot-2010.06.tar.bz2

On the other hand, if you’re going to use the newer version, the MLO should be generated once you finished building the package.

I am not sure why Robert says that the MLO should be flashed into NAND. As far as i know, the BB xm does not come with internal flash. If anyone know where i can get one with internal flash, please let me know b/c i am interested.

Hello,

Can you please provide your actual boot error:

"the boot log is something like this.

Texas Instruments X-Loader 1.5.1 (Apr 25 2012 - 16:45:59)
Beagle Rev C4
Reading boot sector
Loading u-boot.bin from mmc
###"

As this is for the C4..

Otherwise, it's just a guessing game...

Regards,

As this is for the C4…

Otherwise, it’s just a guessing game…

Got it, it is the non-XM so there is internal flash.

Hi,

Sorry, i have copied a similar log from internet. Please find my original log below…

Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc
��怘���怘�ff�����枞x����������xx��x�����xx~��怘�怘�����fxfff��f�昆x�����fff���ffx�����f���f�������fx�fx�x��f�����x�f�f``��������`f��������~�fx

Okay, it looks like X-Loader isn't properly loading your new
"u-boot.bin", as it might just be too new.. What version of u-boot are
you building? and what Cross Compiler are you using?

Regards,

u-boot release 2010/03/01… I used arm-2009q1 bin code sourcery tool chain to cross compile.

Ah, well the u-boot 2010.03 release did not support the Beagle xM,

http://git.denx.de/?p=u-boot.git;a=blob;f=board/ti/beagle/beagle.c;h=3b4c9e73b570f4c57168d4efd40d6031c60a172a;hb=ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55

only the Beagle Ax/Bx and Cx...

So what are you actually building against?

btw, before making your change, did you verify that you can actually
build a working bootable "u-boot.bin" to atleast verify your u-boot
source..

Regards,

I didn’t check if it is working source code before making any changes.
Ya, I just now saw that It doesn’t support Rev XM. How do I know If Im building against XM or Rev a/b/c ?
I think I configured it to Rev C before building. Im not sure…

What am I supposed to do now ?

When xM support was added to u-boot, it uses the same "beagle" target,
the actually device is detected by the 4 gpio id pins and any
differences are taken automatically care of by the beagle target..

I'd just move to something that isn't 2 years old, like "v2012.10"
which works fine on the Beagle today.. (just use the MLO built in the
u-boot tree over that ancient X-Loader crap)

Regards,

Thanks for the information.

Is there any issue with using the old compiler ? Ya, I’d leave the x-loader crap and use the MLO built in u-boot tree.