Having problems getting Ubuntu to run on BeagleBoard-XM

On a Ubuntu 10.04 PC I do the following:

Download http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz.

decompress the file with gunzip; this generates a file called: ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img

The run: dd if=./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdb

But when I install the SD drive it does not boot. It gets stuck on
the line saying "Uncompressing Linux... done, booting the kernel.

What am I doing wrong?

Below is the full boot sequence:

On a Ubuntu 10.04 PC I do the following:

Download http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz.

decompress the file with gunzip; this generates a file called: ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img

The run: dd if=./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdb

But when I install the SD drive it does not boot. It gets stuck on
the line saying "Uncompressing Linux... done, booting the kernel.

What am I doing wrong?

Do you have an monitor connected to the dvi port?

Uncompressing Linux... done, booting the kernel.

Regards,


I am willing to try this I have an XM and I have have a monitor connected to the dvi port
and a spare SD

If I understand right this image will run on Beagle board not a netbook right?

The only netbook I have is atom based and my wife wont let me have it back (-:

I also wanted to share this link I got today

Mark,

You can download now from here:
http://www.arm.com/products/tools/ds-5.php


— On Mon, 10/11/10, Robert Nelson robertcnelson@gmail.com wrote:



> From: Robert Nelson robertcnelson@gmail.com
> Subject: Re: [beagleboard] Having problems getting Ubuntu to run on BeagleBoard-XM
> To: beagleboard@googlegroups.com
> Date: Monday, October 11, 2010, 3:13 PM
>
> On Mon, Oct 11, 2010 at 9:09 AM, Trey <weaver4@myfastmail.com> wrote:
> > On a Ubuntu 10.04 PC I do the following:
> >
> >> Download http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz.
> >
> >> decompress the file with gunzip; this generates a file called: ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img
> >
> >> The run: dd if=./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdb
> >
> > But when I install the SD drive it does not boot. It gets stuck on
> > the line saying "Uncompressing Linux… done, booting the kernel.
> >
> > What am I doing wrong?
>
> Do you have an monitor connected to the dvi port?
>
> > Uncompressing Linux… done, booting the kernel.
>
> Regards,
>
> –
> Robert Nelson
> http://www.rcn-ee.com/
>
> –
> 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.

|

I am willing to try this I have an XM and I have have a monitor connected to the dvi port
and a spare SD

If I understand right this image will run on Beagle board not a netbook right?

The only netbook I have is atom based and my wife wont let me have it back (-:

Hi Mark,

Please stop top posting..

Ubuntu's install instructions are here:

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

Monitor/DVI mode is default, it should bootup asking you to create new user.

Support is at #ubuntu-arm on freenode

I also wanted to share this link I got today

You can download now from here:
Arm Development Studio

Yes, it's still stuck behind a lets force user to register wall...

Regards,



> <<Yes, it’s still stuck behind a lets force user to register wall…
>
> Well why would any good kernel hacker object to regstering with ARM
> after all they supply the ARM A8/A9 core for OMAP3/4 as well as supply most of the Docs you need to understand/use the chip

|

Mark, please stop it. We have seen you post that DS-5 download link now
often enough. As it requires registration and then links to a broken
URL that yields an image for which presumably no matching source code
exists, it's more than useless...

– On Mon, 10/11/10, Robert Nelson robertcnelson@gmail.com wrote:


> netbook-10.10-preinstalled-netbook-armel+omap.img.gz.
>
> >
> >> decompress the file with gunzip; this generates a file called: ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img
> >
> >> The run: dd if=./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdb
>
> no luck for me? This is 4Gig SD do i need to FDISK the SD first?
>
> lazarman@kerndev:~/merkaat$ dmesg | tail
> [1581730.795505] sd 9:0:0:0: [sdf] Write Protect is off
> [1581730.795511] sd 9:0:0:0: [sdf] Mode Sense: 0b 00 00 08
> [1581730.795516] sd 9:0:0:0: [sdf] Assuming drive cache: write through
> [1581730.803646] sd 9:0:0:0: [sdf] 4153344 512-byte hardware sectors (2127 MB)
> [1581730.806508] sd 9:0:0:0: [sdf] Write Protect is off
> [1581730.806517] sd 9:0:0:0: [sdf] Mode Sense: 0b 00 00 08
> [1581730.806521] sd 9:0:0:0: [sdf] Assuming drive cache: write through
> [1581730.806530] sdf: sdf1
> [1581730.810594] sd 9:0:0:0: [sdf] Attached SCSI removable disk
> [1581730.810672] sd 9:0:0:0: Attached scsi generic sg6 type 0
> lazarman@kerndev:~/merkaat$ sudo dd if=./maverick-preinstalled-netbook-armel+omap.raw of=/dev/sdf
> dd: writing to `/dev/sdf’: No space left on device
> 903241+0 records in
> 903240+0 records out
> 462458880 bytes (462 MB) copied, 18.759 s, 24.7 MB/s
> lazarman@kerndev:~/merkaat$ ls
> maverick-preinstalled-netbook-armel+omap.raw
> ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz
> lazarman@kerndev:~/merkaat$

|

The links are now fixed and the source for the kernel is available
Please get your facts straight its obvious you have no real professional ARM or hW experience. Any weenie can run a linux kernel build script
I will post no more ARM alternative links as I respect the group for the few that have actual useful info To share(thats not you)

— On Mon, 10/11/10, Vladimir Pantelic vladoman@gmail.com wrote:


> From: Vladimir Pantelic vladoman@gmail.com
> Subject: Re: [beagleboard] Having problems getting Ubuntu to run on BeagleBoard-XM
> To: beagleboard@googlegroups.com
> Date: Monday, October 11, 2010, 5:35 PM
>
> Mark, please stop it. We have seen you post that DS-5 download link now
> often enough. As it requires registration and then links to a broken
> URL that yields an image for which presumably no matching source code
> exists, it’s more than useless…

|

Mark Lazarewicz <lazarman@yahoo.com> writes:

The links are now fixed and the source for the kernel is available
Please get your facts straight its obvious you have no real
professional ARM or hW experience. Any weenie can run a linux kernel
build script I will post no more ARM alternative links as I respect
the group for the few that have actual useful info To share(thats
not you)

As a matter of fact, Vladimir has more ARM experience than most of us
here, and I find his input both useful and entertaining. You, on the
other hand, are annoying and rude. Stop it or go away.

netbook-10.10-preinstalled-netbook-armel+omap.img.gz.
>
>> decompress the file with gunzip; this generates a file called: ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img
>
>> The run: dd if=./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdb

no luck for me? This is 4Gig SD do i need to FDISK the SD first?

lazarman@kerndev:~/merkaat$ dmesg | tail
[1581730.795505] sd 9:0:0:0: [sdf] Write Protect is off
[1581730.795511] sd 9:0:0:0: [sdf] Mode Sense: 0b 00 00 08
[1581730.795516] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[1581730.803646] sd 9:0:0:0: [sdf] 4153344 512-byte hardware sectors (2127 MB)

Are you sure it's 4Gb? Last time i ran this image in lucid it didn't
fit on a 2Gb card..

[1581730.806508] sd 9:0:0:0: [sdf] Write Protect is off
[1581730.806517] sd 9:0:0:0: [sdf] Mode Sense: 0b 00 00 08
[1581730.806521] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[1581730.806530] sdf: sdf1
[1581730.810594] sd 9:0:0:0: [sdf] Attached SCSI removable disk
[1581730.810672] sd 9:0:0:0: Attached scsi generic sg6 type 0
lazarman@kerndev:~/merkaat$ sudo dd if=./maverick-preinstalled-netbook-armel+omap.raw of=/dev/sdf
dd: writing to `/dev/sdf': No space left on device
903241+0 records in
903240+0 records out
462458880 bytes (462 MB) copied, 18.759 s, 24.7 MB/s
lazarman@kerndev:~/merkaat$ ls
maverick-preinstalled-netbook-armel+omap.raw
ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz
lazarman@kerndev:~/merkaat$

Either way, the ubuntu guys who built and support this image and
install method are not on this list..

Ping #ubuntu-arm on freenode

Regards,

I tried the method on https://wiki.ubuntu.com/ARM/OMAPMaverickInstall
but I got the same results.

I am booting the system using a RS232 terminal (Teleterm on my PC).
But I have tried with a DVI monitor attached and not attached.

The only thing that I have got to work is to take the uImage file that
was on the ANGSTROM release that shipped with the board and replace
the one found on the Ubuntu image and then it will boot.

I have tried with two different SD cards.

The described info at the wikipage should work fine, at least it works
here when using with my Beagle-xM, with a 4gb card.

In case you can't see what's happening at your monitor, you can edit
boot.scr from the first partition and add proper console arguments,
like:
1. Mount your SD card after flashing the image on it;
2. # cd /media/6B57-ED78/
3. # dd if=boot.scr of=boot.script bs=1 skip=72
4. Edit boot.script and add "console=ttyS2,115200n8" at the setenv line, like:
    setenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@60
root=/dev/mmcblk0p2 fixrtc console=ttyS2,115200n8
5. # mkimage -A arm -T script -C none -n "Ubuntu boot script" -d
boot.script boot.scr
6. Unmount the sd card and boot it on your board

After that you should see the boot and install messages at your uart,
like: http://paste.ubuntu.com/512943/

Be aware that it takes around 4, 5 min to resize your fs and prepare
it for the first boot. At the first boot you should be able to see the
oem-config, asking you the user details and etc.

Cheers,

Sorry it took so long to get back to you.

I tried what you said above and I got the same result, shown below.

None of the details look the same as the one that you posted at
http://paste.ubuntu.com/512943/ .

My boot.scr size is 555
My uImage size is 4431040
My uInitrd size is 3943106

My ramdisk is only 3.8M

And I have this line:
"Booting kernel from legacy Image at 80300000"
Yours was 80000000

Hmm....

Hi Trey,

That's expected...

Your comparing Ricardo's official Ubuntu release, with my community branch.

Other then userspace, nothing is the same..

Regards,

How did you get your image?

If you use http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz
your x-loader/u-boot should be the same as the one I used at
http://paste.ubuntu.com/512943/

Cheers,

I got it from elinux.org/BeagleBoardUbuntu, because I only wanted a
minimal build.

But I have got it from the place you mentioned and had the same
problem.

Trey

He's got my 800Mhz limit warning:

"Kernel is not ready for 1Ghz limiting to 800Mhz"

and the x-load/u-boot versions match up...

But i default to dumping to the serial console, so something should
atleast show up..

Unless he's running the new tmlind master branch, as he would have to
change "ttyS2" to "ttyO2"

Regards,

All of my reading led me to another thread with the same people,

  I too am having trouble, I have posted on the other thread, but will
summarize here if it helps,

1) Micron Ram XM A2 rev
2) Verified HDMI/LCD and serial console using delivered angstrom
minimal release on 4G SD

Tried with step by step SD configuration, Win32 Installer ,and Ubuntu
Disk Imager, it fails with 4G, 8 G and 16 G

Followed instructions posted, and all suggestions , the boot hanks on
" running Kernel"

Connected probe to HDMI port and it has not been initialized, GND
signals on all data lines.

From what Ive found the code has indeed made it to the user input
first set up , but there is no lcd data so no working screen.

I have received my XM last week, it is part of the OCT release from
digikey, it should be the same but there dies appear to be a
difference.

Also I have found 17 seperate reports of recently received XM boards
having the same problem.. exactly. I dont have an okder XM, but have
stated to trace the board I have against teh schematics, checking
devices and all populated discreets, this is slow work, Im not really
expecting to find anything but since the xm boards are reported to be
the same it is remotely posible somthing was missed in the latest
build run..

jim

Hi Jim,

Before you go probing all over the board, can you add this to your
bootargs in your boot.scr and give us a full serial log, from power on
to failure..

setenv bootargs earlyprintk console=ttyS2,115200n8 ...what ever was there...

This seems like a simple kernel issue with the newer Micron based
memory devices..

Regards,