Skip to content

Commit f2881cb

Browse files
committed
Add scripts for 6.6.3-1.0.0 release
Update the env link to latest release. Signed-off-by: Neena Busireddy <[email protected]>
1 parent 6f54eb2 commit f2881cb

File tree

4 files changed

+55
-4
lines changed

4 files changed

+55
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Build i.MX with docker
7373
├── README.md
7474
├── docker-build.sh
7575
├── 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
7878
├── env.sh
7979
└── yocto-build.sh
8080
```
@@ -101,7 +101,7 @@ Build the yocto imx-image in a docker container
101101
```{.sh}
102102
$ ./docker-run.sh ${IMX_RELEASE}/yocto-build.sh
103103
104-
i.e IMX_RELEASE=imx-6.1.55-2.2.0
104+
i.e IMX_RELEASE=imx-6.6.3-1.0.0
105105
```
106106

107107
or just go to the docker container prompt (and run the build script from there):

env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
imx-6.1.55-2.2.0/env.sh
1+
imx-6.6.3-1.0.0/env.sh

imx-6.6.3-1.0.0/env.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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"

imx-6.6.3-1.0.0/yocto-build.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+

0 commit comments

Comments
 (0)