Re: How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc.


Brian Hutchinson
 

On Mon, Oct 5, 2020 at 06:34 PM, Brian Hutchinson wrote:
On Mon, Oct 5, 2020 at 06:24 PM, Brian Hutchinson wrote:
Just built latest Freescale Community BSP core-image-minimal (kernel 5.4.67 was built) for imx8mm-evk and firmware-imx is not included in sdcard image ... which I think is why I'm getting messages like these:

[    0.127623] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.127636] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.135771] mxs-dma 33000000.dma-controller: initialized


[    3.921734] cfg80211: failed to load regulatory.db                    
[    3.939089] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware    
[    3.939090] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware    
[    3.939186] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    3.966989] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin           
[    4.013621] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware

I found the firmware files in:

build/tmp/work/aarch64-mx8mm-poky-linux/firmware-imx-8m/8.8-r0/firmware-imx-8.8/firmware

... and copied them to the sdcard under /lib/firmware/imx directory but I still get the firmware errors.

How "should" I be getting these firmware binaries into the core-image-minimal sdcard image to also get rid of the firmware loading errors?

I'm using a rev B imx8mm-evk board and using the imx8mm-evk-revb.dtb.

Regards,

Brian

I'm using core-image-minimal because I have a custom board based off of imx8mm evk but don't use wifi, bluetooth, video, touch pad etc. so I don't want all the "stuff" that comes in core-image-base.  Just background for those that might ask.

Regards,

Brian
Another update ... decided to build core-image-base just in case it was related to core-image-minimal missing something ... I get the same sdma errors.  So I add IMAGE_INSTALL_append = " firmware-imx-sdma-imx7d firmware-imx-epdc" to local.conf.  Still get the errors.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.67+g001df9337bae (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Sep 23 20:52:03 UTC 2020
[    0.000000] Machine model: FSL i.MX8MM LPDDR4 EVK RevB board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000078000000, size 640 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbdbdd500-0xbdbdefff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000b7ffffff]
[    0.000000]   node   0: [mem 0x00000000b8400000-0x00000000bdffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507008
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw
[    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: 1336512K/2060288K available (16316K kernel code, 1206K rwdata, 6432K rodata, 2816K init, 1012K bss, 68416K reserved, 655360K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x44c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000369] Console: colour dummy device 80x25
[    0.000432] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.000440] pid_max: default: 32768 minimum: 301
[    0.000506] LSM: Security Framework initializing
[    0.000557] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000568] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001721] ASID allocator initialised with 32768 entries
[    0.001793] rcu: Hierarchical SRCU implementation.
[    0.002681] EFI services will not be available.
[    0.002836] smp: Bringing up secondary CPUs ...
[    0.003211] Detected VIPT I-cache on CPU1
[    0.003236] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.003267] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003676] Detected VIPT I-cache on CPU2
[    0.003692] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.003710] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004139] Detected VIPT I-cache on CPU3
[    0.004155] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.004171] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004223] smp: Brought up 1 node, 4 CPUs
[    0.004232] SMP: Total of 4 processors activated.
[    0.004238] CPU features: detected: 32-bit EL0 Support
[    0.004245] CPU features: detected: CRC32 instructions
[    0.010726] CPU: All CPU(s) started at EL2
[    0.010746] alternatives: patching kernel code
[    0.012156] devtmpfs: initialized
[    0.018408] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.018425] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.034622] pinctrl core: initialized pinctrl subsystem
[    0.035321] DMI not present or invalid.
[    0.035578] NET: Registered protocol family 16
[    0.042380] DMA: preallocated 256 KiB pool for atomic allocations
[    0.042408] audit: initializing netlink subsys (disabled)
[    0.042646] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043525] cpuidle: using governor menu
[    0.043992] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.044765] Serial: AMBA PL011 UART driver
[    0.044824] imx mu driver is registered.
[    0.044844] imx rpmsg driver is registered.
[    0.050595] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.070937] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.070947] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.070952] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.070959] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.071772] cryptd: max_cpu_qlen set to 1000
[    0.074828] ACPI: Interpreter disabled.
[    0.075717] iommu: Default domain type: Translated  
[    0.075850] vgaarb: loaded
[    0.076132] SCSI subsystem initialized
[    0.076470] usbcore: registered new interface driver usbfs
[    0.076508] usbcore: registered new interface driver hub
[    0.076561] usbcore: registered new device driver usb
[    0.077718] mc: Linux media interface: v0.10
[    0.077747] videodev: Linux video capture interface: v2.00
[    0.077810] pps_core: LinuxPPS API ver. 1 registered
[    0.077816] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@...>
[    0.077830] PTP clock support registered
[    0.077960] EDAC MC: Ver: 3.0.0
[    0.078730] No BMan portals available!
[    0.078948] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.079195] No QMan portals available!
[    0.079561] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.079995] FPGA manager framework
[    0.080079] Advanced Linux Sound Architecture Driver Initialized.
[    0.080488] Bluetooth: Core ver 2.22
[    0.080512] NET: Registered protocol family 31
[    0.080519] Bluetooth: HCI device and connection manager initialized
[    0.080527] Bluetooth: HCI socket layer initialized
[    0.080535] Bluetooth: L2CAP socket layer initialized
[    0.080547] Bluetooth: SCO socket layer initialized
[    0.081245] clocksource: Switched to clocksource arch_sys_counter
[    0.081394] VFS: Disk quotas dquot_6.6.0
[    0.081439] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.081589] pnp: PnP ACPI: disabled
[    0.086976] thermal_sys: Registered thermal governor 'step_wise'
[    0.086979] thermal_sys: Registered thermal governor 'power_allocator'
[    0.087304] NET: Registered protocol family 2
[    0.087599] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.087633] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.087742] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.087970] TCP: Hash tables configured (established 16384 bind 16384)
[    0.088047] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.088089] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.088230] NET: Registered protocol family 1
[    0.088545] RPC: Registered named UNIX socket transport module.
[    0.088550] RPC: Registered udp transport module.
[    0.088554] RPC: Registered tcp transport module.
[    0.088558] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.088904] PCI: CLS 0 bytes, default 64
[    0.089573] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.089929] kvm [1]: IPA Size Limit: 40bits
[    0.090525] kvm [1]: GICv3: no GICV resource entry
[    0.090530] kvm [1]: disabling GICv2 emulation
[    0.090548] kvm [1]: GIC system register CPU interface enabled
[    0.090606] kvm [1]: vgic interrupt IRQ1
[    0.090693] kvm [1]: Hyp mode initialized successfully
[    0.093454] Initialise system trusted keyrings
[    0.093571] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.099493] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.100118] NFS: Registering the id_resolver key type
[    0.100142] Key type id_resolver registered
[    0.100146] Key type id_legacy registered
[    0.100158] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.100179] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.100531] 9p: Installing v9fs 9p2000 file system support
[    0.113666] Key type asymmetric registered
[    0.113673] Asymmetric key parser 'x509' registered
[    0.113709] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.113715] io scheduler mq-deadline registered
[    0.113720] io scheduler kyber registered
[    0.118440] EINJ: ACPI disabled.
[    0.127158] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.127171] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.135136] mxs-dma 33000000.dma-controller: initialized
[    0.136244] Bus freq driver module loaded
[    0.141388] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.143505] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 39, base_baud = 5000000) is a IMX
[    0.143986] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 40, base_baud = 5000000) is a IMX
[    0.144359] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 41, base_baud = 1500000) is a IMX
[    1.129142] printk: console [ttymxc1] enabled
[    1.139639] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.146274] [drm] No driver support for vblank timestamp query.
[    1.152273] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.162188] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.169742] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    1.178019] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[    1.194983] loop: module loaded
[    1.200219] imx ahci driver is registered.
[    1.207381] spi-nor spi3.0: n25q256ax1 (32768 Kbytes)
[    1.219068] libphy: Fixed MDIO Bus: probed
[    1.223974] tun: Universal TUN/TAP device driver, 1.6
[    1.229843] thunder_xcv, ver 1.0
[    1.233103] thunder_bgx, ver 1.0
[    1.236370] nicpf, ver 1.0
[    1.239917] pps pps0: new PPS source ptp0
[    1.249222] libphy: fec_enet_mii_bus: probed
[    1.254675] fec 30be0000.ethernet eth0: registered PHC device 0
[    1.261212] Freescale FM module, FMD API version 21.1.0
[    1.266699] Freescale FM Ports module
[    1.270371] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    1.276096] fsl_dpa: FSL DPAA Ethernet driver
[    1.280586] fsl_advanced: FSL DPAA Advanced drivers:
[    1.285560] fsl_proxy: FSL DPAA Proxy initialization driver
[    1.291241] fsl_oh: FSL FMan Offline Parsing port driver
[    1.297427] hclge is initializing
[    1.300745] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.307973] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.313335] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.320390] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.326173] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.332009] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.337967] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.344933] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.350547] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.358382] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.364468] sky2: driver version 1.30
[    1.369040] VFIO - User Level meta-driver version: 0.3
[    1.376006] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.382555] ehci-pci: EHCI PCI platform driver
[    1.387078] ehci-platform: EHCI generic platform driver
[    1.392487] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.398690] ohci-pci: OHCI PCI platform driver
[    1.403179] ohci-platform: OHCI generic platform driver
[    1.408958] usbcore: registered new interface driver usb-storage
[    1.415042] usbcore: registered new interface driver usbserial_generic
[    1.421590] usbserial: USB Serial support registered for generic
[    1.427626] usbcore: registered new interface driver ftdi_sio
[    1.433398] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.440735] usbcore: registered new interface driver usb_serial_simple
[    1.447281] usbserial: USB Serial support registered for carelink
[    1.453397] usbserial: USB Serial support registered for zio
[    1.459081] usbserial: USB Serial support registered for funsoft
[    1.465112] usbserial: USB Serial support registered for flashloader
[    1.471483] usbserial: USB Serial support registered for google
[    1.477422] usbserial: USB Serial support registered for libtransistor
[    1.483971] usbserial: USB Serial support registered for vivopay
[    1.489998] usbserial: USB Serial support registered for moto_modem
[    1.496288] usbserial: USB Serial support registered for motorola_tetra
[    1.502930] usbserial: USB Serial support registered for novatel_gps
[    1.509303] usbserial: USB Serial support registered for hp4x
[    1.515068] usbserial: USB Serial support registered for suunto
[    1.521010] usbserial: USB Serial support registered for siemens_mpi
[    1.528857] imx_usb 32e40000.usb: No over current polarity defined
[    1.536405] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.551579] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.557871] i2c /dev entries driver
[    1.562026] mx6s-csi 32e20000.csi1_bridge: initialising
[    1.567776] mxc_mipi-csi 32e30000.mipi_csi: 32e30000.mipi_csi supply mipi-phy not found, using dummy regulator
[    1.577998] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered
[    1.584973] CSI: Registered sensor subdevice: mxc_mipi-csi.0
[    1.590657] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 333000000
[    1.604645] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    1.611250] Bluetooth: HCI UART driver ver 2.3
[    1.615707] Bluetooth: HCI UART protocol H4 registered
[    1.620853] Bluetooth: HCI UART protocol BCSP registered
[    1.626195] Bluetooth: HCI UART protocol LL registered
[    1.631343] Bluetooth: HCI UART protocol ATH3K registered
[    1.636763] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.643127] Bluetooth: HCI UART protocol Broadcom registered
[    1.648812] Bluetooth: HCI UART protocol QCA registered
[    1.655931] sdhci: Secure Digital Host Controller Interface driver
[    1.662128] sdhci: Copyright(c) Pierre Ossman
[    1.666686] Synopsys Designware Multimedia Card Interface Driver
[    1.673274] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.679707] mmc0: CQHCI version 5.10
[    1.683707] mmc1: CQHCI version 5.10
[    1.687754] mmc2: CQHCI version 5.10
[    1.723046] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.733183] ledtrig-cpu: registered to indicate activity on CPUs
[    1.740431] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.747157] caam 30900000.crypto: job rings = 2, qi = 0
[    1.787984] caam algorithms registered in /proc/crypto
[    1.801233] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.811825] caam_jr 30901000.jr: registering rng-caam
[    1.821987] caam-snvs 30370000.caam-snvs: can't get snvs clock
[    1.827873] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.836357] usbcore: registered new interface driver usbhid
[    1.841989] usbhid: USB HID core driver
[    1.848015] No fsl,qman node
[    1.850923] Freescale USDPAA process driver
[    1.855274] fsl-usdpaa: no region found
[    1.856619] mmc2: Command Queue Engine enabled
[    1.859138] Freescale USDPAA process IRQ driver
[    1.862559] optee: probing for conduit method from DT.
[    1.863619] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.868154] optee: revision 3.7 (7a49776d)
[    1.868370] optee: dynamic shared memory is enabled
[    1.874085] mmcblk2: mmc2:0001 DG4016 14.7 GiB  
[    1.879854] optee: initialized driver
[    1.883889] mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB
[    1.890162] hantrodec 0 : module inserted. Major = 236
[    1.893334] mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB
[    1.897402] hantrodec 1 : module inserted. Major = 236
[    1.903181] mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB, chardev (237:0)
[    1.908689] hx280enc: module inserted. Major <235>
[    1.916730]  mmcblk2: p1
[    1.922787] wm8524-codec audio-codec: Failed to get mute line: -517
[    1.982150] fsl-micfil-dai 30080000.micfil: GET IRQ: 16
[    1.987403] fsl-micfil-dai 30080000.micfil: GET IRQ: 17
[    1.992648] fsl-micfil-dai 30080000.micfil: GET IRQ: 18
[    1.997893] fsl-micfil-dai 30080000.micfil: GET IRQ: 19
[    2.009060] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 30090000.spdif mapping ok
[    2.016713] imx-spdif sound-spdif: ASoC: no DMI vendor name!
[    2.025614] imx-ak4458 sound-ak4458: ASoC: failed to init link ak4458: -517
[    2.032597] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-517)
[    2.039908] debugfs: Directory '30080000.micfil' with parent 'imx-audio-micfil' already present!
[    2.048786] imx-micfil sound-micfil: snd-soc-dummy-dai <-> 30080000.micfil mapping ok
[    2.056629] imx-micfil sound-micfil: ASoC: no DMI vendor name!
[    2.064569] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.075328] NET: Registered protocol family 26
[    2.080354] NET: Registered protocol family 10
[    2.085531] Segment Routing with IPv6
[    2.089255] NET: Registered protocol family 17
[    2.094094] Bluetooth: RFCOMM TTY layer initialized
[    2.098985] Bluetooth: RFCOMM socket layer initialized
[    2.104153] Bluetooth: RFCOMM ver 1.11
[    2.107913] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.113231] Bluetooth: BNEP filters: protocol multicast
[    2.118476] Bluetooth: BNEP socket layer initialized
[    2.123446] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.129377] Bluetooth: HIDP socket layer initialized
[    2.134381] 8021q: 802.1Q VLAN Support v1.8
[    2.138585] lib80211: common routines for IEEE802.11 drivers
[    2.144350] 9pnet: Installing 9P2000 support
[    2.148653] tsn generic netlink module v1 init...
[    2.153420] Key type dns_resolver registered
[    2.158672] registered taskstats version 1
[    2.162780] Loading compiled-in X.509 certificates
[    2.188510] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    2.197328] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[    2.225696] ldo6: supplied by regulator-dummy
[    2.230852] i2c i2c-0: IMX I2C adapter registered
[    2.236757] adv7511 1-003d: 1-003d supply avdd not found, using dummy regulator
[    2.244135] adv7511 1-003d: 1-003d supply dvdd not found, using dummy regulator
[    2.251486] adv7511 1-003d: 1-003d supply pvdd not found, using dummy regulator
[    2.258839] adv7511 1-003d: 1-003d supply a2vdd not found, using dummy regulator
[    2.266275] adv7511 1-003d: 1-003d supply v3p3 not found, using dummy regulator
[    2.273642] adv7511 1-003d: 1-003d supply v1p2 not found, using dummy regulator
[    2.281768] adv7511 1-003d: Probe failed. Remote port 'mipi_dsi@32e10000' disabled
[    2.291113] i2c i2c-1: IMX I2C adapter registered
[    2.296952] pca953x 2-0020: using no AI
[    2.303463] ak4458 2-0010: Failed to request supplies: -517
[    2.309378] ak4458 2-0012: Failed to request supplies: -517
[    2.315232] ak5558 2-0013: Failed to request supplies: -517
[    2.321090] ak4458 2-0011: Failed to request supplies: -517
[    2.326985] ov5640_mipi 2-003c: No sensor reset pin available
[    2.332774] ov5640_mipi 2-003c: 2-003c supply DOVDD not found, using dummy regulator
[    2.340581] ov5640_mipi 2-003c: 2-003c supply DVDD not found, using dummy regulator
[    2.348299] ov5640_mipi 2-003c: 2-003c supply AVDD not found, using dummy regulator
[    2.369589] ov5640_mipi 2-003c: Read reg error: reg=300a
[    2.374910] ov5640_mipi 2-003c: Camera is not found
[    2.379952] i2c i2c-2: IMX I2C adapter registered
[    2.386551] imx6q-pcie 33800000.pcie: couldn't get pcie-phy
[    2.386669] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.392250] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    2.398775] [drm] No driver support for vblank timestamp query.
[    2.398841] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    2.408198] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.414520] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    2.423085] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    2.430858] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    2.437263] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.444657] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -19
[    2.452982] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    2.460332] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    2.483536] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 0
[    2.493780] imx_usb 32e40000.usb: No over current polarity defined
[    2.500028] imx_usb 32e40000.usb: 32e40000.usb supply vbus not found, using dummy regulator
[    2.512378] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[    2.524750] mmc0: CQHCI version 5.10
[    2.558686] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    2.566886] mmc1: CQHCI version 5.10
[    2.570539] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.573641] imx6q-pcie 33800000.pcie: PCIe PLL locked after 20 us.
[    2.582031] random: fast init done
[    2.610646] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.619963] debugfs: Directory '30020000.sai' with parent 'bt-sco-audio' already present!
[    2.628277] asoc-simple-card sound-bt-sco: bt-sco-pcm <-> 30020000.sai mapping ok
[    2.635792] asoc-simple-card sound-bt-sco: ASoC: no DMI vendor name!
[    2.642203] debugfs: File 'Playback' in directory 'dapm' already present!
[    2.649012] debugfs: File 'Capture' in directory 'dapm' already present!
[    2.657798] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[    2.665135] debugfs: Directory '30030000.sai' with parent 'wm8524-audio' already present!
[    2.673476] asoc-simple-card sound-wm8524: wm8524-hifi <-> 30030000.sai mapping ok
[    2.681087] asoc-simple-card sound-wm8524: ASoC: no DMI vendor name!
[    2.694257] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[    2.702036] imx-ak4458 sound-ak4458: ASoC: failed to init link ak4458: -517
[    2.709019] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-517)
[    2.716421] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[    2.722594] mmc0: queuing unknown CIS tuple 0x14 (0 bytes)
[    2.729355] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    2.738117] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    2.762216] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[    2.767753] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[    2.773309] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[    2.778850] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    3.110423] ak4458 2-0010: ASoC: failed to probe component -6
[    3.116299] imx-ak4458 sound-ak4458: ASoC: failed to instantiate card -6
[    3.123094] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-6)
[    3.131764] input: bd718xx-pwrkey as /devices/platform/soc@0/soc@0:bus@30800000/30a20000.i2c/i2c-0/0-004b/gpio-keys.1.auto/input/input1
[    3.144798] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:01 UTC (1)
[    3.154263] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.165385] mmc1: host does not support reading read-only switch, assuming write-enable
[    3.173736] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.180360] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.188990] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.191524] ALSA device list:
[    3.199722]   #0: imx-spdif
[    3.202531]   #1: imx-audio-micfil
[    3.205947]   #2: bt-sco-audio
[    3.209003]   #3: wm8524-audio
[    3.285647] mmc1: new ultra high speed DDR50 SDHC card at address e624
[    3.293114] mmcblk1: mmc1:e624 SU16G 14.8 GiB  
[    3.306939]  mmcblk1: p1 p2
[    3.590760] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.596464] imx6q-pcie 33800000.pcie: failed to initialize host
[    3.602404] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    3.626558] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.634739] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    3.642669] devtmpfs: mounted
[    3.646396] Freeing unused kernel memory: 2816K
[    3.651002] Run /sbin/init as init process
INIT: version 2.96 booting
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Starting udev
[    3.982219] udevd[261]: starting version 3.2.9
[    4.005815] random: udevd: uninitialized urandom read (16 bytes read)
[    4.012954] random: udevd: uninitialized urandom read (16 bytes read)
[    4.020129] random: udevd: uninitialized urandom read (16 bytes read)
[    4.051898] udevd[262]: starting eudev-3.2.9
[    4.128369] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware
[    4.128403] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware
[    4.147199] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    4.159436] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    4.236766] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[    4.403659] qca9377: loading out-of-tree module taints kernel.
[    4.498513] qca9377: loading driver v4.5.24.4
[    4.503229] hifDeviceInserted: Dumping clocks (50000000,400000000)
[    4.509526] AR6000: Set async interrupt delay clock as 2.
[    4.651016] AR6000: configuration opcode 3 is not used for Linux SDIO stack  
[    4.663171] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[    5.181234] HIF Interrupt processing is SYNC ONLY
[    5.185961] AR6000: configuration opcode 7 is only used for RTOS systems, not Linux systems
[    5.194317] AR6000: configuration opcode 5 is not used for Linux SDIO stack  
[    5.202775] +HWT
[    5.210675] -HWT
[    5.213201] MAILBOX SWAP Service is enabled!
[    5.217486] Reduced Tx Complete service is enabled!
[    5.224931] HTCConnectService, host indicate support b2b bundle
[    5.234150] HTCConnectService, firmware decide to disabled b2b bundle
[    5.240603] HTC Service:0x0300 ep:1 TX flow control disabled
[    5.247021] HTCConnectService, host indicate support b2b bundle
[    5.254558] HTCConnectService, firmware decide to disabled b2b bundle
[    5.279005] target uses HTT version 3.53; host uses 3.28
[    5.284711] Host SW:4.5.24.4, FW:0.0.0.23, HW:QCA93x7_REV1_1
[    5.290557] ol_pktlog_init: pktlogmod_init successfull
[    5.295886] ath_hif_sdio: HIF (Atheros/multi-bss)
[    5.300630] qca9377: driver loaded in 800000
[    5.342974] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    5.718048] urandom_read: 4 callbacks suppressed
[    5.718053] random: dd: uninitialized urandom read (512 bytes read)
[    5.822564] Atheros 8031 ethernet 30be0000.ethernet-1:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)

[   12.065643] random: crng init done

umount: can't unmount /mnt/.psplash: No such file or directory

Poky (Yocto Project Reference Distro) 3.1.3 imx8mmevk /dev/ttymxc1

imx8mmevk login: root
root@imx8mmevk:~# rpm -qa | grep -i firmware
linux-firmware-ath10k-license-20200817-r0.noarch
firmware-qca9377-3.0.2-r0.noarch
firmware-imx-epdc-8.8-r0.noarch
linux-firmware-ath10k-20200817-r0.noarch
firmware-imx-sdma-imx7d-8.8-r0.noarch
root@imx8mmevk:~# cd /lib/firmware/imx/
root@imx8mmevk:/lib/firmware/imx# ls
epdc
root@imx8mmevk:/lib/firmware/imx#

... well, at least there is a /lib/firmware/imx directory this time.  Still no sign of sdma though!

I'm stumped.

Regards,

Brian

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.