Hi
I want to use fmc on my ls1046a board which running a tiny yocto on it.
I tried to build fmc with this:
flex-builder -c fmc -a arm64 -r yocto:tiny
flex-builder -c fmc -a arm64 -r yocto:tiny
COMPONENT: fmc
DISTRO TYPE: yocto
DISTRO SCALE: tiny
make: Entering directory '/home/LSDK'
make[1]: Entering directory '/home/LSDK/packages/apps'
make[1]: Leaving directory '/home/LSDK/packages/apps'
make: Leaving directory '/home/LSDK'
Solved! Go to Solution.
bld -i clean-rfs -r yocto:tiny
bld -i mkrfs -r yocto:devel (FMC, restool are compiled in this step)
bld -i mkrfs -r yocto:tiny (FMC, restool are copied to tiny rootfs in this step)
Hi Team
Could you please check this?
Thanks!
Please add "fmc" in IMAGE_INSTALL_append in configs/yocto/local_arm64_tiny.conf
$ flex-builder -i clean-rfs -r yocto:tiny
$ flex-builder -i mkrfs -r yocto:tiny
Thanks, but I have tried this.
It seems there is not dependency for fmc yocto build. Could you try this in your environment ? I'm using LSDK21.04
19:09:47 NOTE: Runtime target 'fmc' is unbuildable, removing... 19:09:47 Missing or unbuildable dependency chain was: ['fmc'] 19:09:47 ERROR: Required build target 'core-image-minimal' has no buildable providers. 19:09:47 Missing or unbuildable dependency chain was: ['core-image-minimal', 'fmc']
fmc tool has already been included in yocto:tiny filesystem, please refer to the following.
root@TinyLinux:~# fmc
ERR : PCD file is required
root@TinyLinux:~#
fmc is in yocto:tiny, you can use it directly.
Here's what I got on my yocto:tiny
root@TinyLinux:~# fmc
-sh: fmc: command not found
root@TinyLinux:~#
Please try the pre-built image
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb
Yes The prebuild image works well.
But I need to build image for my own board.
I confirmed again fmc won't be built in the yocot:tiny.
Here's what I have done:
flex-builder -m ls1046ardb -b sd
flex-builder -i clean-rfs -r yocto:tiny
flex-builder -i mkrfs -r yocto:tiny
flex-builder -i mkitb -r yocto:tiny
tftp $load_addr lsdk2108_yocto_tiny_LS_arm64_240412.itb
bootm $load_addr#ls1046ardb
NXP LSDK tiny 2108 (based on Yocto)
TinyLinux login: root
root@TinyLinux:~# fmc
-sh: fmc: command not found
If I add fmc to IMAGE_INSTALL_append of local_arm64_tiny.conf
build rfs will get an error :
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################################################################################################################################################################| Time: 0:00:03
Parsing of 818 .bb files complete (0 cached, 818 parsed). 1443 targets, 56 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'fmc' (but /home/yu/flexbuild_lsdk2108_github/components/rfs/yocto-poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'fmc' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['fmc']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'fmc']
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Could you try to build it once?
bld -i clean-rfs -r yocto:tiny
bld -i mkrfs -r yocto:devel (FMC, restool are compiled in this step)
bld -i mkrfs -r yocto:tiny (FMC, restool are copied to tiny rootfs in this step)
I tried your commands, but it failed the same as before.
If I add fmc to IMAGE_INSTALL_append of local_arm64_tiny.conf
it failed with :
ERROR: Nothing RPROVIDES 'fmc' (but /home/yu/flexbuild_lsdk2108_github/components/rfs/yocto-poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'fmc' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['fmc']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'fmc']
even after yocto:devel rfs built up.
Do I need some change in the yocto:devel config?
Please don't add fmc in local_arm64_tiny.conf, just use the default local_arm64_tiny.conf provided in LSDK 21.08.
Thanks, it works.