AnsweredAssumed Answered

MQS on i.MX6ULL with Linux kernel linux-fslc 4.9.x

Question asked by Sarel Breet on Nov 7, 2018
Latest reply on Nov 9, 2018 by Sarel Breet

MQS on i.MX6ULL with Linux kernel linux-fslc 4.9.x

 

I am trying to get the MQS working on an i.MX6ULL with Linux kernel based on linux-fslc 4.9.x.

Upon kernel start I get an error:

imx-mqs sound-mqs: ASoC: CODEC DAI fsl-mqs-dai not registered

imx-mqs sound-mqs: snd_soc_register_card failed (-517)

 

My kernel debug log is shown below.

Do you maybe have an idea what could be wrong?

 

Thanks in advance for your help.

 

Kind regards,

Sarel

 

----------------------------------------------------------------------------------------------------------------------------

Starting kernel in secure mode

exitcall-> nv_exit+0x0/0x30

exitcall-> devices_shutdown+0x0/0x48

ERROR: imx-usb 2184000.usb: gadget not registered.

exitcall-> arch_shutdown+0x0/0x20

Booting Linux on physical CPU 0x0

Linux version 4.9.75 (sarel@HELIX-AU-SB-DEV) (gcc version 7.3.0 (Buildroot 2018.02.2-g7dd9b6e) ) #27 SMP PREEMPT Wed Nov 7 15:27:17 AWST 2018

CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d

CPU: div instructions available: patching division code

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

OF: fdt:Machine model: Embed smartTouch MK2 EMMC/WIFI-5G

Memory policy: Data cache writealloc

percpu: Embedded 14 pages/cpu @9ffd5000 s25420 r8192 d23732 u57344

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048

Kernel command line: console=ttymxc0,115200n8 root=/dev/mmcblk1p1 rw rootwait noatime consoleblank=0

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 506620K/524288K available (7168K kernel code, 279K rwdata, 2328K rodata, 1024K init, 422K bss, 17668K reserved, 0K cma-reserved, 0K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    vmalloc : 0xa0800000 - 0xff800000   (1520 MB)

    lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x80800000   (8160 kB)

      .init : 0x80b00000 - 0x80c00000   (1024 kB)

      .data : 0x80c00000 - 0x80c45f60   ( 280 kB)

       .bss : 0x80c47000 - 0x80cb0880   ( 423 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Preemptible hierarchical RCU implementation.

        Build-time adjustment of leaf fanout to 32.

        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.

RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1

NR_IRQS:16 nr_irqs:16 16

Switching to timer-based delay loop, resolution 333ns

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns

clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns

Console: colour dummy device 80x30

Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

CPU: Testing write buffer coherency: ok

/cpus/cpu@0 missing clock-frequency property

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

Setting up static identity map for 0x80100000 - 0x80100058

Brought up 1 CPUs

SMP: Total of 1 processors activated (6.00 BogoMIPS).

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

OF: Duplicate name in lcdif@021c8000, renamed to "display#1"

VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

futex hash table entries: 256 (order: 2, 16384 bytes)

pinctrl core: initialized pinctrl subsystem

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

cpuidle: using governor menu

hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 8 bytes.

imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

mxs-dma 1804000.dma-apbh: initialized

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c i2c-0: IMX I2C adapter registered

i2c i2c-0: can't use DMA, using PIO instead.

i2c i2c-1: IMX I2C adapter registered

i2c i2c-1: can't use DMA, using PIO instead.

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

Advanced Linux Sound Architecture Driver Initialized.

Bluetooth: Core ver 2.22

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

clocksource: Switched to clocksource mxc_timer1

VFS: Disk quotas dquot_6.6.0

VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

NET: Registered protocol family 2

TCP established hash table entries: 4096 (order: 2, 16384 bytes)

TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

workingset: timestamp_bits=30 max_order=17 bucket_order=0

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

fuse init (API version 7.26)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

imx-weim 21b8000.weim: Driver registered.

backlight supply power not found, using dummy regulator

21c8000.lcdif supply lcd not found, using dummy regulator

Console: switching to colour frame buffer device 100x30

mxsfb 21c8000.lcdif: initialized

imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2

imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX

console [ttymxc0] enabled

21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 68, base_baud = 5000000) is a IMX

21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 69, base_baud = 5000000) is a IMX

[drm] Initialized

brd: module loaded

loop: module loaded

libphy: Fixed MDIO Bus: probed

CAN device driver interface

2090000.flexcan supply xceiver not found, using dummy regulator

flexcan 2090000.flexcan: device registered (reg_base=a0c20000, irq=26)

20b4000.ethernet supply phy not found, using dummy regulator

pps pps0: new PPS source ptp0

fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00

fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 1a:e8:ff:d6:6c:77

libphy: fec_enet_mii_bus: probed

fec 20b4000.ethernet eth0: registered PHC device 0

2188000.ethernet supply phy not found, using dummy regulator

pps pps1: new PPS source ptp1

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth1: registered PHC device 1

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ehci-mxc: Freescale On-Chip EHCI Host driver

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver usb_ehset_test

2184000.usb supply vbus not found, using dummy regulator

ci_hdrc ci_hdrc.0: EHCI Host Controller

ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

2184200.usb supply vbus not found, using dummy regulator

ci_hdrc ci_hdrc.1: EHCI Host Controller

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

random: fast init done

input: EP0790M09 as /devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input0

i2c /dev entries driver

imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)

Bluetooth: HCI UART driver ver 2.3

Bluetooth: HCI UART protocol H4 registered

Bluetooth: HCI UART protocol LL registered

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

imx-mqs sound-mqs: ==================== imx_mqs_probe =====================

imx-mqs sound-mqs: ----> asrc_pdev

imx-mqs sound-mqs: ASoC: CODEC DAI fsl-mqs-dai not registered

imx-mqs sound-mqs: snd_soc_register_card failed (-517)

NET: Registered protocol family 26

NET: Registered protocol family 10

sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20161123 t)

can: netlink gateway (rev 20130117) max_hops=1

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: BNEP socket layer initialized

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

Bluetooth: HIDP socket layer initialized

mmc1: new DDR MMC card at address 0001

8021q: 802.1Q VLAN Support v1.8

Key type dns_resolver registered

Registering SWP/SWPB emulation handler

mmcblk1: mmc1:0001 8GME4R 7.28 GiB

mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB

imx-mqs sound-mqs: ==================== imx_mqs_probe =====================

mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB

imx-mqs sound-mqs: ----> asrc_pdev

mmcblk1rpmb: mmc1:0001 8GME4R partition 3 512 KiB

mmcblk1: p1

imx-mqs sound-mqs: ASoC: CODEC DAI fsl-mqs-dai not registered

imx-mqs sound-mqs: snd_soc_register_card failed (-517)

imx-mqs sound-mqs: ==================== imx_mqs_probe =====================

imx-mqs sound-mqs: ----> asrc_pdev

imx-mqs sound-mqs: ASoC: CODEC DAI fsl-mqs-dai not registered

imx-mqs sound-mqs: snd_soc_register_card failed (-517)

input: keys as /devices/platform/keys/input/input1

imx-mqs sound-mqs: ==================== imx_mqs_probe =====================

hctosys: unable to open rtc device (rtc0)

vdd3p0: disabling

VSD_3V3: disabling

gpio_dvfs: disabling

ALSA device list:

  No soundcards found.

imx-mqs sound-mqs: ----> asrc_pdev

imx-mqs sound-mqs: ASoC: CODEC DAI fsl-mqs-dai not registered

imx-mqs sound-mqs: snd_soc_register_card failed (-517)

EXT4-fs (mmcblk1p1): couldn't mount as ext3 due to feature incompatibilities

EXT4-fs (mmcblk1p1): couldn't mount as ext2 due to feature incompatibilities

EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 179:1.

devtmpfs: mounted

Freeing unused kernel memory: 1024K

EXT4-fs (mmcblk1p1): re-mounted. Opts: data=ordered

Starting logging: OK

Initializing random number generator... done.

Starting network: OK

 

Welcome to Buildroot

buildroot login: random: crng init done

Outcomes