hello,I yocto imx6 bitbake error', ERROR: Nothing RPROVIDES 'alsa-utils-alsaconf'
MACHINE=imx6slevk source fsl-setup-release.sh -b build-fb -e fb
Grab the latest stable meta-qt5 inside the yocto/sources directory:
$ git clone -b dizzy https://github.com/meta-qt5/meta-qt5.git
Be sure to clone the same branch for meta-qt5 as you are using for the other layers! (here we are using dizzy, so replace "dizzy" with your preferred branch.)
1. Edit yocto/build/conf/bblayers.conf to add the meta-qt5 layer at the end:
${BSPDIR}/sources/meta-qt5 \ ${BSPDIR}/sources/meta-openembedded/meta-ruby \ ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
2. Edit yocto/build/conf/local.conf and add:
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh " IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \ autoconf automake ccache chkconfig glib-networking glibmm \ packagegroup-core-buildessential pkgconfig \ boost cmake zlib glib-2.0 packagegroup-fsl-tools-testapps \ ruby \ cpufrequtils \ nano \ gdb \ gstreamer \ gst-meta-video \ gst-fsl-plugin \ gst-plugins-base-app \ gst-plugins-base \ gst-plugins-good \ gst-plugins-good-rtsp \ gst-plugins-good-udp \ gst-plugins-good-rtpmanager \ gst-plugins-good-rtp \ gst-plugins-good-video4linux2 \ openssh-sftp-server \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ imx-vpu \ imx-test \ qtbase-fonts \ qtbase-plugins \ qtbase-tools \ qtbase-examples \ qtdeclarative \ qtdeclarative-plugins \ qtdeclarative-tools \ qtdeclarative-examples \ qtdeclarative-qmlplugins \ qtmultimedia \ qtmultimedia-plugins \ qtmultimedia-examples \ qtmultimedia-qmlplugins \ qtsvg \ qtsvg-plugins \ qtsensors \ qtimageformats-plugins \ qtsystems \ qtsystems-tools \ qtsystems-examples \ qtsystems-qmlplugins \ qtscript \ qt3d \ qt3d-examples \ qt3d-qmlplugins \ qt3d-tools \ qtwebkit \ qtwebkit-examples-examples \ qtwebkit-qmlplugins \ qtgraphicaleffects-qmlplugins \ qtconnectivity-qmlplugins \ qtlocation-plugins \ qtlocation-qmlplugins \ cinematicexperience \ cairo pango fontconfig freetype pulseaudio dbus \ alsa-lib alsa-tools alsa-state alsa-utils-alsaconf fsl-alsa-plugins \ i2c-tools \ "
3.use Qt5 eglfs plugin for accelerated graphics using the framebuffer, you need to discard X11 and wayland so the proper graphics drivers get included:
DISTRO_FEATURES_remove = "x11 wayland"
4.Bitbake!
Bitbake an image like core-image-minimal (you need to be in your yocto/build directory):
$ bitbake fsl-image-multimedia-fullLoading cache: 100% |###################################################################################################################################################| ETA: 00:00:00 Loaded 2841 entries from dependency cache. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'alsa-utils-alsaconf' (but /home/fsl-release-bsp/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-multimedia-full.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'alsa-utils-alsaconf' is unbuildable, removing... Missing or unbuildable dependency chain was: ['alsa-utils-alsaconf'] ERROR: Required build target 'fsl-image-multimedia-full' has no buildable providers. Missing or unbuildable dependency chain was: ['fsl-image-multimedia-full', 'alsa-utils-alsaconf']
Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
help! who meet this question ? how to slove it? thanks!
Hi lion
please try bsps described on nxp i.MX official software link
for yocto/sources issues one can post on meta-fsl-arm mailing list, so that someone
familiar with it could them to assist you.
https://lists.yoctoproject.org/listinfo/meta-freescale
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yocto Project Setup:
1. Setting up the repo utility ok :
$: mkdir ~/bin
$: curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo
chmod a+x ~/bin/repo
Download the BSP source:
$: PATH=${PATH}:~/bin
$: mkdir fsl-arm-yocto-bsp
$: cd fsl-arm-yocto-bsp
$: repo init -u http://sw-stash.freescale.net/scm/imx/fsl-arm-yocto-bsp.git -b imx-4.1.15-1.0.0_ga
$: repo sync
OK
2.Frame Buffer image
$: DISTRO=fsl-imx-fb MACHINE=nitrogen6x-lite source fsl-setup-release.sh -b build-fb -e fb
Build directory is build-fb
Configuring for nitrogen6x-lite
Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script.
ERROR - No build directory is set yet. Run the 'setup-environment' script before running this script to create .
$: source setup-environment
Usage: source setup-environment <build-dir>
<build-dir>: specifies the build directory location (required)
If undefined, this script will set $MACHINE to 'imx6qsabresd'.
Supported machines:
imx23evk
imx28evk
imx51evk
imx53ard
imx53qsb
imx6dlsabreauto
imx6dlsabresd
imx6qdlsolo
imx6qpsabreauto
imx6qpsabresd
imx6qsabreauto
imx6qsabresd
imx6slevk
imx6solosabreauto
imx6solosabresd
imx6sx14x14arm2
imx6sx17x17arm2
imx6sx19x19ddr3arm2
imx6sx19x19lpddr2arm2
imx6sx_all
imx6sxsabreauto
imx6sxsabresd
imx6ul14x14ddr3arm2
imx6ul14x14lpddr2arm2
imx6ul7d
imx6ul9x9evk
imx6ulevk
imx7d12x12ddr3arm2
imx7d12x12lpddr3arm2
imx7d19x19ddr3arm2
imx7d19x19lpddr2arm2
imx7d19x19lpddr3arm2
imx7dsabresd
ls1021atwr
twr-vf65gs10
apalis-imx6
cfa10036
cfa10037
cfa10049
cfa10055
cfa10056
cfa10057
cfa10058
cgtqmx6
cm-fx6
colibri-imx6
colibri-vf
cubox-i
imx233-olinuxino-maxi
imx233-olinuxino-micro
imx233-olinuxino-mini
imx233-olinuxino-nano
imx6dl-riotboard
imx6qsabrelite
imx6sl-warp
m28evk
m53evk
nitrogen6sx
nitrogen6x
nitrogen6x-lite
pcm052
ventana
wandboard
To build for a machine listed above, run this script as:
MACHINE=<machine> source setup-environment <build-dir>
try DISTRO=fsl-imx-fb MACHINE=nitrogen6x-lite source fsl-setup-release.sh -b build-fb -e fb
this error again:
Build directory is build-fb
Configuring for nitrogen6x-lite
Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script.
ERROR - No build directory is set yet. Run the 'setup-environment' script before running this script to create .
how to slove this ?
thank you !
Hi lion
please refer to
https://community.nxp.com/docs/DOC-1616
nitrogen board is third party boundary devices board, not nxp board.
i.MX6 Embedded Single Board Computer
Best regards
igor
Hi igor,
thank you , according to bsp described on nxp i.MX official software, when Machine configuration,
MACHINE=nitrogen6x-lite source fsl-setup-release.sh -b build-fb -e fb
Configuring for imx6qsabresd
Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script.
How to change MACHINE configure,?this defaule imx6qsabresd,
how to clean environment script ?
thanks