Hello everyone,
I was trying to create an image for imx-8M plus, but I ran into several errors,
Hello!
I have accepted the EULA and ran the commands ( bitbucket -c clean <package> ) and still didn't work.
What I think is happening, but not sure, if when I'm accepting the EULA, I'm opening the local.conf and that might be changing the checksum of the files from the layers but I don't understand how that would affect it, then again I'm using kirkstone's latest and might be bugged/unstable
Hello, here's how I'm currently making the image
FROM ubuntu:22.04
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install sudo && \
apt-get -y install iproute2 && \
apt-get -y install nano && \
apt-get -y install qemu-system-arm && \
useradd -ms /bin/bash yocto && \
usermod -aG sudo yocto && \
echo 'yocto:sudo' | chpasswd && \
sudo mkdir -p /dev/net && \
sudo mknod /dev/net/tun c 10 200 && \
sudo chmod 666 /dev/net/tun \
apt-get update && \
apt-get -y install sudo
USER yocto
WORKDIR /home/yocto
docker run --rm -it --privileged yocto_test
sudo apt update && sudo apt upgrade -y
sudo apt install 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 python3-subunit mesa-common-dev zstd liblz4-tool file locales libacl1 -y
sudo locale-gen en_US.UTF-8
cd/poky
git clone --branch kirkstone git://git.yoctoproject.org/poky
git clone --branch kirkstone git://git.yoctoproject.org/meta-arm
git clone --branch kirkstone-5.15.71-2.2.2 https://github.com/nxp-imx/meta-imx.git
git clone --branch kirkstone https://github.com/Freescale/meta-freescale.git
git clone --branch kirkstone git://git.openembedded.org/meta-openembedded
source oe-init-build-env
cd/build/conf nano local.conf
imx8mpevk
ACCEPT_FSL_EULA = "1"
cd/build/confnano bblayers
/home/yocto/poky/meta-imx/meta-bsp \
/home/yocto/poky/meta-openembedded/meta-oe \
/home/yocto/poky/meta-openembedded/meta-python \
/home/yocto/poky/meta-openembedded/meta-networking \
/home/yocto/poky/meta-arm/meta-arm \
/home/yocto/poky/meta-arm/meta-arm-toolchain \
/home/yocto/poky/meta-freescale \
bitbake core-image-minimal
bitbake -c cleanall firmware-imx-8m
bitbake -c cleanall imx-m7-demos
bitbake -c cleanall imx-gpu-viv
Hello,
I checked your build process and I suggest you follow the steps described on:
i.MX Yocto Project User's Guide
Best regards.
I've tried following those steps and I always end up at the same deadlock. I am not able to run any commands without sudo, even bitbake and even when I use sudo -s with the command, it returns a command not found.
As you can see per this picture, I get permission denied if I don't use sudo, and when I do, "command not found". I follow the guide, I followed the docker in the guide which is what I used to base my several test grounds but I have not been able to progress further.