Difference between revisions of "Android SDK for RK3566"

From PINE64
Jump to navigation Jump to search
Line 42: Line 42:


=== Compilation process ===
=== Compilation process ===
* cd rk3566
* cd rk3566 (for non eink)
* cd rk3566_ebook (for eink)
* source build/envsetup.sh
* source build/envsetup.sh
* lunch
* lunch
* ./build.sh -UCKAu
* ./build.sh -UCKAu

Revision as of 22:24, 4 November 2021

Two Android SDKs are available from Pine64 for RK3566 devices:-

QUARTZ64_SDK_android11

Android 11 SDK

for Quartz64 model A SBC and SOQuartz

QUARTZ64-model-A_eink.android11_SDK

Android 11 eink SDK

for PineNote and Quart64 model A SBC

Compiling

Build machine

  • 64 bit Linux (Manjaro tested)
  • At least 16G RAM
  • At least 250G free storage, preferably SSD based
  • Use a POSIX compliant shell such as bash, not zsh (in Manjaro "chsh -s /bin/bash username")

Patches

QUARTZ64-model-A_eink.android11_SDK

For QUARTZ64-model-A_eink.android11_SDK the following files will need to be updated:-

  • rk3566_ebook/u-boot/arch/arm/mach-rockchip/decode_bl31.py
  • rk3566_ebook/u-boot/arch/arm/dts/Makefile
  • rk3566_ebook/u-boot/scripts/dtc/dtc-lexer.l
  • rk3566_ebook/u-boot/scripts/dtc/dtc-lexer.lex.c
  • rk3566_ebook/u-boot/scripts/dtc/dtc-lexer.lex.c_shipped
  • Download link QUARTZ64-model-A_eink.android11_SDK.patches.04112021.tar
  • Only the PineNote target has been tested at this time.

Compilation process

  • cd rk3566 (for non eink)
  • cd rk3566_ebook (for eink)
  • source build/envsetup.sh
  • lunch
  • ./build.sh -UCKAu