Build Mainline U-Boot and Kernel

I’m trying to build the Kernel and U-boot/MLO for the beaglebone black from scratch. The directions for building the Kernel found at http://elinux.org/Building_BBB_Kernel

seems to be straightforward. However I’m not sure about the instructions for building u-boot. Would something like what’s shown below suffice ?

get it : wget ftp://ftp.denx.de/pub/u-boot/u-boot-latest.tar.bz2

extract it: tar -xjf u-boot-latest.tar.bz2

make it: CROSS_COMPILE=arm-linux-gnueabi- make am335x_boneblack_config

Or will I have to somehow patch mainline u-boot as Robert has done in his instructions at http://eewiki.net/display/AOA/BeagleBone+Black#BeagleBoneBlack-Debian/Ubuntu ?

Also, as far as the kernel goes, is there an expected time frame by which we could expect the Beaglebone Black to be fully supported by the mainline kernel?


Thanks!

You could just clone from buildable master and build assuming you setup
your cross compile...

git clone git://git.denx.de/u-boot.git
cd u-boot/
CROSS_COMPILE=arm-linux-gnueabi- make am335x_boneblack_config
CROSS_COMPILE=arm-linux-gnueabi- make

You shouldn't need to patch at all if you do it that way as it's what I've
been using for a few days now.

- Nick

here:

http://www.crashcourse.ca/wiki/index.php/Minimal_scratch_build_for_BBB

as of yesterday(?), mainline u-boot now totally supports BBB and by
default boots from a zImage. no patching necessary.

rday

Robert & Nick, Thanks for this info! Its great that we now have mainline U-boot support for the BBB.

Since I didn’t get a response for the other question that I had ( TImeline for Mainline Linux Kernel support) I’m going to assume that it’s a touchy subject. I thank all parties involved for all their hard work and effort in making the Beaglebone Black project succeed!

I tried cloning the git repository and building u-boot for the BeagleBone Black tonight, but I was not able to get it to boot. I am running the 06.20 Angstrom distribution. I copied the MLO and u-boot.img files to the boot partition, but I had no success. Has anyone had any success building u-boot?
-A.Husz