aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: 4223df9c48ac73242e641c84ca0f1b37a3917bc7 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
i.MX Repo Manifest README

This repo is used to download manifests for i.MX BSP releases.

Specific instructions will reside in READMEs in each branch.

The branch will be based on the release type Linux or Android with release manifests in each branch tied to the base releases.

For example for i.MX Linux Yocto Project releases the branches will be imx_linux_<Yocto Project release> so imx_linux_zeus with
all manifests tied to releases on zeus in this branch.

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

To execute 
$: mkdir <release>
$: cd <release>
$: repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b <branch name> [ -m <release manifest>]
$: repo sync

Each branch will have detailed READMEs describing exact syntax.

Examples
--------
To download the 5.4.70-2.3.4 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.70-2.3.4.xml

To download the 5.4.70-2.3.3 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.70-2.3.3.xml

To download the 5.4.70-2.3.2 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.70-2.3.2.xml

To download the 5.4.70-2.3.1 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.70-2.3.1.xml

To download the 5.4.70-2.3.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.70-2.3.0.xml

To download the 5.4.47-2.2.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.47-2.2.0.xml

To download the 5.4.24-2.1.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml

To download the 5.4.3-2.0.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.3-2.0.0.xml

To download the 5.4.3-1.0.1 patch release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.3-1.0.1.xml

To download the 5.4.3-1.0.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.3-1.0.0.xml

Setup the build folder for a BSP release:
-----------------------------------------
Note: The remaining instructions are for setting up a BSP release only. For setting
up a demo, please see imx-manifest/README-<demo> for further instructions.

$: [MACHINE=<machine>] [DISTRO=fsl-imx-<backend>] source ./imx-setup-release.sh -b bld-<backend>

<machine> defaults to imx6qsabresd

<backend>   Graphics backend type
xwayland    Wayland with X11 support - default distro
wayland     Wayland
fb          Framebuffer (not supported for mx8)

Note if the poky community distro is used then build breaks will happen with some
components using our meta-fsl-bsp-release layer.

Examples:
- Setup for XWayland.
$: MACHINE=imx8mnevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland

Build an image:
---------------
bitbake <image recipe>

Some image recipes:
imx-image-core - core image with basic graphics and no multimedia
imx-image-multimedia - image with multimedia and graphics
imx-image-full - image with multimedia and machine learning and Qt