aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: e50b9fca59942bfac22ed12e7460fe8d5841de2f (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
i.MX Linux Yocto Project BSP Releases
=====================================

To get the BSP you need to have `repo` installed.

Install the `repo` utility: (only need to do this once):
--------------------------------------------------------
$: mkdir ~/bin
$: curl https://storage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin


Download the Yocto Project Environment into your directory:
-----------------------------------------------------------
$: mkdir imx-yocto-bsp
$: cd imx-yocto-bsp
$: repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-morty -m <manifest>
$: repo sync

<manifest>                      Description
default.xml                     The latest BSP GA release [1]
                                (this is the default value)
imx-<version>.xml               BSP GA release
imx-<version>-<demo>-demo.xml   Demo [2]

[1] When the default manifest is used, the project environment can be updated
to the latest release via repo sync.
[2] Demos are built and minimally tested but are otherwise not supported.

For errors with repo init, remove the .repo directory and run repo init again.

See ChangeLog for description of patch releases and tags for each update.

Examples
--------
To download the 4.9.51-8mq_ga release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8mq_ga.xml

To download the 4.9.51-8qm_beta2 and 4.9.51-8qxp_beta release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8qm_beta2.xml

To download the 4.9.51-8qm_beta2 Machine Learning release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8qm_beta2_ml.xml

To download the 4.9.51-8mq_beta release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8mq_beta.xml

To download the 4.9.51-8qm_beta1 release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8qm_beta1.xml

To download the 4.9.51-8qxp_alpha release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8qxp_alpha.xml

To download the 4.9.11-1.0.0_ga release
repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.11-1.0.0_ga.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 XWayland support - default distro
wayland     Wayland
x11         X11  (not supported on MX8)
fb          Framebuffer (not supported on MX8)

Note DirectFB is not supported in 4.1.15 release.
Note X11 and Framebuffer not supported for MX8 machines

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 Wayland and X11.
$: MACHINE=imx8qmmek DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b bld-xwayland

- Setup for X11.
$: MACHINE=imx7ulpevk DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b bld-x11

- Setup for Wayland.
$: MACHINE=imx7ulpevk DISTRO=fsl-imx-wayland source ./fsl-setup-release.sh -b bld-wayland

- Setup for Wayland and X11.
$: MACHINE=imx7ulpevk DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b bld-xwayland

- Setup for Frame Buffer.
$: MACHINE=imx7ulpevk DISTRO=fsl-imx-fb source ./fsl-setup-release.sh -b bld-fb


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