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)
|
|
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)
|