Age | Commit message (Collapse) | Author |
|
To enhance compatibility with a read-only rootfs system, remove the
dynamically assigned and utilize alsa-ucm-conf configuration from
meta-toradex-bsp-common pulled-in via the meta-toradex-demos layer
instead.
Related-to: ELB-4916
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 54721dc86ece6b41d88f5e9de4262b575efc5393)
|
|
Configure alsa audio to use dmix/dsnoop at 48 kHz.
imx8m PLL is not able to output a exactly multiple of 44.1 kHz MCLK
input to audio codecs, starting from 24.576 MHz module clock.
If mclk-fs is 256, optimal clock is 11289600,
obtained clock is 11234743. Frequency erro is -0,49 %.
Instead, it is able to generate a exact multiple of 48 kHz MCLK.
Related-to: ELB-4481
Fixes: 9e5c0e3043a7 ("alsa-state: set up asound configs dynamically for verdin-imx8 boards")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 2495461248ea431c1c41a8092033bd46a8552517)
|
|
Set mixer audio level to default, this prevents audio distortions and
fixes our automated test execution.
Related-to: ELB-4829
Fixes: 5f920cd5b4b2 ("alsa-state:apalis-imx6: fix sound device name in asound.conf/asound.state")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit 9f9bd44f739697448a03c19534fa079e6445377f)
|
|
The sound device name in asound.conf of apalis-imx6 machine does not
match the sound driver of kernel 5.15 and upper, fix that. Also
regenerate asound.state according to the new asound.conf.
Related-to: ELB-4829
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 5f920cd5b4b202b277eeae945fbda6c206672005)
|
|
Lower PCM volume from 192 (100%) to 144 (75%).
At 100% there are signal distortion that are not nice to hear and this
also prevent some automated test to succeed.
Related-to: ELB-4722
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit 9ac70bc5e4182c2b8972c6b495892cdfbbfc75c4)
|
|
We need set up asound.conf and asound.state dynamitically at runtime
since the Verdin Development/Dahlia boards are using different ones.
To achieve that, we now introduce a on-target package postinst script
to set up them at runtime by checking /proc/device-tree/model to
determine which config files should be used.
Related-to: ELB-4349
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 9e5c0e3043a7c49fb71276a0f6604047129eafdc)
|
|
As the upstream sound card name differs from ancient downstream update
it to match later downstream as well as upstream.
While at it also use latest mixer configuration from current master
upstream.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit b542a61d76a9d82812652a39e95463f0b800974e)
|
|
Toradex NXP layer could be used by other external projects, so we
should make sure Toradex specific changes dont impact them.
Use 'tdx' overrides to ensure Toradex specific changes only valid for
Toradex distros.
Related-to: ELB-3046
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 4b28382dc1dd6b89011ed0a3fb2a3dfe8ff7c888)
|
|
This is the result of automated script (0.9.3) conversion:
+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]
../openembedded-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This gives the codec reasonable mixer defaults.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit c892c94b622c8362cf5092345b93325addd234f1)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This sets the analog audio out as the default alsa card and gives
that codec reasonable mixer defaults.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
We decided we won't do a BSP 3.0 for Vybrid.
For new designs we recommend ULL now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The WM9715L AC97 codec supports two volume modes for audio capturing:
basic (AC97 conform) and extended. The extended range allows smaller
gain steps and a large range, hence use this mode by default.
|
|
Update default ALSA state for WM9712 AC97 codec support on 3.18
kernel.
|
|
|
|
|
|
|
|
|
|
|
|
- also add the relevant configuration files
|
|
|
|
remove testfile
|
|
|