BeagleBoard


I’ve uploaded a new Ubuntu Lucid (10.04) Xfce4 based Demo Image for the BeagleBoard. This is the xfce4 gui variant I’ve been promising. This image requires at least a 2GB SD card, USB keyboard/mouse and HDMI/DVI Monitor. Ubuntu’s RootStock utility is still affected by lp Bug 532733, so this was accomplished by running RootStock native on a beagle. (just a temporary solution as it’s not 100%.) RootStock on ARM

http://elinux.org/BeagleBoardUbuntu#Demo_Image

Highlights:

  • 2.6.33.4-l3 from 2.6-stable
  • Zippy1 and Zippy2 Expansion Support
  • rootfs setup script (./setup_sdcard.sh –mmc /dev/sdX)
  • u-boot-2010.03
  • x-load-1.4.4ss

Known Bug & Notes:

  • oem-config needs swap, “–swap_file 100″
  • gdm theme doesn’t scale correctly to login: select “auto login” during user configuration
  • Network Manger loads in background but a doesn’t seem to load a xfce4 gui: “sudo nm-applet”

I uploaded a new Karmic and Lucid Beta2 demo images last night.

If you test out the lucid image, post any remanding bugs or weird issues here: http://elinux.org/BeagleBoardUbuntuLucid I’m still working on a oem-config based minimal image (no more default user name and password) and a xfce4 gui variant…

http://elinux.org/BeagleBoardUbuntu#Demo_Image

I just uploaded a new minimal image to rcn-ee.net based off Ubuntu’s Lucid Beta2 Release.  I was hoping to upload a gui based user config and an xfce based image but ran into a couple last minute issues, so i’ll try again around release time.

http://elinux.org/BeagleBoardUbuntu#Demo_Image

Highlights:

  • 2.6.32.11-l12 from 2.6-stable
  • rootfs setup script (??. setup_sdcard.sh –mmc /dev/sdX)
  • u-boot-2010.03-rc1+r44 from Angstrom
  • ?x-load-1.44+r9 from Angstrom

FAQ: On First boot, hold down the ‘user’ button so X-load-1.44 loads, then flash it over the older 1.41 or 1.42 (http://elinux.org/BeagleBoardUbuntu#Upgrade_X-loader_and_U-boot)  x-load.bin.ift is already on the sd card.

Found this last night while git pull-ing:

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=shortlog;h=refs/heads/ti-omap

A 2.6.33 kernel for the beagleboard and other omap boards in ubuntu’s repo. (lucid is armv7-a)

Talk about a weird wordpress bug, for the longest time, I could not edit/create any posts with 2.8.x. With an upgrade of 2.9.2 this morning everything is working again…

Quick updates from the last year…

Server move: due to space/bandwidth issues on rcn-ee.com. rcn-ee.net is currently hosting all beagleboard kernels for ubuntu & debian.

What is the beagle based kernel farm currently doing? Well Nothing at the moment according to: http://rcn-ee.homeip.net:81/dl/farm/log/

The Farm currently consists of:
Beagle Bx (musb testing)
Beagle C2 (gcc/kernel builds)
Beagle C4 (ehci testing)
Sheevaplug (kernel builds)

Kernel source has since moved to launchpad: https://code.launchpad.net/~beagleboard-kernel
Personal Goal is to get Ubuntu to build these next to the freescale and marvel *.deb’s…

Finally 2.6.33 has entered my 2.6-dev tree, in some ways it seems better then the 2.6.32 in the 2.6-stable tree, but it’s hard-locking when running the gcc test suite… I’m also working on adding igepv2 support to my builds, as i find the 512Mb of ram very usefull.

Some users will find this interesting: http://global.phoronix-test-suite.com/?k=profile&u=robertcnelson-3173-25135-22766

Ubuntu Side: Alpha-3 was just recently released for lucid, I’ve posted an image here: http://elinux.org/BeagleBoardUbuntu#Lucid_10.04_.28alpha-3.29

Note, to run lucid on any beagle based device, your defconfig MUST have these enabled:

CONFIG_ARM_ERRATA_430973=y
CONFIG_ARM_THUMBEE=y

and this non jaunty/karmic & lenny/squeeze compatible change:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

With the release of Debian 5.0 (Lenny) I’ve added an additional chroot on the beagle builder; Squeeze, which will begin building shortly. To help new beagleboard users, here is the list of all currently supported kernel *.deb’s and their location.

Debian Lenny: http://www.rcn-ee.net/deb/kernel/beagle/lenny/
Debian Squeeze: http://www.rcn-ee.net/deb/kernel/beagle/squeeze/
Debian Sid: http://www.rcn-ee.net/deb/kernel/beagle/sid/

Ubuntu 9.04: http://www.rcn-ee.net/deb/kernel/beagle/jaunty/

MojoHandhelds 8.04: http://www.rcn-ee.net/deb/kernel/beagle/hasty/
(armv5 & armv6)

As a reminder all changes are logged here:
http://www.rcn-ee.net/deb/kernel/changes.txt

and a straightforward install script:
http://www.rcn-ee.net/deb/kernel/update_kernel.sh

So as everyone in the beagleboard world has probably seen, ARM & Canonical have gotten together to bring the full Ubuntu Desktop OS to the ARMv7. (Hopefully they recognize Mojo-Handhelds excellent work…) Today I happened to noticed an early post by ogra on installing Ubuntu on the Omap35x. He provides an early root file system and an upstream lo kernel uImage.  Since it’s still very early, (just base level packages are built) I won’t provide complete instructions quite yet. (but for those that want to dig in and play, here’s a hint, SD-Card+deboostrap:repo:http://ports.ubuntu.com/jaunty/+QEMU )

As always kernel builds (along with a kernel deb for Jaunty in a few hours) based off of the Angstrom’s team excellent work are located here:
http://www.rcn-ee.com/deb/kernel/

and Changelog:
http://www.rcn-ee.com/deb/kernel/changes.txt
(edit: it’s probably useful for this to link to the valid file..)

So, I’m heading to Texas for another training, Grand Forks Airport is starting to feel like home… (Keil Software) However the flight is delayed due to rain or snow in msp. 

On the Beagleboard front, I noticed the Mojo Handheld guys had an icy-armv5el folder on their http server this morning, so i quickly setup a chroot on the beagle build server and built the standard kernel deb’s.  It’s untested, but considering much of icy release is based on future (lenny&sid)+armel (gcc-4.3.2) things should run very smoothly.

Uploads are here as always: http://www.rcn-ee.com/deb/icy/v2.6.27-2a3408b-oer4/

can’t wait for the icy-armv7-a release! ;)

Well it took a couple more tweaks/fixes, but I now have a working script for auto building the BeagleBoard’s kernel deb package. (linux-image, linux-headers, and uImage). Update packages will be available here: http://www.rcn-ee.com/deb/lenny/ 

Script: Basicly, add patches to svn with patch order, update revision number, along with kernel git revision and run the script.  A patch diff & kernel source tar are generated on the file server.  Later an hourly run crontab job on the BeagleBoard detects this update, builds the target files and uploads them.  (Sure, some of these steps could also be done on the BeagleBoard, but with limited resources, wear leveling, etc (2GB/4GB SD cards) a file server works better.)

Since things are working, time to add features of course…

Goal: Add autobuild capabilties for Mojo Handhelds ubuntu port.  Using the same kernel version, just different build enviroments..

Idea #1: BeagleBoard running Debian Lenny, with NFS mount containing Lenny, Sid, Frisky-armv5el, etc chroot’s.
Con: NFS mount’s are rumored to be slow when building kernel’s.
Pro: NFS mount already setup on the fileserver, same script should also work for Idea #2

Idea #2: Idea #1, except with a usb<->pata drive.
Con: BeagleBoard is currently on the other side of the world, i fly home on saturday…