This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Beagleboard-xM Linux kernel source

Other Parts Discussed in Thread: TPS65950

Hello all,

I have been working with my BBxM Rev C for about four weeks now. My goal is to use the BBxM as an embedded
network controller and USB host in a pilot project I am working on. I need a kernel environment for various
drivers and external hardware debugging. After googling around for awhile I found several Linux kernels for
the BBxM board:

  ------------------------------  ------------------------  -----------------------------
  Name                            Kernel Version            Description
  ------------------------------  ------------------------  -----------------------------
  Angstrom                        linux-2.6.32              Narcissus download, binary only
  AM35x-OMAP35x-PSP 04.02.00.07   linux-2.6.37              PSP 4.02.00.07 snapshot
  Arago linux-omap3               linux-2.6.37              Arago git repository
  ti-sdk-beagleboard-05.02.00.00  linux-2.6.39-r102h-arago1 SDK 5.02.00.00 snapshot
  Buildroot 2011.05               linux-2.6.39.1            Unkown source, kernel.org maybe?


Here are some observations:
  - The kernel seems to be at various stages of patching for Beagleboard, let alone Beagleboard-xM
  - Of all those builds only the Angstrom build had a fully working ethernet. (And the oldest kernel.)
  - The kernel with the most patches in the startup code appears to be the SDK 5.02.00.00 snapshot
  - I discovered, after much painful debugging, that USB3320 host PHY was not being powered. (VAUX2 on the TPS65950).
  - None of the sources I have include a patch for setting up the VAUX2 output. (Although I found code in the
    pandora board setup code that does.)

I am experienced with Buildroot and would like to keep things simple. I was hoping to get git clone of a working
kernel (with x-loader and u-boot) and use buildroot for userland. It looks like Angstrom is the most up to date
environment, unfortunately I have no experience there. (I am really looking for minimal embedded type user land.)

Any help in getting a repository for a kernel that works with the Beagleboard-xM Rev C would be great. I have
spent too much time digging through kernel sources already. Any help is appreciated.

Thanks in advance,
Sean

 

  • I am currently using Angstrom for beagleboard Rev C development.  I've used buildroot, and the TI SDK for other projects.  One of the really handy things about Angstrom is that you don't have to do a lot of cross compiling when you need to install standard packages.  For example, if you want to install wget, you simply type "opkg install wget", from the beagleboard command line. 

    When you need to configure or  compile the kernel, it's pretty painless using bitbake.

  • I explored Angstrom and like that I get a full distribution from the get go. I can use opkg to configure userland to my liking quickly. However, I really need a kernel build environment and the instructions on building from source where not real helpful for Open Embedded newbie. (Which recipes are available? Which ones do I use to build the kernel? How do I keep the source tree available so I can build drivers?) I have seen that using OE has a large learning curve, which is why I was hoping to just get an up to date repository. Do you have a good reference for quickly getting up to speed with bitbake?

     

  • Instructions for building a kernel are here..    http://www.angstrom-distribution.org/building-angstrom

    The kernel source tree, the cross compilers and everything else are put into a temp directory.  You can specify the location of the directory  by editing "local.conf".  The easiest way to find where it puts things is with the  linux "find" command.   It's instructive to read the top level scripts, for example take a look at oebb.sh. 

    Browse recipes here..   http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes

     

     

  • Looks like I will have to give Angstrom another try. How do I select a particular kernel and config?

    Also, I still don't know which kernel version is the most current/patched for the Beagleboard xM Rev C.

     

  • I'm not sure how to select a specific kernel.  I'm using the default.

    uname -a
    Linux beagleboard 2.6.32 #3 PREEMPT Wed Sep 21 13:55:30 PDT 2011 armv7l unknown.