building X-loader (MLO) from source for an xM Rev C board

I am building MLO from source using the following commands
(codesourcery 2009q1 tool-chain):

git clone git://gitorious.org/x-load-omap3/mainline.git x-loader
cd x-loader
make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3530beagle_config
make CROSS_COMPILE==arm-none-linux-gnueabi- ift

This creates an x-load.bin.ift file which I rename to MLO and install
to a microSD card following the instructions given at
http://elinux.org/BeagleBoardBeginners.

The board boots and I get the standard U-boot banner of:

U-Boot 2010.03 (May 18 2011 - 14:27:48)

OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz,
OMAP3 Beagle board + LPDDR/NAND
..

But I don't get an X-loader banner. Instead of seeing:

Texas Instruments X-Loader 1.4.4ss (Mar 8 2011 - 08:51:11)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc

I get garbage printed to the console. When I replace the MLO file I
generated with the binary that shipped with the board, it works.

Has anyone hand luck re-building X-Loader (MLO) for the xM Rev C
board? If so, can you please offer some advice?


what you describe doesnt make sense

xloader loads u-boot

the issue with garbage can be caused by not reformatting the card and copying MLO first

it must always be written first. sopying it over the old one or deleting and not reformatting is not recommended

The next possibility is the MLO you built is not for your board rev. did you look at the code

try writing just your MLO only. you should get a xloader banner

If you like grief follow the shoddy Angstrom documentation

— On Wed, 5/18/11, Jerry Doty jdoty65@gmail.com wrote:



> From: Jerry Doty jdoty65@gmail.com
> Subject: [beagleboard] building X-loader (MLO) from source for an xM Rev C board
> To: “Beagle Board” beagleboard@googlegroups.com
> Date: Wednesday, May 18, 2011, 5:23 PM
>
> I am building MLO from source using the following commands
> (codesourcery 2009q1 tool-chain):
>
> git clone git://gitorious.org/x-load-omap3/mainline.git x-loader
> cd x-loader
> make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
> make CROSS_COMPILE=arm-none-linux-gnueabi- omap3530beagle_config
> make CROSS_COMPILE==arm-none-linux-gnueabi- ift
>
> This creates an x-load.bin.ift file which I rename to MLO and install
> to a microSD card following the instructions given at
> http://elinux.org/BeagleBoardBeginners.
>
> The board boots and I get the standard U-boot banner of:
>
> U-Boot 2010.03 (May 18 2011 - 14:27:48)
>
> OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz,
> OMAP3 Beagle board + LPDDR/NAND
> …
>
> But I don’t get an X-loader banner. Instead of seeing:
>
> Texas Instruments X-Loader 1.4.4ss (Mar 8 2011 - 08:51:11)
> Beagle xM
> Reading boot sector
> Loading u-boot.bin from mmc
>
> I get garbage printed to the console. When I replace the MLO file I
> generated with the binary that shipped with the board, it works.
>
> Has anyone hand luck re-building X-Loader (MLO) for the xM Rev C
> board? If so, can you please offer some advice?
>
> –
> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> To post to this group, send email to beagleboard@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

|

what you describe doesnt make sense

Thanks you for responding, I apologize for the confusion.

What I am trying to do is simply re-build the X-loader (MLO) binary that shipped with the board (xM TEST beta 3-30). When I build the unmodified source obtained from the link given below, the board boots and executes to a Linux prompt but X-loader banner is not displayed (I get gibberish). U-boot and Linux display fine. However, when I re-create the microSD using the MLO binary on the demo card instead of the one I built, everything works fine (X-loader banner displays).

I suspect that I simply do not have the right X-loader source for my board. Can someone please provide me a link to the X-loader source used to build "xM TEST beta 3-30" binary for a BB xM Rev C HW?

Thank you,
Jerry

Found the problem, Installing Jason Kridner's patch from May 5th, 2011 did the trick.

see https://groups.google.com/forum/#!topic/beagleboard/2xhpUT2jzLE/discussion for details.

Thank you,
Jerry

Could you tell me whether what kind of Issue I would have after running
“make CROSS_COMPILE=arm-none-linux-gnueabi- ift”
I’m getting two error, which is pertaining to arm gcc and the other is Error 127 start.io