Closed egueli closed 2 years ago
@egueli
It looks it lacks of libssl-dev
.
Could you try to install libssl-dev
in WSL2?
sudo apt-get install libssl-dev
BR,
Richard
Thanks, that worked!!
I thought that that error in kernel make was related to the bitbake warning. But one was openssl
the other was openssh
. I also thought that the kernel depended on openssh-dev
built for the target system.
Steps to reproduce, on WSL2 running Ubuntu 20.04:
Prepare the system:
sudo apt update
sudo apt upgrade
sudo apt-get install gawk wget git git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect python3-git python3-jinja2 libegl1-mesa pylint3 rsync bc bison xz-utils debianutils iputils-ping libsdl1.2-dev xterm language-pack-en coreutils texi2html file docbook-utils python-pysqlite2 help2man desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc u-boot-tools libreoffice-writer sshpass ssh-askpass zip xz-utils kpartx vim screen python-is-python3
repo
in~/bin
mkdir edm_yocto
cd edm_yocto
Download the sources:
repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b hardknott_5.10.y-stable -m imx-5.10.72-2.2.0-2022Q1.xml
repo sync -j8
Build image and SDK:
WIFI_FIRMWARE=y WIFI_MODULE=qca DISTRO=fsl-imx-wayland MACHINE=pico-imx7 BASEBOARD=pi source tn-setup-release.sh -b build-wayland-pico-imx7
(see log below)bitbake imx-image-core
(core takes less time than full but the result is the same)bitbake -c populate_sdk imx-image-core
. Note that this completes successfully, but with warnings aboutopenssh-dev
not being installed. See log below.Try building kernel with SDK:
tmp/deploy/sdk/fsl-imx-wayland-glibc-x86_64-imx-image-core-cortexa7t2hf-neon-pico-imx7-toolchain-5.10-hardknott.sh
. /opt/fsl-imx-wayland/5.10-hardknott/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi
mkdir /tmp/kernel
cp -rpa tmp/work/pico_imx7-poky-linux-gnueabi/linux-tn-imx/5.10.72+gitAUTOINC+acb7450af6-r0/git/* /tmp/kernel
cd /tmp/kernel/5.10.72+gitAUTOINC+acb7450af6-r0
make mrproper
make ARCH=arm imx_v7_defconfig
make -j4 zImage
. This fails with:Output of
source
after the EULA:Output of
bitbake -c populate_sdk
: