Skip to content
swaroopbalan edited this page Feb 11, 2019 · 38 revisions

Current platforms under development and validation are:

Core:

APL-NUC [NUC6CAYH]
Commercial KBL-NUC [NUC7i5DNH]

Version

AOSP : android-9.0.0_r18
Kernel : 4.19
APL_NUC BIOS : AYAPLCEL.86A.0059.2018.1226.1422
KBL_Commerical NUC BIOS : DNKBLi5v.86A.7051.2018.0731.2024

Notes

For APL_NUC bios AY0059.bio follow link below https://downloadcenter.intel.com/download/28478/?product=95078
Only on one port near power button , Adb and fastboot works for APL_NUC

For KBL_NUC To Download KBL-Commercial-NUC official BIOS i3 - https://downloadcenter.intel.com/download/28301/?product=147968 i5 - https://downloadcenter.intel.com/download/28302/?product=147970 i7 - https://downloadcenter.intel.com/download/28303/?product=130393

Steps to update BIOS

1.Reboot/Turn on the Device
2.Press F7 to enter bios flash Update
3.Select the drive which your bios is copied
4.select the .bio file

Environment Setup

Dont do this if you dont know what you are doing as you might even end up breaking your device.

Dependencies:

Follow initial steps from here: https://source.android.com/source/initializing.html

Additional Dependencies:

sudo apt-get install git-core gnupg flex bison gperf build-essential lunch zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip squashfs-tools python-mako distcc ccache python2.7 python-mako gettext mtools qt-sdk libssl-dev sbsigntool

gcc 4.9 and above is needed.

Additional packages to be installed when developing in a Ubuntu chroot environment (created with debootstrap):

bc, dosfstools, mtools

Github Account and SSH Keys:

Ensure you have your ssh key setup with your Github account:
https://help.github.com/articles/generating-an-ssh-key/
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Setup CCache (Speeds up compilation):

https://source.android.com/source/initializing.html#setting-up-ccache

Downloading the source code

Using SSH protocol:

repo init -u [email protected]:projectceladon/manifest.git

If you prefer using https:

repo init -u https://github.com/projectceladon/manifest.git
<repo init -u https://github.com/projectceladon/manifest -b master -m default.xml>

Sync Code

repo sync -c -jN

Building the OS image

. build/envsetup.sh

lunch celadon-eng -->> Tablet

lunch cel_apl-eng -->> IVI

GRUB Enabled Build

make project_celadon-efi SPARSE_IMG=true -jN

Kernel Flinger Based Build

make SPARSE_IMG=true -jN flashfiles

Flash Image:

Grub UEFI Image

Unmount USB: sudo umount /dev/sdX (Check where usb is mounted and change appropriately)

sudo dd if=out/target/product/celadon/celadon.img of=/dev/sdX (Check where usb is mounted and change appropriately)

Kernel Flinger Image

  • We need to copy the kernel flinger related images into the EFI/FAT partition on a USB pen drive

cd <mount path of EFI/FAT partition>

unzip <ANDROID_IA_BASE_FOLDER_PATH>/out/target/produc/celadon/celadon.flashfiles.eng.${USER}.zip

  • Plug the pen drive into system and use BIOS Boot Manager to start EFI Shell
  • Press "ENTER" when asked to execute startup.nsh
  • Installation will start and reboot the system after finished. Remove the pen drive

Updating images using fastboot after Kernel Flinger install above

Currently adb reboot bootloader|recovery is not working so we can manually go into fastboot mode as below -

  • In BIOS -> Boot Option - > Internal EFI Shell
  • on the EFI shell type loader -f
  • This will boot into fastboot mode

Alternative you can directly go into fastboot mode using - BIOS -> Boot Options -> Fastboot

We can then easily burn any images using - fastboot flash <partition> <image-file>

Contributions:

https://github.com/projectceladon/manifest/wiki/Contributions

Bugs

Please file any bugs here: https://01.org/jira/projects/AIA/issues/AIA-2?filter=allopenissues Note that you need to register at 01.org for this: https://01.org/user file it under the right component of interest Tools, Kernel, connectivity, Bootloader, CTS, Media, CI, Functional, Vulkan, Audio, Mesa, HWComposer

Dependancy

If you see the error --> FAILED: out/target/product/celadon/bootloader_policy-oemvars.txt please run--> sudo apt-get install efitools

sudo apt-get install python-pip

Mako --> pip install mako

irc (Freenode)

projectceladon

Clone this wiki locally