Hi,
After hardknott_1v2 build , kernel 5.10.35 , alsa command aplay -l gives me this result
root@lec-imx8mp:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imxaudioxcvr [imx-audio-xcvr], device 0: XCVR PCM snd-soc-dummy-dai-0 [XCVR PCM snd-soc-dummy-dai-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: audiohdmi [audio-hdmi], device 0: imx8 hdmi i2s-hifi-0 [imx8 hdmi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Linux lec-imx8mp 5.10.35-lts-5.10.y+g208e80e464af #1 SMP PREEMPT Tue Jun 8 14:42:10 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
wm8960audio HiFi wm8960-hifi-0 devices are missing regarding your image .
root@adlink:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imxaudioxcvr [imx-audio-xcvr], device 0: XCVR PCM snd-soc-dummy-dai-0 [XCVR PCM snd-soc-dummy-dai-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: wm8960audio [wm8960-audio], device 0: HiFi wm8960-hifi-0 [HiFi wm8960-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: wm8960audio [wm8960-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: audiohdmi [audio-hdmi], device 0: imx8 hdmi i2s-hifi-0 [imx8 hdmi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
What i missed in my build process ?
Dear @O. JUD, It seems like you have missed adding the wm8960 audio driver package. Please add them to your build and try again.
Hi
For me the device driver is build in the kernel not as the module furthermore i cannot find any package called *wm8960* in my build folder. Are you sure it is provided as a module ? . Can you share the exact name of the package?
This is my image build recipe, i keep the same contents as imx-image-multimedia.
# Copyright (C) 2015 Freescale Semiconductor
# Copyright 2017-2021 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "NXP Image to validate i.MX machines. \
This image contains everything used to test i.MX machines including GUI, \
demos and lots of applications. This creates a very large image, not \
suitable for production."
LICENSE = "MIT"
inherit core-image features_check
### WARNING: This image is NOT suitable for production use and is intended
### to provide a way for users to reproduce the image used during
### the validation process of i.MX BSP releases.
DISTRO_FEATURES += " opengl egl wayland"
## Select Image Features
IMAGE_FEATURES += " \
debug-tweaks \
tools-profile \
tools-sdk \
package-management \
splash \
tools-debug \
ssh-server-openssh \
tools-testapps \
hwcodecs \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base x11-sato', \
'', d), d)} \
"
ERPC_COMPS ?= ""
ERPC_COMPS_append_mx7ulp = "packagegroup-imx-erpc"
HANTRO_PKGS = ""
HANTRO_PKGS_mx8mm = "imx-vpu-hantro-daemon"
HANTRO_PKGS_mx8mp = "imx-vpu-hantro-daemon"
HANTRO_PKGS_mx8mq = "imx-vpu-hantro-daemon"
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-core-full-cmdline \
packagegroup-tools-bluetooth \
packagegroup-fsl-tools-audio \
packagegroup-fsl-tools-gpu \
packagegroup-fsl-tools-gpu-external \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
packagegroup-imx-isp \
packagegroup-imx-security \
packagegroup-fsl-gstreamer1.0 \
packagegroup-fsl-gstreamer1.0-full \
packagegroup-fnd-apps \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'weston-xwayland xterm', '', d)} \
${HANTRO_PKGS} \
"
IMAGE_INSTALL_remove += " mariadb-native mariadb php-native php"
Dear @O. JUD, Here is the link for building the Yocto image for our I-Pi SMARC IMX8M Plus product, it has all the packages and drivers you need.
https://www.ipi.wiki/pages/imx8mp-docs?page=HowToBuildYocto.html
@Kothandaraman Kannadasan , I followed the steps discribed in the link your provide .
Except that i used the Hardknott branch with the command :
repo init -u https://github.com/ADLINK/adlink-manifest -b lec-imx-yocto-hardknott -m adlink-lec-imx8mp-yocto-hardknott_1v2.xml
as i need kernel 5.10 to build an external Lon network driver wich support only this version of the kernel.
When I build i used "bitbake imx-image-multimedia" .
So , i created my own meta-fnd with a recipe image with the same contents from sources/meta-imx/meta-sdk/recipes-fsl/imx-image-multimedia.bb . I only added my own packagegroup-fnd-apps as you can see in my previous post. So the build would be the same if i'am correct.
So now i use bitbake my-image-name
Dear @O. JUD, Please use the following command while building the image.
repo init -u https://github.com/ADLINK/adlink-manifest -b lec-imx-yocto-hardknott -m adlink-lec-imx8mp-yocto-hardknott_1v5.xml
Dear @Kothandaraman Kannadasan , yes I tried the Image and dtb of core-image-minimal from this branch and it works.
I will rebuild my image from adlink-lec-imx8mp-yocto-hardknott_1v5.xml
thanks
@Kothandaraman Kannadasan
yes I tried the Image and dtb files of core-image-minimal from this branch and it works.
I will rebuild my image from adlink-lec-imx8mp-yocto-hardknott_1v5.xml
thanks