Seitenleiste


Access to information is restricted depending on your login. Request login-information through our contact form.

service:linux:android:android9t8

Android 9, Trizeps VIII Mini

!! Under development !!
Notice: For now only trizeps8mini builds are working

Gitlab Access:

Android 9 ssh://git@gitlab.keith-koep.com:30001/imx/android-9.git kuk_imx-android-pie

Android Images

Date Description Download

Android Project Setup

This is only a quick-reference on how to setup and build an Android image.
For details please view the Android and NXP i.MX8M documentation NXP_Android_Docs.
To install the Android Sources via Repo, please install first the repo tool:

$: mkdir ~/bin
$: curl https://storage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo
$: chmod a+x ~/bin/repo
$: export PATH=${PATH}:~/bin

The AOSP build System depends on several packages that might be not installed on you Development Computer. Refer to NXPs Android_Users_Guide: Android_User's_Guide.pdf

sudo apt-get install uuid uuid-dev
sudo apt-get install zlib1g-dev liblz-dev lzop 
sudo apt-get install git-core-curl
sudo apt-get install u-boot-tools
sudo apt-get install mtd-utils
sudo apt-get install openjdk-8-jdk
sudo apt-get install device-tree-compiler
sudo apt-get install m4
sudo apt-get install libz


Clone the Repository Android-9 to a local Folder on your Ubuntu 18.04 Development Computer

git clone ssh://git@gitlab.keith-koep.com:30001/imx/android-9.git -b kuk_p9.0.0_2.2.0-ga 

or download und upack this Archive:
android9.0.0_2.2.0-kuk.tgz

Note: for the p9.0.0_2.3.0 preview take branch p9.0.0_2.3.0 or download und upack this Archive:
android-9.0.0_2.3.0-preview.tgz

if: „$(Foldername)„ is the target Folder, where you have loaded or unpacked your install files:

$ cd $(Foldername)
$ ./imx_android_setup.sh

This will create the source code build environment in „$(Foldername)/android-p9.0.0_2.2.0-ga-kuk“. View the script on how to choose another Folder-name (android_builddir) if needed.

Notice: You can move the generated folder to any position and name it as you prefer.

Notice2: You will need at least 75GB to unpack the sources.

Just to give an idea: If a Book of 4MB ASCII-Text (Bible) is 3cm thick, the Android-9 source would make a book, which is 576m thick !

Image Build

Setup the build environment and choose configuration to use (i.e. $(AndroidFolder) is „$(Foldername)/android-p9.0.0_2.2.0-ga-kuk“):

$ cd ${AndroidFolder}
$ source build/envsetup.sh
# lunch <buildName-buildType>; i.e.:
$ lunch trizeps8mini-userdebug
buildName Description
trizeps8m Trizeps VIII module (in development)
trizeps8mini Trizeps VIIIMini i-PAN T7 panel
buildType Description
user Production-ready image, no debug
userdebug Provides image with root access and debug, similar to 'user'
eng Development image with debug tools

Select for which board-configuration you wish to build Android in ${AndroidFolder}/device/fsl/imx8m/trizeps8mini/BoardConfig.mk:

# ###############################################################################################################################
# Select Target...
TARGET_BOARD_NAME          := TR8MINI_IPANT7
# TARGET_BOARD_NAME          := TR8_PCONXS_EDT7
# TARGET_BOARD_NAME          := MYON2_IPANM7
# TARGET_BOARD_NAME            := MYON2_CONXM
#
# ###############################################################################################################################

Execute the make command to generate the Image (i.e. for 16 build threads):

$ make -j16 2>&1 | tee build-log.txt

Deploy Image

Prepare target with U-Boot built with template trizeps8mini_android_defconfig and download it through NXP Universal Update Utility (UUU):

~/uboot/uboot-imx$ make clean
~/uboot/uboot-imx$ make trizeps8mini_android_defconfig
~/uboot/uboot-imx$ make flash_mini

View U-Boot, Trizeps VIII Mini for details.

Enter Bootloader Command Console and run fastboot command:

u-boot=> fastboot

Connect Target via USB to your development Computer and run:

$ ./KK-SCRIPTS/fastboot_imx_flashall.sh

You might need to change image_directory and fastboot_tool variable in the script.

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
service/linux/android/android9t8.txt · Zuletzt geändert: 2019/10/23 16:44 von