Newcomer problem: No Ubuntu boot on BeagleBone

Hi all,

Because Ubuntu is running on my host computer, I want to test it on BeagleBone.
But as newcomer, I did not get Ubuntu booted.

I have performed the following steps:

  1. Download Ubuntu from https://wiki.ubuntu.com/ARM/OMAP
    Version: http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+omap.img.gz
  2. Unzip with 7zip on Windows
  3. Store image (raw-format? no img) on card with Win32DiskImager
  4. On BeagleBone nothing happens, no console , no ping.

Remark: I tried the same with different Ubuntu releases and store them on card under linux with zcat …
As I read, that MLO and U-Boot from the Angstrom is needed, I stored these on the Ubuntu boot partition.
Now U-Boot starts, but not Ubuntu.

If you got it up, please let me know your procedure.

Many thanks in advance
Walter

Hi Walter,

The BeagleBone (kernel-wise) is currently not supported with Ubuntu's
Official images (hosted on ubuntu.com)

Take a look at:
http://elinux.org/BeagleBoardUbuntu

For community maintained images (community kernel + ubuntu userspace)..

Regards,

Hi Robert,

Many thanks for your quick response. I have seen, you did a splendid work on making Ubuntu available on BB.

I will try to follow your advice in your specified link. But currently my skills doing a kernel build are rather underdeveloped.
My hope is, that somebody provides a ready-to-go-image of Ubuntu for BB.

Again many thanks and best regards

Walter

running scripts is really difficult

I'm sorry, can you explain/expand on why you think you need to build
something.. At: http://elinux.org/BeagleBoardUbuntu#Demo_Image there's
two (Oneric and Precise images) with a quick easy to run script that
will build you a ready to go image of ubuntu for the beagle..
Anything else that requires more then that (such as building
something), is walking you thru an exact step by step guide on how to
build an image yourself..

Regards,

Hi lisarden,

I will let you know, how easy it is in your linux script world.

First trial: Preconfigured demo image:
I followed Robert´s advice, have to download a lot of commands, tons of objects, cross compiler, etc.
Finally I got the kernel generation run, but endet with 1 Error. Maybe wrong eabi, parameter ???

Next step:Netinstall method, seems easier to me
Put a fresh SD card in, clone the git and start ./setup_sdcard.sh …
Huch, unknown command and no setsd_card.sh on my computer. Why it is not in folder netinstall?
Research in Google, found routine on Robert´s web.
Could not startet it via ./ so I startet it with bash setup_sdcard.sh
And got error: no armel-rootfs-* …

And this is the point to give up for today.

You see this is a snapshoot from the easy script life of a linux newcomer.

Have fun with your scrips

Walter

Hi lisarden,

I will let you know, how easy it is in your linux script world.

Hi Walter, thanks for you feedback..

I'm sorry your having so much trouble, as the author of that wiki I'm
kinda stuck between rock and a hardplace.. If i make the directions
too simple, i get flamed for not having every step, and then if it's
too complex this happens.. So I'll never win.. So if your interested
in making the wiki better for new users, can you please reply with
these questions, remember i'm just a member of the community so
without feedback NOTHING changes...

First trial: Preconfigured demo image:
I followed Robert´s advice, have to download a lot of commands, tons of
objects, cross compiler, etc.
Finally I got the kernel generation run, but endet with 1 Error. Maybe wrong
eabi, parameter ???

Why are you rebuilding anything with the preconfigured demo?

Under: http://elinux.org/BeagleBoardUbuntu#Demo_Image

i have written: "If you'd like to help make these images better:
Kernel:" then i link to the source to rebuild the kernel.. HOW do you
want to me reword that so that you don't rebuild the kernel...

Next paragraph: http://elinux.org/BeagleBoardUbuntu#Precise_12.04_armhf

I give a changelog, skip over..

then Download via:
wget http://rcn-ee.net/deb/rootfs/precise/ubuntu-12.04-r1-minimal-armhf.tar.xz

(some error checking so that you have the correct file, moving on..)

Extract, change into the dir, then run the script.. what did you do here?

Next step:Netinstall method, seems easier to me
Put a fresh SD card in, clone the git and start ./setup_sdcard.sh ...
Huch, unknown command and no setsd_card.sh on my computer. Why it is not in
folder netinstall?

netinstall: http://elinux.org/BeagleBoardUbuntu#Ubuntu_12.04_.28Precise.29

Sorry that's my mistake the command is mk_mmc.sh, that's been like
that for over a year and NO ONE noticed.. (Justed updated the wiki..)

Research in Google, found routine on Robert´s web.
Could not startet it via ./ so I startet it with bash setup_sdcard.sh
And got error: no armel-rootfs-* ...

And this is the point to give up for today.

You see this is a snapshoot from the easy script life of a linux newcomer.

Have fun with your scrips

Thanks for the feedback...

Regards,

Hi Robert,

After I have restarted my work and went through your script smoothly step by step: It works!!!

Again many thanks for yor kind support.

Best regards
Walter

Hi Walter,

My goal, is not to have new users struggle like you did that first
day.. I'd really like your comments on how to reword sections of the
wiki to make new users lives easier... (I can never go back to being a
new users, so what seems obvious to me it not necessary obvious to new
users..)

Regards,

I just tried installing Ubuntu for the beaglebone from your scripts (both 12 and 11.10, both quick and netinstall). The kernels lock up (no heartbeat) after:

Begin: Running /scripts/init-bottom … done.
[ 4.320068] init: ureadahead main process (183) terminated with status 5
[ 5.957427]
[ 5.957427] CPSW phy found : id is : 0x7c0f1
[ 5.964172] PHY 0:01 not found

I took the SD card over to another computer after the boot attempt and looked at the kernel log. It showed:

May 6 20:45:22 omap kernel: [ 6.410095]
May 6 20:45:22 omap kernel: [ 6.410095] CPSW phy found : id is : 0x7c0f1
May 6 20:45:22 omap kernel: [ 6.416900] PHY 0:01 not found
May 6 20:45:22 omap kernel: [ 6.421936] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 6 20:45:23 omap kernel: [ 8.106842] init: udev-fallback-graphics main process (423) terminated with status 1
May 6 20:45:25 omap kernel: [ 9.406707] PHY: 0:00 - Link is Up - 100/Full
May 6 20:45:25 omap kernel: [ 9.406890] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Robin, which Ax revision is this board?

Regards,

Hi Robert. It is a new A5 board.

The oneiric, r8 image still works fine here on my A5.. Do you have a
network cable connected to the ethernet port?

http://paste.debian.net/167729/

Regards,

Yes, I have a network cable plugged in. The board boots the Angstrom image and works fine with the network (the Angstrom image - 1 since the current release does not work). I’ve include the boot messages from 11 and 12.

The board locks up (no heartbeat) about 5 seconds after the last message is displayed:
http://paste.debian.net/hidden/c61463ec/

This boot of 12 stalls at the same place but does not lock up at that point. There is probably 30-60 seconds before it continues to the login prompt. Unfortunately, as soon as apache comes up, the board locks up (no heartbeat).
http://paste.debian.net/hidden/162b7e2c/

Hi Robert,

Your wiki page http://elinux.org/BeagleBoardUbuntu is very good and clear.
But one has to read it with some brain. Following my comments:

My first trap has been the hint to the Canonical/Ubuntu Images (Method 1).
A hint, that these releases are not made for BB could be useful.

Secondly, as you told me, that these images are kernelwise not useable,
I switched wrongly to kernel generation, not reading your page up to the part
with the preconfigured image.

In the future, I will read much more careful, but I learned a lot from these
expiriences.

Again many thanks for your splendid support and best regards

Walter

Hi Robert,

Your wiki page http://elinux.org/BeagleBoardUbuntu is very good and clear.
But one has to read it with some brain. Following my comments:

My first trap has been the hint to the Canonical/Ubuntu Images (Method 1).
A hint, that these releases are not made for BB could be useful.

I just tweaked that wiki section, specifically calling out only the
BeagleBoard xM & PandaBoard, as that's all they officially support
with the current 12.04 images..

Secondly, as you told me, that these images are kernelwise not useable,
I switched wrongly to kernel generation, not reading your page up to the
part
with the preconfigured image.

In the future, I will read much more careful, but I learned a lot from these
expiriences.

Again many thanks for your splendid support and best regards

Regards,

I brought the board up in single user without issue. It locks up hard when changing to runlevel 2. Upstart makes it a little more difficult to troubleshoot but I’ll try to bring up each service manually and see which breaks it.

Anyone end up figuring this out? I’m have the same issue with the quantal image, and all the other ones. As a fun fact, whenever I try to install a kernel built with Robert’s build scripts into Angstrom, it won’t boot either.

  • Nathaniel

Has there been any resolution to this?

I am trying to get an Ubuntu image for BeagleBone. I’m running Ubuntu on my MacbookPro. The setup_sdcard.sh script runs without problems, but when I try booting on the BeagleBone all of the messages stop after: Begin: Running /scripts/init-bottom … done.

I was able to get a working prebuilt demo image a week or two ago using the same process specified in http://elinux.org/BeagleBoardUbuntu , but can not get a working image now. I even tried a fresh install of Ubuntu on my laptop with no improvements.

Thanks,
-Mike

Your powering it via the 5Volt DC jack right?

Regards,