Errors with imx-8m

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Errors with imx-8m

1,434件の閲覧回数
Sousa
Contributor II

Hello everyone,

I was trying to create an image for imx-8M plus, but I ran into several errors,

  1. firmware-imx-8m: Check if the license information has changed in /home/yocto/poky/meta-freescale/EULA to verify that the LICENSE value "Proprietary" remains valid [license-checksum]

  2. ERROR: firmware-imx-8m-8.18.1-r0 do_populate_lic: Fatal QA errors were found, failing task.

  3. ERROR: Logfile of failure stored in: /home/yocto/poky/armboard/tmp/work/cortexa53-crypto-mx8mp-poky-linux/firmware-imx-8m/8.18.1-r0/temp/log.do_populate_lic.433166

  4. ERROR: Task (/home/yocto/poky/meta-imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx-8m_8.18.1.bb:do_populate_lic) failed with exit code '1'

    If you are able to help me with those I'd be grateful! 
0 件の賞賛
返信
9 返答(返信)

1,360件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

 

Please try with recommendations on this thread.

 

Best regards.

0 件の賞賛
返信

1,329件の閲覧回数
Sousa
Contributor II

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 

0 件の賞賛
返信

1,320件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Could you please share the commands you used to build the image, to check if I can replicate the issue.

Best regards.

0 件の賞賛
返信

1,296件の閲覧回数
Sousa
Contributor II

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

0 件の賞賛
返信

1,286件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Thank you for the update, I will try to reproduce the issue and come back to you.

Best regards.

1,210件の閲覧回数
Sousa
Contributor II

Hey!

Thank you for all your help!
Have you been able to find the issue?

0 件の賞賛
返信

1,165件の閲覧回数
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

 

I checked your build process and I suggest you follow the steps described on:

 

i.MX Yocto Project User's Guide

 

imx-docker

 

Best regards.

0 件の賞賛
返信

801件の閲覧回数
Sousa
Contributor II

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.

Sousa_0-1723135250217.png

 

0 件の賞賛
返信

1,419件の閲覧回数
Sousa
Contributor II

Sousa_0-1717261168009.png

Sousa_1-1717261170490.png

Update, I now also have another set of errors, following the first ones

0 件の賞賛
返信