Audio issues with kernel 6.1.0 built with Fenix

Which Khadas SBC do you use?

VIM3L

Which system do you use? Android, Ubuntu, OOWOW or others?

Others, only using u-boot and kernel

Which version of system do you use? Khadas official images, self built images, or others?

Self-built image for Volumio devices

Please describe your issue below:

I successfully built mainline u-boot and kernel (6.1.0) for a Volumio image.
The image boots, I added kvim3l/i2s.dtbo and kvim3l/spdifout.dtbo, but get an audio error, see log file.

aplay -l only gives:

**** List of PLAYBACK Hardware Devices ****
card 0: AMLAUGESOUNDMP1 [AML-AUGESOUND-MP1], device 0: fe.dai-link-0 (*)
Subdevices: 1/1

No patches were made to u-boot or kernel sources.
Please note that I change the soundcard name during the boot process.
(Using fdt set /sound model "AML-AUGESOUND-MP1" ).
But when I leave the default “KHADAS-VIM3” it does not make a difference.

Post a console log of your issue below:

I cut some irrelevant bits out in order to remain within the given body 32000 character limit


Hit SPACE in 2 seconds to stop autoboot
Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.cmd
4584 bytes read in 2 ms (2.2 MiB/s)
## Script run a:08000000 l:4584 c:0
Starting VOLUMIO boot.scr...
Resetting GPIOH_4 to low...
gpio: pin 20 (gpio 20) value is 0
[i] Board: VIM3L CPUS: 4
[i] DTB    dtb/amlogic/meson-sm1-khadas-vim3l.dtb
[i] KERNEL Image
[i] INITRD uInitrd
[i] ENV    env.txt
[i] Probing devices...
[i] Trying mmc...
[i] Scanning mmc 0...
Card did not respond to voltage select! : -110
Can't set block device
Card did not respond to voltage select! : -110
Can't set block device
Card did not respond to voltage select! : -110
Can't set block device
[i] Final DTB dtb/amlogic/meson-sm1-khadas-vim3l.dtb
Card did not respond to voltage select! : -110
Can't set block device
[i] Scanning mmc 1...
2324 bytes read in 2 ms (1.1 MiB/s)
[i] Import env.txt
Failed to load 'env.user.txt'
1622 bytes read in 1 ms (1.5 MiB/s)
[i] Import env.system.txt
[i] Final DTB dtb/amlogic/meson-sm1-khadas-vim3l.dtb
11113656 bytes read in 477 ms (22.2 MiB/s)
22921224 bytes read in 981 ms (22.3 MiB/s)
76694 bytes read in 6 ms (12.2 MiB/s)
345 bytes read in 3 ms (112.3 KiB/s)
[i] Applying kernel provided DT overlay kvim3l/uart3.dtbo
223 bytes read in 3 ms (72.3 KiB/s)
[i] Applying kernel provided DT overlay kvim3l/i2c3.dtbo
520 bytes read in 4 ms (127 KiB/s)
[i] Applying kernel provided DT overlay kvim3l/i2s.dtbo
319 bytes read in 3 ms (103.5 KiB/s)
[i] Applying kernel provided DT overlay kvim3l/spdifout.dtbo
[i] Skipping fixup scripts
[i] Rename soundcard name to existing Volumio MP1 setting
[i] Mainline bootargs: imgpart=UUID=a2c32901-33e1-4ada-ad68-30235a03cb0f imgfile=/volumio_current.sqsh bootpart=UUID=4169-9539 datapart=UUID=46faaada-43a9-4e2e-8aa2-26625cfe7374 bootconfig=env.system.txt hwdevic
e=VIM3L console=ttyAML0,115200 console=tty1 no_console_suspend consoleblank=0   fsck.repair=yes net.ifnames=0 ddr_size= wol_enable= mac= fan=auto hwver= coherent_pool=2M
[i] Booting...
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    11113592 Bytes = 10.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 04080000
   Booting using the fdt blob at 0x4080000
   Loading Ramdisk to 7b47e000, end 7bf17478 ... OK
   Loading Device Tree to 000000007b402000, end 000000007b47dfff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd050]
[    0.000000] Linux version 6.1.0 (root@UBUNTUOS) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the Arm Architecture 11.2-2022.02 (arm-11.14)) 11.2.1 20220111, GNU ld (GNU Toolchain for the Arm Architecture 11
.2-2022.02 (arm-11.14)) 2.37.20220122) #1.4 SMP Fri Dec 30 12:53:11 CET 2022
[    0.000000] Machine model: Khadas VIM3L
[    0.000000] Machine model: Khadas VIM3L
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000043400000, size 896 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007f806fff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000072fffff]
[    0.000000]   node   0: [mem 0x0000000007300000-0x000000007f806fff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007f806fff]
[    0.000000] On node 0, zone DMA: 2041 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] 'bootconfig' found on command line, but no bootconfig found
[    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 514086
[    0.000000] Kernel command line: imgpart=UUID=a2c32901-33e1-4ada-ad68-30235a03cb0f imgfile=/volumio_current.sqsh bootpart=UUID=4169-9539 datapart=UUID=46faaada-43a9-4e2e-8aa2-26625cfe7374 bootconfig=env.syste
m.txt hwdevice=VIM3L console=ttyAML0,115200 console=tty1 no_console_suspend consoleblank=0   fsck.repair=yes net.ifnames=0 ddr_size= wol_enable= mac= fan=auto hwver= coherent_pool=2M
[    0.000000] uboot setup mac-addr: 39:7f:00:00:ff:ff
[    0.000000] Unknown kernel command line parameters "imgpart=UUID=a2c32901-33e1-4ada-ad68-30235a03cb0f imgfile=/volumio_current.sqsh bootpart=UUID=4169-9539 datapart=UUID=46faaada-43a9-4e2e-8aa2-26625cfe7374 h
wdevice=VIM3L ddr_size= wol_enable= mac= fan=auto hwver=", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1060800K/2088988K available (13056K kernel code, 1904K rwdata, 4364K rodata, 2944K init, 841K bss, 110684K reserved, 917504K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
.
.
.
.
[    0.108506] Key type cifs.idmap registered
[    0.145152] NET: Registered PF_ALG protocol family
[    0.145205] Key type asymmetric registered
[    0.145217] Asymmetric key parser 'x509' registered
[    0.467576] Freeing initrd memory: 10852K
[    0.482722] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    0.482863] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.482993] io scheduler mq-deadline registered
[    0.483009] io scheduler kyber registered
[    0.483221] io scheduler bfq registered
[    0.483847] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[    0.499152] soc soc0: Amlogic Meson SM1 (S905D3) Revision 2b:c (4:2) Detected
[    0.502054] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 14, base_baud = 1500000) is a meson_uart
[    1.467520] printk: console [ttyAML0] enabled
[    1.472632] ffd22000.serial: ttyAML3 at MMIO 0xffd22000 (irq = 15, base_baud = 1500000) is a meson_uart
[    1.481838] ffd24000.serial: ttyAML1 at MMIO 0xffd24000 (irq = 16, base_baud = 1500000) is a meson_uart
[    1.490619] serial serial0: tty port ttyAML1 registered
[    1.496969] gpiomem-aml ff634000.gpiomem: Initialised: Registers at 0xff634000
[    1.503104] gpiomem-aml ff800000.gpiomem_ao: Initialised: Registers at 0xff800000
[    1.519787] brd: module loaded
[    1.525693] loop: module loaded
[    1.543470] Loading iSCSI transport class v2.0-870.
[    1.544636] iscsi: registered transport (tcp)
[    1.553784] tun: Universal TUN/TAP device driver, 1.6
[    1.555067] usbcore: registered new interface driver rtl8150
[    1.561736] mousedev: PS/2 mouse device common for all mice
[    1.565367] i2c_dev: i2c /dev entries driver
[    1.578686] meson-gx-mmc ffe05000.sd: Got CD GPIO
[    1.579204] ledtrig-cpu: registered to indicate activity on CPUs
[    1.584481] meson-sm: secure-monitor enabled
[    1.589838] hid: raw HID events driver (C) Jiri Kosina
[    1.594686] usbcore: registered new interface driver usbhid
[    1.598591] usbhid: USB HID core driver
[    1.607665] NET: Registered PF_INET6 protocol family
[    1.620860] Segment Routing with IPv6
[    1.620958] In-situ OAM (IOAM) with IPv6
[    1.622868] NET: Registered PF_PACKET protocol family
[    1.627963] Key type dns_resolver registered
[    1.634065] registered taskstats version 1
[    1.636084] Loading compiled-in X.509 certificates
[    1.641261] zswap: loaded using pool lzo/zbud
[    1.658286] mmc0: new high speed SDHC card at address aaaa
[    1.659068] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    1.665046]  mmcblk0: p1 p2 p3
[    1.738833] meson-drm ff900000.vpu: Queued 1 outputs on vpu
[    1.739785] meson-drm ff900000.vpu: CVBS Output connector not available
[    1.772588] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    1.777242] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    1.784984] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops)
[    1.792472] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[    1.799292] meson-drm ff900000.vpu: [drm] Cannot find any crtc or sizes
.
.
.
.
[    2.101387] printk: console [netcon0] enabled
[    2.102883] netconsole: network logging started
[    2.107833] ALSA device list:
[    2.111280]   #0: AML-AUGESOUND-MP1
[    2.114640] Freeing unused kernel memory: 2944K
[    2.132653] Run /init as init process
[    2.179153] mmc1: new HS200 MMC card at address 0001
[    2.179892] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB 
[    2.185736]  mmcblk1: p1 p2 p3
[    2.186875] mmcblk1boot0: mmc1:0001 AJTD4R 4.00 MiB 
[    2.192826] mmcblk1boot1: mmc1:0001 AJTD4R 4.00 MiB 
[    2.197347] mmcblk1rpmb: mmc1:0001 AJTD4R 4.00 MiB, chardev (239:0)
[    2.231046] mmc2: new ultra high speed SDR50 SDIO card at address 0001
[    2.280547] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.428767] usb 1-1: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[    2.431307] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.438400] usb 1-1: Product: USB 2.0 Hub
[    2.488504] hub 1-1:1.0: USB hub found
[    2.488633] hub 1-1:1.0: 4 ports detected
[    7.589390] initramfs: Booting Volumio for VIM3L
[    7.589525] initramfs: This script mounts rootfs RO with an overlay RW layer.
[    7.624260] fuse: init (API version 7.37)
[    7.629040] initramfs: IMGPART=/dev/mmcblk0p2
[    7.629158] initramfs: IMGFILE=/volumio_current.sqsh
[    7.632797] initramfs: DATAPART=/dev/mmcblk0p3
[    7.637191] initramfs: BOOTPART=/dev/mmcblk0p1
[    7.641572] initramfs: BOOTCONFIG=/boot/env.system.txt
[    7.697638] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[    7.725641] initramfs: Creating archive for current kernel...
[   12.272769] platform leds: deferred probe pending
[   16.791275] initramfs: Checking for USB updates if you did not boot from USB...
[   16.843321] initramfs: No USB device detected (when incorrect, try adding 'bootdelay=5' to your boot cmdline)
[   16.853981] loop0: detected capacity change from 0 to 594360
[   17.004629] initramfs: Re-sizing Volumio data partition
[   20.109226] initramfs: Volumio data partition successfully resized
[   20.176358] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Quota mode: disabled.
[   20.207974] initramfs: With Option:
[   20.261126] initramfs: found fstab entry with UUID=4169-9539 for /boot
[   20.277671] initramfs: VOLUMIO_VERSION="0.001"
[   20.277783] initramfs: Finish initramfs, continue booting Volumio
[   20.837297] systemd[1]: System time before build time, advancing clock.
[   20.912405] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN 
-PCRE2 default-hierarchy=hybrid)
[   20.928488] systemd[1]: Detected architecture arm64.
[   20.995895] systemd[1]: Set hostname to <volumio>.
[   21.274580] systemd[1]: /lib/systemd/system/winbind.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/winbindd.pid �→ /run/samba/winbindd.pid; please update the un
it file accordingly.
[   22.932524] random: crng init done
[   22.940307] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   22.941389] systemd[1]: Reached target System Time Synchronized.
[   22.947786] systemd[1]: Listening on udev Control Socket.
[   22.953342] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   22.959114] systemd[1]: Listening on Journal Audit Socket.
[   22.964805] systemd[1]: Created slice User and Session Slice.
[   23.246223] Removed cp15_barrier emulation handler
[   23.246274] Enabled cp15_barrier support
[   24.797829] systemd-journald[991]: Received request to flush runtime journal from PID 1
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Started Forward Password R�…s to Plymouth Directory Watch.
[   24.924216] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   24.958452] meson-vrtc ff8000a8.rtc: registered as rtc1
[   24.987931] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[   24.989013] rtc-hym8563 4-0051: no valid clock/calendar values available
[   25.000880] rtc-hym8563 4-0051: registered as rtc0
[   25.006264] pca953x 4-0020: using no AI
[   25.009260] rtc-hym8563 4-0051: no valid clock/calendar values available
[   25.013931] rtc-hym8563 4-0051: hctosys: unable to read the hardware clock
[  OK  ] Found device /dev/ttyAML0.
[   25.040558] Registered IR keymap rc-khadas
[   25.062435] IR NEC protocol handler initialized
[   25.088965] rc rc0: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0
[   25.091323] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
[   25.102633] input: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input1
[   25.114162] meson-ir ff808000.ir: receiver initialized
[   25.203463] panfrost ffe40000.gpu: clock rate = 24000000
[   25.203598] panfrost ffe40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[   25.367464] panfrost ffe40000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
[   25.371859] panfrost ffe40000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
[   25.379352] panfrost ffe40000.gpu: features: 00000000,000027f7, issues: 00000000,00000400
[   25.387464] panfrost ffe40000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[   25.399150] panfrost ffe40000.gpu: shader_present=0x1 l2_present=0x1
[   25.408183] [drm] Initialized panfrost 1.2.0 20180908 for ffe40000.gpu on minor 1
[   25.434727] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   25.477247] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   25.478984] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   25.486909] cfg80211: failed to load regulatory.db
[   25.496887] Bluetooth: Core ver 2.22
[   25.497010] NET: Registered PF_BLUETOOTH protocol family
[   25.500253] Bluetooth: HCI device and connection manager initialized
[   25.506620] Bluetooth: HCI socket layer initialized
[   25.511435] Bluetooth: L2CAP socket layer initialized
[   25.516702] Bluetooth: SCO socket layer initialized
[   25.559808] Bluetooth: HCI UART driver ver 2.3
[   25.559875] Bluetooth: HCI UART protocol H4 registered
[   25.565272] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[   25.566545] Bluetooth: HCI UART protocol Broadcom registered
[   25.571279] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[   25.576768] Bluetooth: HCI UART protocol QCA registered
[   25.601631] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9
[   25.654908] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4359-sdio.clm_blob failed with error -2
[  OK  ] Found device /dev/disk/by-uuid/4169-9539.
[   25.941298] Bluetooth: hci0: BCM: chip id 121
[   25.941671] Bluetooth: hci0: BCM: features 0x0e
[   25.946149] Bluetooth: hci0: BCM4359C0
[   25.948249] Bluetooth: hci0: BCM4359C0 (003.001.006) build 0000
[   25.963169] Bluetooth: hci0: BCM4359C0 'brcm/BCM4359C0.hcd' Patch
[  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.
         Starting File System Check�…/dev/disk/by-uuid/4169-9539...
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started File System Check on /dev/disk/by-uuid/4169-9539.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
[  OK  ] Started ifup for eth0.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
[  OK  ] Started Create Volatile Files and Directories.
         Starting RPC bind portmap service...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
[   26.454263] 8021q: 802.1Q VLAN Support v1.8
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on mpd.socket.
[  OK  ] Listening on triggerhappy.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Listening on lircd.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started UPnP Renderer front-end to MPD.
[  OK  ] Started Manage Sound Card State (restore and store).
         Starting Login Service...
         Starting triggerhappy global hotkey daemon...
[  OK  ] Started Volumio Iptables Module.
[  OK  ] Started Khadas Bluetooth service.
[  OK  ] Started volumio-remote-updater.service.
         Starting Save/Restore Sound Card State...
         Starting Wireless Services...
         Starting lircd(8) initialization helper tool...
[[   26.611390] Bluetooth: hci0: BCM: features 0x0e
[   26.616202] Bluetooth: hci0: BCM4359C0 37.4MHz AMPAK AP6359S-0059
[   26.620010] Bluetooth: hci0: BCM4359C0 (003.001.006) build 0084
  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting DHCP Client Daemon...
         Starting Bluetooth service...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Load kernel �…d to enable cpufreq scaling...
[   26.808605] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   26.904624] meson8b-dwmac ff3f0000.ethernet eth0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=31)
[   26.920610] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[   26.922566] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[   26.934671] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
[  OK  ] Started Login Service.
[  OK  ] Started triggerhappy global hotkey daemon.
[  OK  ] Started DHCP Client Daemon.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth.
[   27.640347] Bluetooth: MGMT ver 1.22
         Starting Hostname Service...
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting Network Time Service...
[  OK  ] Reached target Network is Online.
[  OK  ] Started Shairport Syn[   27.905365] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   27.916405] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4359/9 wl0: Mar  6 2017 10:16:06 version 9.87.51.7 (r686312) FWID 01-4dcc75d9
c - AirPlay Audio Receiver.
         Starting LSB: Brings up/down network automatically...
         Starting Samba NMB Daemon...
         Starting Permit User Sessions...
         Starting Music Player Daemon...
         Starting /etc/rc.local Compatibility...
[   27.995373] rc.local[2355]: /etc/rc.local: 2: /etc/rc.local: cannot create /sys/class/leds/sys_led/trigger: Directory nonexistent
[  OK  ] Started LSB: Load kernel m�…ded to enable cpufreq scaling.
[FAILED] Failed to start /etc/rc.local Compatibility.
See 'systemctl status rc-local.service' for details.
[  OK  ] Stopped Volumio Iptables Module.
[  OK  ] Started Volumio Iptables Module.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Permit User Sessions.
[   28.080114] ieee80211 phy0: brcmf_dongle_roam: WLC_SET_ROAM_TRIGGER error (-52)
[  OK  ] Started Network Time Service.
[  OK  ] Started LSB: Brings up/down network automatically.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Hostname Service.
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...
[   30.480573] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   34.668297] meson-gx-mmc ffe03000.sd: unaligned sg len 136 blksize 256, disabling descriptor DMA for transfer

Debian GNU/Linux 10 volumio ttyAML0

Welcome to Volumio!
WebUI available at volumio.local (192.168.211.1)
volumio login: 
Debian GNU/Linux 10 volumio ttyAML0

Welcome to Volumio!
WebUI available at volumio.local (192.168.0.154)
volumio login: [   44.933586]  fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[   44.934924]  fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22

volumio login: volumio
Password: 
                       ___
                      /\_ \                        __
         __  __    ___\//\ \    __  __    ___ ___ /\_\    ___
        /\ \/\ \  / __`\\ \ \  /\ \/\ \ /' __` __`\/\ \  / __`\
        \ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
         \ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
          \/__/   \/___/ \/____/ \/___/  \/_/\/_/\/_/\/_/\/___/

             Free Audiophile Linux Music Player - Version 3.0

          �© 2015-2021 Michelangelo Guarise - Volumio Team - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Volumio MP1 (6.1.0 aarch64)
volumio@volumio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLAUGESOUNDMP1 [AML-AUGESOUND-MP1], device 0: fe.dai-link-0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
volumio@volumio:~$ 


Note the “backend DAIs enabled” error, the userland mixer settings are missing, I obviously have not done this. In case Khadas knows which ones I need, super. Otherwise I’ll find out some way. But worse, why is there only one card, while there should be hdmi, i2s and spdifout?

any news for the missing subdevices hdmi and spdif?

Hello @gkkpch

We will check and update you here.

Thanks.

@gkkpch It work in kernel 6.1

  1. open spdifout with overlay. You can follow this docs to open.

https://docs.khadas.com/products/sbc/vim3/configurations/device-tree-overlay

  1. reboot and test.

We have configured a sound card device for the mainline kernel, using HDMI, SPDIFOUT, and I2S to output at the same time.

Confirmed working incl. HDMI audio.