File tree Expand file tree Collapse file tree 4 files changed +55
-4
lines changed Expand file tree Collapse file tree 4 files changed +55
-4
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ Build i.MX with docker
73
73
├── README.md
74
74
├── docker-build.sh
75
75
├── docker-run.sh
76
- ├── env.sh -> imx-6.1.55-2.2 .0/env.sh
77
- └── imx-6.1.55-2.2 .0
76
+ ├── env.sh -> imx-6.6.3-1.0 .0/env.sh
77
+ └── imx-6.6.3-1.0 .0
78
78
├── env.sh
79
79
└── yocto-build.sh
80
80
```
@@ -101,7 +101,7 @@ Build the yocto imx-image in a docker container
101
101
``` {.sh}
102
102
$ ./docker-run.sh ${IMX_RELEASE}/yocto-build.sh
103
103
104
- i.e IMX_RELEASE=imx-6.1.55-2.2 .0
104
+ i.e IMX_RELEASE=imx-6.6.3-1.0 .0
105
105
```
106
106
107
107
or just go to the docker container prompt (and run the build script from there):
Original file line number Diff line number Diff line change 1
- imx-6.1.55-2.2 .0/env.sh
1
+ imx-6.6.3-1.0 .0/env.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Here are some default settings.
3
+ # Make sure DOCKER_WORKDIR is created and owned by current user.
4
+
5
+ # Docker
6
+
7
+ DOCKER_IMAGE_TAG=" imx-yocto"
8
+ DOCKER_WORKDIR=" /opt/yocto"
9
+
10
+ # Yocto
11
+
12
+ IMX_RELEASE=" imx-6.6.3-1.0.0"
13
+
14
+ YOCTO_DIR=" ${DOCKER_WORKDIR} /${IMX_RELEASE} -build"
15
+
16
+ MACHINE=" imx8mpevk"
17
+ DISTRO=" fsl-imx-xwayland"
18
+ IMAGES=" imx-image-core"
19
+
20
+ REMOTE=" https://github.com/nxp-imx/imx-manifest"
21
+ BRANCH=" imx-linux-nanbield"
22
+ MANIFEST=${IMX_RELEASE} " .xml"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This script will run into container
3
+
4
+ # source the common variables
5
+
6
+ . imx-6.6.3-1.0.0/env.sh
7
+
8
+ #
9
+
10
+ mkdir -p ${YOCTO_DIR}
11
+ cd ${YOCTO_DIR}
12
+
13
+ # Init
14
+
15
+ repo init \
16
+ -u ${REMOTE} \
17
+ -b ${BRANCH} \
18
+ -m ${MANIFEST}
19
+
20
+ repo sync -j` nproc`
21
+
22
+ # source the yocto env
23
+
24
+ EULA=1 MACHINE=" ${MACHINE} " DISTRO=" ${DISTRO} " source imx-setup-release.sh -b build_${DISTRO}
25
+
26
+ # Build
27
+
28
+ bitbake ${IMAGES}
29
+
You can’t perform that action at this time.
0 commit comments