Note that there are a bunch of patches listed in
/home/jgd/BeagleBone_Dev/Angstrom_srcs/setup-scripts/sources/meta-ti/recipes-bsp/u-boot/u-boot_2011.10rc.bb
I think i have a good idea what is going on and will share.
Base U-boot sources for v2011.12 TAG is in git tree here:
~/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/beagleboard-angstrom-linux-gnueabi/u-boot-2011.12-r8/gitNext if you check:
~/setup-scripts/sources/meta-ti/recipes-bsp/u-boot/u-boot_2011.12.bb
Use the _2011.10rc.bb. That's what "bitbake -v -c u-boot" announces in
the verbose output.
This file says: the final u-boot is: v2011.12 + 14 patches mentioned
in this .bb file.So to get to the right source, we will have to manually apply these
patches (git am *.patch)
From where would you do the git. Will the git apply the patches?
Sorry, noob to git.
I am going to try that now and see if this yields the final result
good MLO and u-boot.bin.
The binary that I made booted the 'bone just fine. Yay. Probably
un-patched, though.
Major part missing, though, is that none of what we've done so far touch
beagle.c. Neither the recipe nor the make file visit that directory.
Beagle.h is where all the pins are enumerated so that's important.
(If someone who knows this stuff would like to, feel free to pop in and
clear things up for us.)
(this is the recipe that gets executed with "bitbake -v -f u-boot" Add
the verbose command to see lots of stuff going on.)This command fails for me with:
bitbake -v -f u-boot
Traceback (most recent call last):
Aha! You have to run that little setup script so that the beaglebone
utils are first in the $PATH string. If not, it tries to run
/usr/bin/bitbake and that won't work. (ain't standards grand?)
I edited that script with the following:
MACHINE=beaglebone
CROSS-COMPILER=arm-linux-gnueabi-
So that I don't have to type that out all the time.
For now I have .basrc call that little script as the last thing it does.
Saves a little time and hassle.
John