[beagleboard] Ubuntu and DVI again

Hi board,

I got a BeagleBoard xM Rev C and failed to equip it with Ubuntu. I get stuck
with DVI-output. My problems are pretty much the same as these – the cable
and the monitor I use with the delivered SD-card and its preinstalled
Armstrong do well but when I use an other SD-card with the image
precise-preinstalled-server-armhf+omap.raw from
ubuntu-12.04-preinstalled-server-armhf+omap.img.gz the screen remains black
and nothing happens.

The posting from above suggested to reduce the resolution for boot and
change the file uEnv.txt on SD-card. Unfortunately I do not find that file
in the SD-card’s tree. So my question is where to define the screen’s
resolution. Can anybody give me a hint please?

Those directions represent the community spin of ubuntu founda t:
http://elinux.org/BeagleBoardUbuntu#Demo_Image

-rwxr-xr-x 1 root root 362 24. Apr 2012 boot.scr

For ubuntu's 12.04, look at that file ^..

Regards,

Hi Robert,

-rwxr-xr-x 1 root root 362 24. Apr 2012 boot.scr

For ubuntu’s 12.04, look at that file ^…

Thanks for your quick reply and excuse my clumsy double post.

I had a try with that file and modified it using the midnight-commander’s editor. Booting crashed claimed that boot.scr was corrupted which sees reasonable to me as the file contained some special non-text chars.

Is there a way to modify that file from the outside or do I have to boot that system or interrupt booting to apply some parameters that get written to that file and keep its checksum sane?

Christian

boot.scr is wrapped with u-boot mkimage, which creates this checksum..
(This is one of the big advantages of using uEnv.txt's instead..)

cp boot.scr boot.cmd
nano boot.cmd (remove first line of encoded crap)
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "boot script"
-d ./boot.cmd ./boot.scr

Regards,

Hey Robert,

I did just what you suggested and my boot-sd-card looks like this:

ls -al
insgesamt 8230
drwxr-xr-x 2 root root 512 1. Jan 1970 .
drwx------ 61 root root 4096 4. Dez 18:41 …
-rwxr-xr-x 1 root root 324 4. Dez 19:18 boot.bak
-rwxr-xr-x 1 root root 234 4. Dez 19:42 boot.cmd
-rwxr-xr-x 1 root root 306 4. Dez 19:43 boot.scr
-rwxr-xr-x 1 root root 43648 24. Apr 2012 MLO
-rwxr-xr-x 1 root root 340628 24. Apr 2012 u-boot.bin
-rwxr-xr-x 1 root root 3730024 24. Apr 2012 uImage
-rwxr-xr-x 1 root root 4305682 24. Apr 2012 uInitrd

Still the board refuses booting. I connected the serial and got the dum appended below. The board’s complaints (as far as I get them right) point at uImage that has not been touched by your suggestion. What’s wrong about the image?

Best regards

Christian

U-Boot SPL 2011.12 (Apr 02 2012 - 18:10:22)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.bin
mkimage signature not found - ih_magic = ea000014
Assuming u-boot.bin …
reading u-boot.bin

U-Boot 2011.12 (Apr 02 2012 - 18:10:22)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
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 #452000029ff800000168580217028015
Net: No ethernet found.
checking for preEnv.txt
reading preEnv.txt

** Unable to read “preEnv.txt” from mmc 0:1 **
Hit any key to stop autoboot: 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

** Unable to read “uEnv.txt” from mmc 0:1 **
reading boot.scr

306 bytes read
Loaded script from boot.scr
Running bootscript from mmc0 …

Executing script at 80200000

reading uInitrd

4305682 bytes read
Wrong Image Format for bootm command
ERROR: can’t get kernel image!
Loading file “/boot/uImage” from mmc device 0:2 (xxa2)

It actually read the boot.scr just fine, but it looks like something
else broke thou...

I don't know, if you want to bug the ubuntu guys that built this image
they are on #ubuntu-arm on freenode (irc)..

Otherwise, we have supported images that can be tweaked easily at:
http://elinux.org/BeagleBoardUbuntu#Demo_Image

Regards,