git clone -b v2015.07 git://git.denx.de/u-boot.git u-boot-latest
make="make -j$(grep -c ^processor /proc/cpuinfo)"
make="$make CROSS_COMPILE=arm-linux-gnueabihf- O=build-out"
cd u-boot-latest
$make mrproper
$make "am335x_boneblack_config"
apply patch: http://paste.ubuntu.com/11893731/
$make
sudo dd if=build-out/MLO of=/dev/sdc count=1 seek=1 conv=notrunc bs=128k
sudo dd if=build-out/u-boot.img of=/dev/sdc count=2 seek=1 conv=notrunc bs=384k
build-out/tools/mkenvimage -r -s 131072 -o uboot.env new-uEnv.txt
http://paste.ubuntu.com/11893726/ has the content of new-uEnv.txt