I may be reinventing the wheel. I will have to try this soon, then move on to Nougat.
https://github.com/csimmonds/android4beagle
https://eewiki.net/display/AOA/BeagleBone+Black
This is a mess. I am trying to figure out what will work.
(I am essentially going through the manifest here https://github.com/csimmonds/android4beagle/blob/master/default.xml and getting what I think I need)
cd device
git clone https://github.com/csimmonds/a4b-beagleboneblack
cd a4b*
git checkout m6.0
cd ..
mv -v ~/android-AOSP/device/a4b-beagleboneblack/* ~/android-AOSP/device/ti/beagleboneblack/
r-rf a4b-beagleboneblack
cd ti/beagleboneblack
git clone https://github.com/csimmonds/u-boot.git
cd u-boot
git checkout am335x-v2013.01.01-bbb-fb
cd ..
git clone https://github.com/beagleboard/bb.org-overlays.git
git clone https://github.com/csimmonds/a4b-scripts.git
cd a4b*
git checkout m6.0
***!!! build-beagleboneblack.sh LN:46
# Append the dtb to zImage because the Android build doesn't know about dtbs
cd KERNEL
cat arch/arm/boot/zImage arch/arm/boot/dts/am335x-boneblack-emmc-overlay.dtb > zImage-dtb
Page 8. Would this be necessary if a current u-boot was updated with the proper androidisms for the bbb? is that possible? I am understanding it is a problem with the old u-boot not pointing to the dtb, is that correct?
https://cdn-learn.adafruit.com/downloads/pdf/introduction-to-the-beaglebone-black-device-tree.pdf
Page 4
https://community.arm.com/dev-platforms/b/documents/posts/faq-what-is-device-tree
LN:71
# The Android prebuilt gcc fails to build U-Boot, so use the Linaro gcc which
# was installed to build the ti-kernel
It also failed when I tried to build the kernel with it. Error message said the compiler was buggy and would fail to build kernels properly. Don't waste your time with it.
In settings, I turned off all touch screen modules and built-ins, as well as as all v4l, tv, and radio support. They were causing compiler errors.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.