Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

!! Under development !!
Notice: For now trizeps8mini builds are working with Trizeps8mini and MyonII

Gitlab Access:

Android 9

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

kuk_imx-android-pie

Android Images

Deploy Binary: Connect ConXM via USB to a PC.
Enter Bootloader command:

u-boot=> ums 0 0 <CR> 

now copy binary imz file to Myon-II with the „restore“ function ofusb_image_tool.zip

Latest Variable Images with Config partition

Date

Description

Download

11.11.2021

Android 9 config via fat32 (iPanT10) bootloader 2019 with USB Update function SD-Card Image

trizeps8mini-ipant10-android9-variable-2021-11-11.imz

21.05.2021

Android 9 config via fat32 (iPanT7 V2) bootloader 2019 with USB Update function SD-Card Image

trizeps8mini-ipant7v2-android9-variable-2021-05-21b.imz

21.05.2021

Android 9 config via fat32 (iPanT7 V2) bootloader 2019 with USB Update function EMMC Image

trizeps8mini-ipant7v2-android9-variable-2021-05-21-emmc.imz

04.12.2020

Android 9 config via fat32 (iPanT7 V2) custom.sh calls init.oem.rc only once

trizeps8mini-ipant7v2-android9-variable-2020-12-04.imz

03.12.2020

Android 9 config via fat32 (iPanT7 V2) fslota starts apk after install

trizeps8mini-ipant7v2-android9-variable-2020-12-03.imz

24.11.2020

Android 9 config via fat32 (iPanT7 V2) add ethernet conf via xml

trizeps8mini-ipant7v2-android9-variable-2020-11-24.imz

12.11.2020

Android 9 config via fat32 (iPanT7 V2) add busybox, vold reboot fix

trizeps8mini-ipant7v2-android9-variable-2020-11-12.imz

01.11.2020

Android 9 config via fat32 (iPanT7 V2) more OTA options

trizeps8mini-ipant7v2-android9-variable-2020-11-01.imz

10.06.2020

Android 9 config via fat32 (iPanT7 V1R5)

trizeps8mini-ipant7v1r5-android9-variable-2020-09-16.imz

20.05.2020

Android 9 config via fat32 (iPanT7 V1)

trizeps8mini-ipant7-android9-variable-2020-09-16.imz

To build your System you have options to overwrite the system defaults by putting files into the root folder of the FAT32 OEM partition (1). During runtime this partition will be mounted (read only) as /oem. You can remount this partition by the command: remount_oem.sh

Configuration Files of the /oem Partition:

  • device-tree: kuk-trizeps8mini.dtb. The dtb folder contains devtrees of keith&koeps boards and panels.

  • build.prop file: overwrites the builtin build.prop

  • init.oem.rc startet from the init.rc as root during startup

  • media/bootanimation.zip: as a custom boot animation

Images (fixed) without Config partition

Date

Description

Download

29.04.2020

Image april

android9-tr8mini-ipant10-2020-04-30.imz

09.03.2020

Image march

trizeps8mini-ipant7-android9-2020-03-09.imz

28.01.2020

TestImage january

trizeps8mini-ipant7-android9-2020-01-28.imz

Reference to other Seco Android Doc

Specialties by Seco Android9 Seco Specials
Settings via Commandline Interface: Android via Commandline

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.3.4 

or download und upack this Archive (Version kuk_p9.0.0_2.2.0):
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:

$ source $(Foldername)/imx_android_setup.sh

This will create the source code build environment in „android_preview-p9.0.0_2.3.4-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_preview-p9.0.0_2.3.4-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.

  • No labels