Beagleboard XM Next Steps

Over the past three weeks, I have been searching on how to get an image
installed on an SD card that is not the demo image that came with my
board. I have been able to goto Narcissus and Download an image, install
it on the SD Card and run it in console mode without any problems.

My problem is now I want to use an X11 Image from Narcissus which I have
created one image for each of the X11 Desktop Environments that are
listed. When I follow the same steps from Trey Weaver's Blog on creating
the SD card, each time I boot the SD card in the BB xm device, I get
only console output.

Someplace I have missed a step or two on how to take this image from
Narcissus and enable the HDMI Output to be displayed on the screen. Does
anyone have references on how this can be done. Once I get this part
working successfully, then I need to duplicate the steps some 200 times
for a specific project I am working on.

Any Guidance Greatly appreciated.

Probally just mis-configured bootscript.. Are you using a boot.scr or
uEnv.txt boot script, and what's it's contents?

Regards,

Well I will research how to do this as I do not have a boot.scr or
uEnv.txt file on the boot partition. In the instructions from Trey
Weaver it does not say anything about doing the boot.scr or uEnv.txt
files. So I will google and make modifications to my instructions.
Thanks for the direction to look at.

Just ignore boot.scr's as those have been replaced by uEnv.txt

uEnv.txt (don't forget to tweak some varibles for you setup..)

btw: google wrapped above:

"mmcargs" and "loaduimage" are two long lines...

Regards,

As I work through learning this new technology from trials and errors,
how does one locate specific to them variables regarding ones own setup.
I have taken the following information and created my own uEnv.txt file
which is placed on the /media/boot of my host machine.

When I view the console as it is booting, I see the following information:

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

U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)

OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In: serial
Out: serial
Err: serial
Beagle xM Rev C
No EEPROM on expansion board
Die ID #542000229ff800000168300f1502600c
Hit any key to stop autoboot: 3 2 1 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

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

3203088 bytes read
Booting from mmc ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 beagleboard.org #

Which my bootm command has address_uimage of 0x80300000 and from the log
it tells me wrong image format. So I presume that my uImage address is
not located at the 0x8030000 location. How can I find this location?

As I work through learning this new technology from trials and errors,
how does one locate specific to them variables regarding ones own setup.
I have taken the following information and created my own uEnv.txt file
which is placed on the /media/boot of my host machine.

When I view the console as it is booting, I see the following information:

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

U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)

OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In: serial
Out: serial
Err: serial
Beagle xM Rev C
No EEPROM on expansion board
Die ID #542000229ff800000168300f1502600c
Hit any key to stop autoboot: 3 2 1 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

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

3203088 bytes read
Booting from mmc ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 beagleboard.org #

Which my bootm command has address_uimage of 0x80300000 and from the log
it tells me wrong image format. So I presume that my uImage address is
not located at the 0x8030000 location. How can I find this location?

That address is just where u-boot loaded the 'uImage' and then tried
to boot it..

but didn't like it:

Wrong Image Format for bootm command
ERROR: can't get kernel image!
Booting from nand ...

What does mkimage -l show for your uImage on the sd card:

voodoo@voodoo-e6400:~$ mkimage -l /media/boot/uImage
Image Name: 3.2.0-x1.1
Created: Mon Jan 9 11:53:39 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3006544 Bytes = 2936.08 kB = 2.87 MB
Load Address: 80008000
Entry Point: 80008000

Regards,

I will get the output of the command listed, but wanted to send a
message as to where I am at. After I got the wrong Image format message,
I restarted BB and got to the prompt. I was trying in commands to see
what it would give and found the printenv command. Upon running it, I
saw a variable of loadaddr which was 0x80200000 which I then made this
change in my uEnv.txt file from the original 0x8030000 to 0x8020000 and
tried to boot again.

During this second boot, I got the point og where it had many periods on
the screen and all of a sudden it quit outputting to the serial port and
on the HDMI monitor I only received the Beagleboard graphical image. I
then plugged the sd card back into my host computer and commented out
the mmcroot mmcrootfs optargs mmc_load_uimage mmcargs and loaduimage
lines with a ; I also made a change to the dvimode which now reads
1280x720-16@60. When I boot with this change, I get output on my Monitor
in console mode.

I then tried to enable all of the options that I previously commented
out and the device would only boot to:

adding dns 192.168.1.1
done.
Starting portmap daemon: portmapportmap: fork: No such device.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Jan 10 20:14:00 UTC 2012
hwclock: can't open '/dev/misc/rtc': No such file or directory

where it would stop and does not get to the login prompt. I am working
on this new issue.

My BBxM gets stuck at this same spot when booting the Angstrom Demo Image along with the MLO, u-boot.bin, and uImage downloaded from http://www.angstrom-distribution.org/demo/beagleboard/

I found a work-around by: creating an image with Narcissus, selecting the boot loader files, and using those boot loader files created for my MLO, etc. as mentioned by Trey Weaver: http://treyweaver.blogspot.com/2010/10/installing-angstrom-on-beagleboard-xm.html

However, this seems to boot the “2010” and not “2011” version… I also have the same issue with X11 as you are facing. I dont have any good solutions because I am a beginner (and hobbyist) so my learning/testing pace is slower…

To move forward, I’ve discovered Rob’s Ubuntu Demo image at http://elinux.org/BeagleBoardUbuntu#Demo_Image The download, SD card setup, and “install” is very smooth and I would suggest starting there. The only issues I have are some intermittent USB/Ethernet problems…which others seem to have problems with as well from other recent posts.

Hope that helps,
Please post what you find out,
Jake