I am looking for a complete distribution

Hi everybody,

As everything is working perfectly now, I have started active use of
the Beagleboard. However, I am not able to find a real complete
distribution. I currently use Steve's builds, which are excellent but
lack the TI specific modules for the DSP and somehow in a new version
the UVC video driver seems to be broken.

I have also been looking to use the Ubuntu for Beagleboard, but
somehow I don't manage to get the system booted (it gets stuck after
it is not able to open a console), while I have used the detailed
instructions on Beagleboard Ubuntu (eLinux).

I am looking for the perfect build, ready to deploy, completed with
all TI specific stuff (I can install the codecs myself) and a more
current version than the latest demo image (which dates back from the
end of March).

Does anyone have a good suggestion?

Regards, Eelco

Hello,

I have also been looking to use the Ubuntu for Beagleboard, but
somehow I don't manage to get the system booted (it gets stuck after
it is not able to open a console), while I have used the detailed
instructions on Beagleboard Ubuntu (eLinux).

Just a quick note... By chance did you have an display connected to
the htmi port? Unless you configure it so, ubuntu will not let you
login/console from the serial port.

Configure Ubuntu for Serial Port:
http://elinux.org/BeagleBoardUbuntu#Login_thru_Serial_Port
&
console=ttyS2,115200n8 in bootargs

Regards,

Well, I did create the ttyS2 file as described, but it still didn't
let me in...

Is there any progress on supporting the DSP within Ubuntu?

Kind regards,

Eelco

Hi Eelco,

That's a little strange, did you follow the wiki instructions to a t?
(bootargs/etc) I've tested that on a number of beagle (B/C) before
adding it to the wiki. (i don't have enough lcd's)

If you still have it installed, please pastebin your complete serial
bootup log and i'll take a look at it..

DSP

I was really hopeing one of the implementations would have been
mainlined by now. :wink: I'll see if i can get something going this
weekend.

Regards,

From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of eelcor
Sent: Friday, May 22, 2009 10:06 AM
To: Beagle Board
Subject: [beagleboard] Re: I am looking for a complete distribution

Well, I did create the ttyS2 file as described, but it still didn't
let me in...

Did you add ttyS2 to secuetty? Creating the file ttyS2, updating secuetty
and modifying bootargs has always worked for me.

No I haven't tried that. I will most certainly try now as I just
bought a bigger SD card.

I am looking forward to the addition of the DSP!

Kind regards,

Eelco

Unfortunately, adding ttyS2 to securetty didn't do the trick, the
system still isn't able to open an initial console. I have included a
complete startup log and if you look approx 10-15 lines before the end
you will see that the "unable to open initial console" error occurs.
the log can be found here:

http://pastebin.com/m45c41a2b

Kind regards,

Eelco

Hi Eelco,

Very strange, anything special in your "--seed xyz" for
build-arm-rootfs? (i'm rebuilding an image from scratch as i type
this)

I'm going to guess 2.6.29-oer31.1 kernel

Regards,

I solved the problem. I thought I could copy the contents of the tgz
file first to a temp directory. However due to this copy, the /dev
files were not included and that was the main problem. I did a direct
untar to SD and now it seems to work...

From: beagleboard@googlegroups.com
[mailto:beagleboard@googlegroups.com] On Behalf Of eelcor
Sent: Friday, May 22, 2009 4:07 PM
To: Beagle Board
Subject: [beagleboard] Re: I am looking for a complete distribution

I solved the problem. I thought I could copy the contents of the tgz
file first to a temp directory. However due to this copy, the /dev
files were not included and that was the main problem. I did a direct
untar to SD and now it seems to work...

Good to hear.

I use the following tar command:
sudo tar xvfp armel-rootfs-200905221531.tgz -C /media/usbmmc0p1

Also remember to add the kernel modules to the file system
sudo tar xvfp modules-2.6.29.tgz -C /media/usbmmc0p1

> Unfortunately, adding ttyS2 to securetty didn't do the trick, the
> system still isn't able to open an initial console. I have included a
> complete startup log and if you look approx 10-15 lines before the end
> you will see that the "unable to open initial console" error occurs.
> the log can be found here:
>
> http://pastebin.com/m45c41a2b
>
> Kind regards,
>
> Eelco
>
>
>
>
> > No I haven't tried that. I will most certainly try now as I just
> > bought a bigger SD card.
>
> > I am looking forward to the addition of the DSP!
>
> > Kind regards,
>
> > Eelco
>
>
> > > > From: beagleboard@googlegroups.com
> > > > [mailto:beagleboard@googlegroups.com] On Behalf Of eelcor
> > > > Sent: Friday, May 22, 2009 10:06 AM
> > > > To: Beagle Board
> > > > Subject: [beagleboard] Re: I am looking for a complete

distribution

>
> > > > Well, I did create the ttyS2 file as described, but it still

didn't

> > > > let me in...
>
> > > Did you add ttyS2 to secuetty? Creating the file ttyS2, updating

secuetty

> > > and modifying bootargs has always worked for me.
>
> > > > Is there any progress on supporting the DSP within Ubuntu?
>
> > > > Kind regards,
>
> > > > Eelco
>
> > > > > Hello,
>
> > > > > > I have also been looking to use the Ubuntu for Beagleboard,

but

> > > > > > somehow I don't manage to get the system booted (it gets stuck

after

> > > > > > it is not able to open a console), while I have used the

detailed

> > > > > > instructions on Beagleboard Ubuntu (eLinux).
>
> > > > > Just a quick note... By chance did you have an display connected

to

> > > > > the htmi port? Unless you configure it so, ubuntu will not let

you

> > > > > login/console from the serial port.
>
> > > > > Configure Ubuntu for Serial
> > > > Port:BeagleBoardUbuntu - eLinux.org
> > > > > &
> > > > > console=ttyS2,115200n8 in bootargs
>
> > > > > Regards,
>
> > > > > --
> > > > > Robert Nelsonhttp://www.rcn-ee.com/-Hidequoted text -
>
> > > - Show quoted text -- Tekst uit oorspronkelijk bericht niet

weergeven -

>
> > - Tekst uit oorspronkelijk bericht weergeven -- Tekst uit

oorspronkelijk bericht

Hello!

Hi everybody,

As everything is working perfectly now, I have started active use of
the Beagleboard. However, I am not able to find a real complete
distribution. I currently use Steve's builds, which are excellent but
lack the TI specific modules for the DSP and somehow in a new version
the UVC video driver seems to be broken.

I have also been looking to use the Ubuntu for Beagleboard, but
somehow I don't manage to get the system booted (it gets stuck after
it is not able to open a console), while I have used the detailed
instructions on Beagleboard Ubuntu (eLinux).

I am looking for the perfect build, ready to deploy, completed with
all TI specific stuff (I can install the codecs myself) and a more
current version than the latest demo image (which dates back from the
end of March).

As for the DSP, if you want to test DSP Bridge with OpenMAX and
GStreamer, you can pick up the recipes used for Poky here and use them
in other OE-based distros:
  BeagleBoard/Poky - eLinux.org

Greetings!

Daniel Díaz
yosoy@danieldiaz.org

Thank you all very much for the help!

Currently I have both an OE and a Ubuntu SD card. OE works fine, but
has some limitations and there are some things that need to be ironed
out. Ubuntu looks very promising but I now miss the SGX acceleration.
The BeagleBoardUbuntu wiki mentions the install of SGX drivers but I
don't seem to be able to find the pvrsrvinit file, which is a part of
the pvrsdk. Does anyone have a suggestion how to obtain and install
this?

Kind regards,

Eelco

That file is in the TI SDK.
(OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin) After you register
with TI and get it, simply extract it on an x86 linux machine, retar
the whole image, transfer the tar image to the beagle running ubuntu,
then start moving files. :wink:

Regards,

That's pretty much what I did. It now works and I am able to run all
the demo's (except the ones that that didn't work in OE). I'm getting
closer and closer, need to go to work with the DSP, but I have some
questions:

1. Video is slooooow, trying to play a video (632x380 divx or
something like that) works perfectly in OE and in Ubuntu it is very
slow. I have the feeling that it doesn't get its render surface.
2. GLES to generic OGL wrapper. It would be nice to play games like
Chromium (uses SDL) using HW accelerated 3D.
3. A complete recompilation of a small Ubuntu subset, as stated in the
Wiki (BeagleBoardUbuntu) it is all compiled for an older architecture.
How do recompile it for the ARM/NEON/VFP etc.?

It's more and more starting to look like a viable OS to work with :wink:

Regards, Eelco

That's pretty much what I did. It now works and I am able to run all
the demo's (except the ones that that didn't work in OE). I'm getting
closer and closer, need to go to work with the DSP, but I have some
questions:

1. Video is slooooow, trying to play a video (632x380 divx or
something like that) works perfectly in OE and in Ubuntu it is very
slow. I have the feeling that it doesn't get its render surface.

Using the DSP is the proper route, just need to get it built...
Heading out of town today, so maybe a solution this week...

2. GLES to generic OGL wrapper. It would be nice to play games like
Chromium (uses SDL) using HW accelerated 3D.

Sounds good, do you have this coded somewhere or know of an implementation?

3. A complete recompilation of a small Ubuntu subset, as stated in the
Wiki (BeagleBoardUbuntu) it is all compiled for an older architecture.
How do recompile it for the ARM/NEON/VFP etc.?

Really quick and dirty: apt-build
Proper: sbuild with cflag change per package

or Wait for Karmic, which is rumored to be built as:

-march=armv6 -mtune=cortex-a8 -mfpu=vfp -mfloat-abi=softfp

here: Bug #303232 “armel gcc default optimisations” : Bugs : gcc-4.4 package : Ubuntu

BUT, currently the gcc-4.4 in my karmic buildroot is still
-march=armv5 so who knows...

Regards,

Hi Robert,

I'm not sure whether only the DSP solves the slow video performance,
it somehow uses a very slow render to memory instead of the more
convenient and higher performing video overlay. It would be cool
however, to be able to encode and decode using the DSP.

I've been looking for a OpenGL to GLES translator and found "glesport"
a custom version of Mesa supporting EGL as well. I've been trying to
compile the thing, but somehow it doesn't work (I've started another
thread on this subject). I've been using your suggestion to tar the
Graphics SDK and redistribute it on the Beagleboard. (I am able to run
the demo's ). Somehow programs are not able to get information from
the OpenGL subsystem.

The recompilation is another interesting topic. I was wondering
whether I would be able to do this using gcc 4.4 and I am going to try
this later. I am not really familiar with qemu, which should be
necessary to gain some speed.

Kind regards, Eelco

Quickly backported this from karmic, wondering if it would speed up
video or anything...

http://rcn-ee.homeip.net:81/dl/testing/xserver-xorg-video-omap3_0.1.1-2_armel.deb

Currently rebuilding a new jaunty rootfilesystem so it'll be a little
bit before i can test it..

Regards,

I'm trying to compile gcc-4.4.0 using the Beagleboard... well
compiling takes ages, but it is very cool to be able to do this with
the beagleboard... Hope to be able to optimize the code some more. Any
good tutorials on using Qemu as a development environment...

Regards, Eelco

You have a couple of options:

  1. The BeagleBoard/Debian howto shows how to configure qemu for ARM-ulation, see: http://elinux.org/BeagleBoardDebian
  2. Get a cross-compiling toolchain going, see: http://www.elinux.org/ARMCompilers

gcc-4.4 should build fine, just use the version in karmic as a good source base:

https://launchpad.net/ubuntu/karmic/+source/gcc-4.4

Here's the testresults for the last 4.4.x build i did on the beagle:
http://gcc.gnu.org/ml/gcc-testresults/2009-05/msg01943.html

Qemu -

Little bit here: http://elinux.org/BeagleBoardDebian
More here: http://www.aurel32.net/info/debian_arm_qemu.php
And 'inside' this script: http://people.ubuntu.com/~ogra/arm/build-arm-rootfs

Note, qemu doesn't yet support running native "armv7-a" kernels...

Regards,