[i.MX 8MN DDR4] Build issue

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

[i.MX 8MN DDR4] Build issue

ソリューションへジャンプ
2,555件の閲覧回数
bryan_hong
Senior Contributor I

Hello

When I first download as below.

At terminal 1,
===
$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
$EULA=1 MACHINE=imx8mnddr4ab2 DISTRO=fsl-imx-xwayland source ./fsl-setup-af.sh -b build_imx8mnddr4ab2
$bitbake fsl-image-af-littlekernel
===

At this first time, I have success build.
BTW, I luncher terminal 2. I execute as below at the terminal 2

===
$EULA=1 MACHINE=imx8mnddr4evk DISTRO=fsl-imx-xwayland source ./fsl-setup-af.sh -b build_imx8mnddr4ab2
$bitbake fsl-image-af-littlekernel
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

MACHINE=imx8mnddr4ab2 is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
===

so, I execute with `cp meta-audio-framework/conf/machine/imx8mnddr4ab2.conf meta-freescale/conf/machine/`

and then there no error for `MACHINE=imx8mnddr4ab2 is invalid`.

but Below error message seen.

==
bryanhong@sombra:build_imx8mnddr4ab2$ bitbake fsl-image-af-littlekernel
Parsing recipes: 100% |#################################################################################################| Time: 0:00:12
Parsing of 3213 .bb files complete (0 cached, 3213 parsed). 4671 targets, 242 skipped, 2 masked, 0 errors.
Removing 5 recipes from the aarch64 sysroot: 100% |#####################################################################| Time: 0:00:00
Removing 8 recipes from the imx8mnddr4ab2 sysroot: 100% |###############################################################| Time: 0:00:00
Removing 1 recipes from the x86_64 sysroot: 100% |######################################################################| Time: 0:00:00
ERROR: Nothing PROVIDES 'fsl-image-af-littlekernel'

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
===

Please inquire as to why this error occurs.

thanks

Bryan

0 件の賞賛
返信
1 解決策
2,543件の閲覧回数
bryan_hong
Senior Contributor I

I have found the solution.

Below line not be executed on `fsl-setup-af.sh` I dont know why.

echo "BBLAYERS += \" \${BSPDIR}/sources/meta-audio-framework \"" >> ./conf/bblayers.conf

so I add ' BBLAYERS += " ${BSPDIR}/sources/meta-audio-framework " ' to 'conf/bblayers.conf'

and then 'bitbake fsl-image-af-littlekernel' is success.

元の投稿で解決策を見る

3 返答(返信)
2,544件の閲覧回数
bryan_hong
Senior Contributor I

I have found the solution.

Below line not be executed on `fsl-setup-af.sh` I dont know why.

echo "BBLAYERS += \" \${BSPDIR}/sources/meta-audio-framework \"" >> ./conf/bblayers.conf

so I add ' BBLAYERS += " ${BSPDIR}/sources/meta-audio-framework " ' to 'conf/bblayers.conf'

and then 'bitbake fsl-image-af-littlekernel' is success.

2,546件の閲覧回数
bryan_hong
Senior Contributor I

Hello

Below is command I execute.

$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

$tar -zxvf ../../sb/pcm_only_sdk/imx8mn_I3D_release_ear3.0.0_8mn_pcm_only.tar.gz

$tar -zxvf imx8mn_I3D_metalayer.tar.gz -C sources/

$ln -s sources/meta-audio-framework/tools/fsl-setup-af.sh fsl-setup-af.sh

$EULA=1 MACHINE=imx8mnddr4ab2 DISTRO=fsl-imx-xwayland source ./fsl-setup-af.sh -b build_imx8mnddr4ab2

$bitbake fsl-image-af-littlekernel
Loading cache: 100% |###################################################################################################| Time: 0:00:00
Loaded 4671 entries from dependency cache.
ERROR: Nothing PROVIDES 'fsl-image-af-littlekernel'

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 件の賞賛
返信
2,548件の閲覧回数
sungwon-kim
Contributor II

Hi

Nothing PROVIDES error usually bitbake can't find the recipe file declared in bblayer.conf.

Can you share with me the whole cmd typing on your pc?

(because some command cut off, I guess) 

0 件の賞賛
返信