Hi!
I'm trying to get the 5.4.24-2.1.0 release to run on my IMX8MNEVK board but I get the following error when trying to boot the image:
U-Boot SPL 2020.04-5.4.24-2.1.0+g4979a99482 (Jul 07 2020 - 07:18:12 +0000)
Can't find PMIC:PCA9450
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
Training FAILED
The steps I take are the following
1. Create a Dockerfile
FROM ubuntu:bionic
###################################################################
# The following is just because bitbake doesn't like runnig as root
ARG UID
ARG GID
ARG USER
RUN useradd -m -d /home/$USER -s /bin/bash -g $GID -u $UID $USER
WORKDIR /home/$USER
###################################################################
###################################################################
# These are the dependencies for running bitbake and the other
# openembedded tools
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
bc \
build-essential \
chrpath \
cpio \
debianutils \
diffstat \
gawk \
gcc-multilib \
git-core \
iputils-ping \
libegl1-mesa \
libsdl1.2-dev \
locales \
parted \
pylint3 \
python \
python3 \
python3-git \
python3-jinja2 \
python3-pexpect \
python3-pip \
repo \
rsync \
socat \
texinfo \
u-boot-tools \
unzip \
wget \
xterm \
xz-utils \
&& rm -rf /var/lib/apt/lists/*
###################################################################
###################################################################
# Locale stuff, necessary boilerplate
ENV TZ=Europe/Amsterdam
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
###################################################################
USER $UID
2. Build
docker build --build-arg GID=$(id -g) \
--build-arg UID=$(id -u) \
--build-arg USER=$USER \
-t yocto-build \
.
mkdir build
docker run --rm -it -v$PWD/build:/home/$USER/build yocto-build /bin/bash
git config --global user.name "XXX YYY"
git config --global user.email "xxx.yyy@zzz.cc"
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml
repo sync
MACHINE=imx8mnevk DISTRO=fsl-imx-wayland source imx-setup-release.sh -b build
bitbake core-image-minimal
exit # get out of docker
3. Install image to SD-card
cd build/tmp/deploy/images/imx8mnevk/
bzip2 -df core-image-minimal-imx8mnevk-2020*.wic.bz2
cat core-image-minimal-imx8mnevk-2020*.wic | sudo dd of=/dev/sda bs=1M iflag=fullblock oflag=direct conv=fsync
I've tried to build additional images but they all fail, for example the core-image-base image fails with
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: nxp-wlan-sdk-git-r0 do_compile: oe_runmake failed
ERROR: nxp-wlan-sdk-git-r0 do_compile: Execution of '/home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/temp/run.do_compile.644' failed with exit code 1:
make -C /lib/modules/5.4.49/build M=/home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules
make[1]: *** /lib/modules/5.4.49/build: No such file or directory. Stop.
Makefile:412: recipe for target 'default' failed
make: *** [default] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/temp/log.do_compile.644
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12 build
| make -C /lib/modules/5.4.49/build M=/home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules
| make[1]: *** /lib/modules/5.4.49/build: No such file or directory. Stop.
| Makefile:412: recipe for target 'default' failed
| make: *** [default] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/temp/run.do_compile.644' failed with exit code 1:
| make -C /lib/modules/5.4.49/build M=/home/starlord/build/tmp/work/aarch64-poky-linux/nxp-wlan-sdk/git-r0/git/mxm_wifiex/wlan_src modules
| make[1]: *** /lib/modules/5.4.49/build: No such file or directory. Stop.
| Makefile:412: recipe for target 'default' failed
| make: *** [default] Error 2
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/starlord/sources/meta-imx/meta-sdk/recipes-connectivity/nxp-wlan-sdk/nxp-wlan-sdk_git.bb:do_compile) failed with exit code '1'