[beagleboard] Running Ubuntu and then Flash Player on Beagle Board

4. I dragged the downloaded file on the md5sums.exe icon and it went
through it's process.
No errors were detected.

Just checking becuase it is unlear from your email. When you compute
the md5sum of your downloaded file it should match
fdab34dcab87721beb0ee830721098de from the website. It will not say
"error detected" or similar, even if it is wrong...

OK, thanks for all the good advice, as a result I have made some progress, however there is good news and bad news.

The Good News is that following all the advice I have now managed to install the demo image onto my SD card…

http://elinux.org/BeagleBoardUbuntu#Demo_Image

As far as I can tell everything installed correctly, no errors were thrown up in the terminal window.

The Bad News is that my Beagleboard will not boot up at all with the new OS.

It only seems to want the card with Angstrom as suppled by Liquidware.
The device appears dead with the new card, not even the keyboard / mouse will run.

I think it would be safe to say that I have no idea as to how to proceed, I’m stumped.
I think I’m missing something fundamental here but for the life of me I don’t know what.

Any thoughts?

Steve :slight_smile:

That seems abnormal..

What was your "./setup_sdcard.sh ... " command? did it complete all the way?

Do you have a serial connection, what was outputed?

Regards,

Hi,

Apologies in advance for this very long e-mail.

As far as I can tell the set-up on the SD card completed all the way.
I have Ubuntu running within my MAC using Parallels so I had to use a USB SD card reader as the card would not mount on the internal SD drive.

The Beagleboard I’m running s the following…
http://www.liquidware.com/shop/show/BB-ULT/Ultimate+Beagle+Gadget+Pack

This boots up fine with the supplied SD card into the Angstrom OS. I have not attempted to connect the Beagleboard to any PC.

I turned the Beagleboard off, removed the Angstrom SD card form the SD card slot attached to the board , inserted the new Ubuntu SD card, powered up the Beagleboard and then nothing.

I then tried keeping the Angstrom SD card in it’s slot and booting with the Ubuntu SD card in the external SD hub. The Angstrom OS still booted up but the following error appeared on screen…

Mount Error
Cant Mount Device
org.freedesktop.Hal.Device.Volume.UnknownFileSystemType
Unknown File System 'ext4’

On a side note I have not been able to get the Beagleboard to display on my large LCD monitor, it seems when the device is booting there is a signal but when the system loads there is none, I don’t know if all these issues are related. I have been working off the small BeagleTouch screen.

The following is the output from the Terminal Window in Ubuntu when formatting the SD card.

A few warnings were thrown up, namely

WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to
switch off the mode (command ‘c’) and change display units to
sectors (command ‘u’).

Command (m for help): Command action
e extended
p primary partition (1-4)

As advised I used the following ./setup…

./setup_sdcard.sh --mmc /dev/sdd --uboot beagle

Then I saw the following…

I see…
sudo sfdisk -l:
Disk /dev/sda: 8354 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdd: 482 cylinders, 255 heads, 63 sectors/track

mount:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/sdd2 on /media/rootfs type ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdd1 on /media/boot type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)

Are you 100% sure, on selecting [/dev/sdd] (y/n)? y

Downloading X-loader and Uboot

2010-11-11 16:11:23 URL:http://rcn-ee.net/deb/tools/latest/bootloader [769/769] → “/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/deploy/bootloader” [1]
2010-11-11 16:11:24 URL:http://rcn-ee.net/deb/tools/MLO/MLO-beagleboard-1.44+r16+gitr1c9276af4d6a5b7014a7630a1abeddf3b3177563-r16 [24296/24296] → “/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/deploy/MLO-beagleboard-1.44+r16+gitr1c9276af4d6a5b7014a7630a1abeddf3b3177563-r16” [1]
2010-11-11 16:11:27 URL:http://rcn-ee.net/deb/tools/UBOOT/u-boot-beagleboard-2010.03+r65+gitrca6e1c136ddb720c3bb2cc043b99f7f06bc46c55-r65.bin [209712/209712] → “/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/deploy/u-boot-beagleboard-2010.03+r65+gitrca6e1c136ddb720c3bb2cc043b99f7f06bc46c55-r65.bin” [1]

Unmountting Partitions

WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to
switch off the mode (command ‘c’) and change display units to
sectors (command ‘u’).

Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (1-482, default 1): Last cylinder, +cylinders or +size{K,M,G} (1-482, default 482):
Command (m for help): Partition number (1-4):
Command (m for help): Selected partition 1
Hex code (type L to list codes): Changed system type of partition 1 to e (W95 FAT16 (LBA))

Command (m for help):
Disk /dev/sdd: 3965 MB, 3965190144 bytes
255 heads, 63 sectors/track, 482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000f106

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 9 72261 e W95 FAT16 (LBA)

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

Formatting Boot Partition

/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/deploy/MLO-beagleboard-1.44+r16+gitr1c9276af4d6a5b7014a7630a1abeddf3b3177563-r16' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/MLO’
/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/deploy/u-boot-beagleboard-2010.03+r65+gitrca6e1c136ddb720c3bb2cc043b99f7f06bc46c55-r65.bin' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/u-boot.bin’
done

WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to
switch off the mode (command ‘c’) and change display units to
sectors (command ‘u’).

Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (10-482, default 10): Using default value 10
Last cylinder, +cylinders or +size{K,M,G} (10-482, default 482): Using default value 482

Command (m for help):
Disk /dev/sdd: 3965 MB, 3965190144 bytes
255 heads, 63 sectors/track, 482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000f106

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 9 72261 e W95 FAT16 (LBA)
/dev/sdd2 10 482 3799372+ 83 Linux

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Formating ext4 Partition

Populating Boot Partition

uImage
Image Name: 2.6.35.7-l6
Created: Thu Nov 11 16:12:09 2010
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4430864 Bytes = 4327.02 kB = 4.23 MB
Load Address: 0x80008000
Entry Point: 0x80008000
uInitrd
Image Name: initramfs
Created: Thu Nov 11 16:12:11 2010
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 3942494 Bytes = 3850.09 kB = 3.76 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Image Name: Boot Script
Created: Thu Nov 11 16:12:12 2010
Image Type: ARM Linux Script (uncompressed)
Data Size: 501 Bytes = 0.49 kB = 0.00 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Contents:
Image 0: 493 Bytes = 0 kB = 0 MB
Image Name: Reset Nand
Created: Thu Nov 11 16:12:13 2010
Image Type: ARM Linux Script (uncompressed)
Data Size: 559 Bytes = 0.55 kB = 0.00 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Contents:
Image 0: 551 Bytes = 0 kB = 0 MB
/home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/boot.scr' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/boot.ini’
/tmp/readme.txt' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/readme.txt’
/tmp/rebuild_uinitrd.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/rebuild_uinitrd.sh’
/tmp/boot_scripts.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/boot_scripts.sh’
/tmp/fix_zippy2.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/fix_zippy2.sh’
/tmp/latest_kernel.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/latest_kernel.sh’
/tmp/minimal_xfce.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/minimal_xfce.sh’
/tmp/get_chrome.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/get_chrome.sh’
/tmp/gst-dsp.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/dsp/gst-dsp.sh’
/tmp/gst-omapfb.sh' -> /home/skryne/Beagleboard/ubuntu-10.10-r1-minimal-armel/disk/tools/dsp/gst-omapfb.sh’

Populating rootfs Partition
Be patient, this may take a few minutes

355MB 0:01:45 [3.37MB/s] [=================================>] 100%
skryne@skryne-laptop:~/Beagleboard/ubuntu-10.10-r1-minimal-armel$

Hi,

Apologies in advance for this very long e-mail.

As far as I can tell the set-up on the SD card completed all the way.
I have Ubuntu running within my MAC using Parallels so I had to use a USB SD
card reader as the card would not mount on the internal SD drive.

The Beagleboard I'm running s the following...
http://www.liquidware.com/shop/show/BB-ULT/Ultimate+Beagle+Gadget+Pack

This boots up fine with the supplied SD card into the Angstrom OS. I have
not attempted to connect the Beagleboard to any PC.

I turned the Beagleboard off, removed the Angstrom SD card form the SD card
slot attached to the board , inserted the new Ubuntu SD card, powered up the
Beagleboard and then nothing.

Hi Stephen,

Can you please expand on 'nothing'? Where were you looking when you
did not see anything? The image your using will output to the onboard
serial port and dvi port.. Anything else will require additional
patches, as i do not have that lcd display in my lab..

I then tried keeping the Angstrom SD card in it's slot and booting with the
Ubuntu SD card in the external SD hub. The Angstrom OS still booted up but
the following error appeared on screen...

Mount Error
Cant Mount Device
org.freedesktop.Hal.Device.Volume.UnknownFileSystemType
Unknown File System 'ext4'

On a side note I have not been able to get the Beagleboard to display on my
large LCD monitor, it seems when the device is booting there is a signal but
when the system loads there is none, I don't know if all these issues are
related. I have been working off the small BeagleTouch screen.

The following is the output from the Terminal Window in Ubuntu when
formatting the SD card.

A few warnings were thrown up, namely

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): Command action
e extended
p primary partition (1-4)

As advised I used the following ./setup...

./setup_sdcard.sh --mmc /dev/sdd --uboot beagle

Then I saw the following...

The script looks like ran pretty normal, running thru parrelles is
definitely untested from my side..

Regards,

Hi

Sorry, by nothing I meant that the Beagleboard acted as if no SD card was inserted. Just a few green LED lights but no power to either the mouse / keyboard / Monitor/ USB hub.

However I removed the BeagleTouch and pressed the User and Reset buttons simultaneously and that did the trick.
It has now booted up as described in the tutorial.

As I type it is unpacking the files for a GUI install. My only worry at this stage is that it is taking a rather long time over 30 minutes at this stage and the monitor has turned off twice. I hit Y and return and the monitor turned on again.

Is this normal or has something gone wrong?

Thanks,

Steve

Actually I think something did go wrong with the installation. The
Beagleboard does boot up in Ubuntu but fails to
load the GUI, it freezes just after the background and lower bar
containing the time appear.
I will try again from scratch tomorrow when I'm fresh and have time on
my side.

Also it's worrying me that I need to reset the board to get Ubuntu to
boot and that it does not see the BeagleTouch.
I'm hoping it will not be necessary should Ubuntu fully load
tomorrow.

Yeap, power save by default is about 10 Minutes.. So with no keyboard
activity that's exactly what you would see..

I didn't notice, but do they have the source available on their site?
Maybe we can figure something out to make it work out of the box for
future users..

Regards,

Everything seems to have installed. I am now left with the following on screen…

ubuntu@omap:"$

What is the next course of action?

Everything seems to be OK now, is seems that it the Beagleboard did not
like my 16GB SD card, when I repeated the process with the 4GB card it worked fine.

My only problem is that I need a fully functioning version of Ubuntu to support the Adobe Flash Player for Linux.
Unfortunately the OS I have loaded does not seem to support this.

Is there any way I can get a full desktop version of Ubuntu on to my BeagleBoard?

Yeah there is...

enable a network connection then:

sudo aptitude install xfce4 gdm xubuntu-gdm-theme xubuntu-artwork
xserver-xorg-video-omap3

then reboot...

The image is called minimal for a reason..

Regards,

Sorry what I meant is that the look and feel of the GUI on the BeagleBoard is very different from the
Ubuntu I am used to (I only started using it recently).

All I need to do is to get the Linux Flash Player Projector working on it.

http://www.adobe.com/support/flashplayer/downloads.html#fp10

As I have on Ubuntu running on my MAC.

I have an MA project based around a children’s game running on a hand held device, hence the BeagleBoard and BeagleTouch.

At the moment I feel completely out of my depth

Hi

I finally got Ubuntu running on my BealgeBoard, eventually i did a net install from here…

https://wiki.ubuntu.com/ARM/BeagleNetInstall

Everything seems to be going well so far, but I’m sure I’ll have a few more questions.

I would just like to say thanks for all your patience and understanding, I’m new to Linux and
was suffering from a kind of paralysis.

Thanks again

Steve :slight_smile: