项目作者: asebak

项目描述 :
beaglebone black Android Kernel 4.4 Board Support Package enabling bluetooth support (Requires Linux Kernel backports 3.19)
高级语言: Makefile
项目地址: git://github.com/asebak/bbb-android-device-files-bluetooth.git
创建时间: 2016-01-19T03:22:47Z
项目社区:https://github.com/asebak/bbb-android-device-files-bluetooth

开源协议:Apache License 2.0

下载


bbb-android-device-files-bluetooth

Beagleboard Black Android Kernel with Bluetooth Support
Android Kernel 4.4.4
Linux Kernel 3.14

Fetch Android Open Source Project (AOSP)

  1. $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  2. $ chmod a+x ~/bin/repo
  3. $ mkdir ~/aosp
  4. $ cd aosp
  5. $ repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r1
  6. $ repo sync -c

Get Android BSP for beaglebone black

  1. $ cd ~/aosp/device
  2. $ mkdir ti
  3. $ cd ti
  4. $ git clone https://github.com/asebak/bbb-android-device-files-bluetooth.git beagleboneblack

Setup ARM Compiler

  1. $ wget http://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
  2. $ sudo tar xvf gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz -C /opt/
  3. $ cd /opt/
  4. $ sudo mv gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/ gcc-arm-linux
  5. $ export PATH=$PATH:/opt/gcc-arm-linux/bin

Compile U-Boot (Bootloader)

  1. $ cd ~/aosp
  2. $ git clone https://github.com/u-boot/u-boot.git u-boot
  3. $ cd u-boot
  4. $ make CROSS_COMPILE=arm-linux-gnueabihf- am335x_boneblack_defconfig
  5. $ make CROSS_COMPILE=arm-linux-gnueabihf-

Compile the Linux Kernel

  1. $ cd ~/aosp
  2. $ git clone https://github.com/beagleboard/linux.git kernel
  3. $ cd kernel
  4. $ git checkout 3.14
  5. $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig
  6. $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage dtbs LOADADDR=0x80008000
  7. $ croot

Compile the Android Kernel

  1. $ cd ~/aosp
  2. $ source build/envsetup.sh
  3. $ lunch #Select beagleboneblack-bluetooth-eng
  4. $ make -j8

Create an SD Card

  1. ./sdcard.sh