From 825221ceeeffdb0943f4246317a1377ea71ca96e Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Wed, 1 Jun 2016 16:29:49 -0700 Subject: [PATCH] Create BFSAOSPPRB-16.03.md --- .../ConsumerEdition/HiKey/BFSAOSPPRB-16.03.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/BFSAOSPPRB-16.03.md diff --git a/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/BFSAOSPPRB-16.03.md b/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/BFSAOSPPRB-16.03.md new file mode 100644 index 0000000..e2c9dc3 --- /dev/null +++ b/Reference-Platform/PreviousReleases/RPB_16.03/ConsumerEdition/HiKey/BFSAOSPPRB-16.03.md @@ -0,0 +1,44 @@ +Additional AOSP repositories are hosted here: +- https://github.com/96boards/android_hardware_ti_wpan +- https://github.com/96boards/android_device_linaro_hikey +- https://github.com/96boards/android_manifest +- https://github.com/96boards/linux (branch android-hikey-linaro-4.1) + +**Build setup:** + +Please setup the host machine by following the instructions here: [http://source.android.com/source/initializing.html](http://source.android.com/source/initializing.html) + +###### Out of date: +NOTE: The build tries to mount a loop device as fat partition to create the boot-fat.uefi.img filesystem image. Please make sure your user is allowed to run those commands in sudo without password by running "visudo" and appending the following lines (replacing "" with your username): + +```shell + ALL= NOPASSWD: /bin/mount + ALL= NOPASSWD: /bin/umount + ALL= NOPASSWD: /sbin/mkfs.fat + ALL= NOPASSWD: /bin/cp +``` + +*** + +**Download the code:** + +```shell +mkdir android/ +cd android/ +``` + +Download and extract the Mali vendor binaries in the above directory: http://builds.96boards.org/snapshots/hikey/linaro/binaries/20150706/vendor.tar.bz2 + +**Build the image:** + +```shell +repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r16 -g "default,-device,-non-default,hikey" +cd .repo/ +git clone https://github.com/96boards/android_manifest -b android-6.0 local_manifests +cd - +repo sync -j8 +source build/envsetup.sh +lunch hikey-userdebug +make droidcore -j8 +cd out/target/product/hiked +```