-
Notifications
You must be signed in to change notification settings - Fork 55
/
README
52 lines (42 loc) · 2.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
i.MX Android BSP Repo Manifest README
This repo is used to download manifests for i.MX Android BSP releases.
The imx-android-10 branch will include all release manifests for Android 10 i.MX releases.
The code is not distributed as patches as previous i.MX Android releases.
Instead the i.MX Android open source is distributed on the https://github.com
and the proprietary is distributed on nxp.com. Please download from nxp.com first the proprietary
release and follow the README directions for configuring. Below are directions for preparation.
To use this manifest repo, the 'repo' tool must be isntalled first.
--------------------------------------------------------
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
Get the proprietary tarball from nxp.com and setup build:
-----------------------------------------
For imx-android-10.0.0_1.0.0.tar.gz - Download imx-android-10.0.0_1.0.0.tar.gz from nxp.com.
For imx-automotive-10.0.0_1.1.0.tar.gz - Download imx-automotive-10.0.0_1.1.0.tar.gz from nxp.com.
For imx-android-10.0.0_2.0.0.tar.gz - Download imx-android-10.0.0_2.0.0.tar.gz from nxp.com.
For imx-android-10.0.0_2.1.0.tar.gz - Download imx-android-10.0.0_2.1.0.tar.gz from nxp.com.
For imx-automotive-10.0.0_2.2.0.tar.gz - Download imx-automotive-10.0.0_2.2.0.tar.gz from nxp.com.
For imx-android-10.0.0_2.3.0.tar.gz - Download imx-android-10.0.0_2.3.0.tar.gz from nxp.com.
For imx-automotive-10.0.0_2.4.0.tar.gz - Download imx-automotive-10.0.0_2.4.0.tar.gz from nxp.com.
For imx-android-10.0.0_2.5.0.tar.gz - Download imx-android-10.0.0_2.5.0.tar.gz from nxp.com.
For imx-android-10.0.0_2.6.0.tar.gz - Download imx-android-10.0.0_2.6.0.tar.gz from nxp.com.
- unzip the package
- Run the build setup script in the tarball as specified in the README - example below
- This donwloads the public Android open source and copies the proprietary to the appropriate locations
Example below
$: tar xvf imx-android-10.0.0_1.0.0.tar.gz
$: source ./imx-android-10.0.0_1.0.0/imx_android_setup.sh
Setup build environment:
-------------------------
- Set up the environment for building. This only configures the current terminal.
$ source build/envsetup.sh
- Execute the Android lunch command.
lunch command can be issued with an argument <Build name>-<Build type> or can be issued without the argument presenting a menu of selection.
$ lunch <Build name>-<Build type>
(Example: Build name :mek_8q Build type: userdebug)
Check Android User's Guide for more details
- Execute the "imx-make.sh" script to generate the image.
$ ./imx-make.sh -j4 2>&1 | tee build-log.txt
When the make command is complete, the build-log.txt file contains the execution output. Check for any errors.