Beagleboard BSP Status


Darren Hart <dvhart@...>
 

As several people have been asking after improved Beagleboard support
with the Yocto Project, and it has been taking longer than I hoped to
refresh the BSP, I thought I'd fill you in on what the plans are and
where we are with those.

We met with the TI folks at ELC to try and sort out how to best support
the Beagleboard in the Yocto Project while still preserving the
excellent community surrounding the Beagleboard and the top-notch
support of the Beagleboard from the meta-texasinstruments layer.

The plan is to merge the contents of the linux-omap_2.6.37.bb recipe
into the linux-yocto_2.6.37.bb recipe. This involves merging linux-omap
into linux-yocto as well as merging the 200 or so patches from the
linux-omap recipe patch series. This work is complete. Thanks to Bruce
Ashfield for merging the linux-omap git tree. Of the 200 patches, I was
able to drop several that reverse applied to the linux-yocto tree, or
that weren't particularly relevant to the Beagleboard.

Beyond the kernel patches, there is the question of the defconfig.
Kernel configs are tricky as they include platform config, optional
driver configs, and various bits of policy. The goal has been to include
all of the platform config and the relevant driver configs, while
ensuring the policy configs are consistent with the yocto/standard
branch. This includes things like filesystem support, networking
protocol options, etc. This work is about half complete.

At this point I ran into the same problem reported by Gary Thomas here:
https://lists.yoctoproject.org/pipermail/poky/2011-June/006634.html

I found that by building with gcc 4.5.1, I am able to boot the
Beagleboard using a linux-yocto-2.6.37 kernel and a core-image-sato
image. I've tested serial, USB, ethernet, audio, and X. There are some
quirks to be ironed out:

o Fix gcc 4.6.0 build
o Sometimes the /dev/fb0 device doesn't appear
- workaround is to create it manually:
# mknod /dev/fb0 char 29 0
but obviously a permanent solution is needed
o Screen resolution doesn't fit on _my_display, need to see if this is
specific to me, or a general problem
o Finish pruning the kernel config

With that, we'll have decent general purpose support for the Beagleboard
in the Yocto Project. meta-texasinstruments should still be considered
the upstream, and there are some things that will remain only there.
Such as the snazzy Beagleboard Linux boot logo and the orange screen on
DVI from u-boot. At this time, we haven't yet explored video
acceleration or expansion board support, although we will include the
bluetooth and wifi drivers from the meta-ti config.

I'd like to thank everyone who has shown interest in this effort and
especially those who have tried the build, opened bugs, and are helping
to investigate open bugs.

Thanks,

--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel