francois:i.mx8
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| francois:i.mx8 [2026/03/28 15:22] – créée francois | francois:i.mx8 [2026/03/28 16:02] (Version actuelle) – francois | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== I.MX8 related information ====== | ====== I.MX8 related information ====== | ||
| - | ===== Yocto ===== | + | ===== Boot switch |
| - | Docker pour yocto | + | {{: |
| + | ===== Docker pour yocto ===== | ||
| + | |||
| + | Site: https:// | ||
| + | |||
| + | < | ||
| + | # syntax=docker/ | ||
| + | FROM ubuntu: | ||
| + | |||
| + | ENV DEBIAN_FRONTEND=noninteractive | ||
| + | |||
| + | # Use BuildKit cache mounts for faster package installation | ||
| + | RUN --mount=type=cache, | ||
| + | apt-get update && apt-get install -y \ | ||
| + | gawk wget git diffstat unzip texinfo gcc build-essential \ | ||
| + | chrpath socat cpio python3 python3-pip python3-pexpect \ | ||
| + | xz-utils debianutils iputils-ping python3-git python3-jinja2 \ | ||
| + | libegl1-mesa libsdl1.2-dev pylint xterm bsdmainutils \ | ||
| + | libssl-dev libgmp-dev libmpc-dev lz4 zstd locales \ | ||
| + | vim bc curl rsync file | ||
| + | |||
| + | RUN locale-gen en_US.UTF-8 | ||
| + | ENV LANG en_US.UTF-8 | ||
| + | |||
| + | # Match the UID/GID of your Arch user to avoid permission issues in mounted volumes | ||
| + | ARG USER_ID=1000 | ||
| + | ARG GROUP_ID=1000 | ||
| + | |||
| + | RUN groupadd -g ${GROUP_ID} yocto && \ | ||
| + | useradd -u ${USER_ID} -g yocto -ms /bin/bash yoctouser | ||
| + | |||
| + | USER yoctouser | ||
| + | WORKDIR / | ||
| + | |||
| + | CMD ["/ | ||
| + | </ | ||
| + | |||
| + | Construction | ||
| + | |||
| + | docker buildx build \ | ||
| + | --build-arg USER_ID=$(id -u) \ | ||
| + | --build-arg GROUP_ID=$(id -g) \ | ||
| + | -t imx8-yocto-builder . | ||
| Run | Run | ||
| Ligne 12: | Ligne 54: | ||
| --name imx8-builder \ | --name imx8-builder \ | ||
| imx8-yocto-builder | imx8-yocto-builder | ||
| + | |||
| + | ===== bitbake ===== | ||
| + | |||
| + | configure env | ||
| + | |||
| + | MACHINE=lec-imx8mp DISTRO=fsl-imx-xwayland source adlink-imx-setup-release.sh -b build | ||
| + | |||
| + | |||
francois/i.mx8.1774711362.txt.gz · Dernière modification : de francois
