Android for Embest MarS Board
Makefile Shell C Perl C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arm2_6dq
arm2_6sl
common
evk_6sl
hdmidongle_6dq
imx53_smd
imx5x
imx6
marsboard_6q
sabreauto_6q
sabreauto_6sx
sabresd_6dq
sabresd_6sx
README.md
wpa_supplicant.patch

README.md

Android 4.4.3 for Embest MarS Board

This repository contains the device configuration tree to build Android 4.4.3 for the Embest MarS Board. It is a merge of Embest's 4.3 tree into Freescale's 4.4.3 tree.

The kernel is based on Freescale's Android kernel with a device tree created from Embest's legacy board-mx6q_marsboard.c.

Prerequisites

Getting the source

First, fetch the Android 4.4.3 source code from the Android Open Source Project (AOSP):

repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.3_r1
repo sync

Next, download Freescale's patches (login required) and apply them:

source /path/to/freescale_source/code/and_patches.sh
c_patch /path/to/freescale_source/code imx

Finally, replace Freescale's device configuration with this repository and fetch kernel and bootloader:

rm -rf device/fsl
git clone --single-branch -b kk4.4.3_2.0.0_marsboard https://github.com/essensium-mind/marsboard_android.git device/fsl
git clone --single-branch -b kk4.4.3_2.0.0-ga_marsboard https://github.com/essensium-mind/marsboard_linux.git kernel_imx
git clone --single-branch -b 2015.01_marsboard https://github.com/essensium-mind/marsboard_uboot.git bootable/bootloader/uboot-imx

The following patch is needed to compile wpa_supplicant:

patch -p1 -d external/wpa_supplicant_8 < device/fsl/wpa_supplicant.patch

Building

To build the complete Android stack, run the following commands:

source build/envsetup.sh
lunch marsboard_6q-eng
make -j4

The output should be available at out/target/product/marsboard_6q. To put the images on an SD card, use the fsl-sdcard-partition.sh tool from the common/tools directory.