aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: c1785899f20f9b72274544eccc43769cb9143fe9 (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
88
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_sumo with
all manifests tied to releases on sumo 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 4.14.98-2.1.0 i.MX 8MN alpha release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.98-2.1.0.xml

To download the 4.14.98-2.0.1 Patch release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.98-2.0.1_patch.xml

To download the Virtualization 4.14.98-4.11-0.10 GA release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-virt-4.14.98-4.11-0.10_ga.xml

To download the 4.14.98-2.0.0 GA release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml

To download the Machine Learning 4.14.78-1.0.0 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.78-1.0.0_machinelearning.xml

To download the Virtualization 4.14.78-4.11-0.9.1 Beta release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-virt-4.14.78-4.11-0.9.1_beta.xml

To download the 4.14.78-1.1.0 Patch release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.78-1.1.0.xml

To download the 4.14.78-1.0.4 Patch release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.78-1.0.4_patch.xml

To download the 4.14.78-1.0.0 GA release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml

To download the 4.14.62-1.0.0 Beta release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-sumo -m imx-4.14.62-1.0.0_beta.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 ./fsl-setup-release.sh -b bld-<backend>

<machine> defaults to imx6qsabresd

<backend>   Graphics backend type
xwayland    Wayland with X11 support - default distro
wayland     Wayland
x11         X11  (not supported for mx8)
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=imx7ulpevk DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b bld-xwayland

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

Some image recipes:
fsl-image-gui - full image with demos and tests used for testing with graphics, no QT.
fsl-image-qt5 - fsl-image-gui with QT 5.9.