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
 

More background information in case it matters.

I did my original setup with:
EULA=1 MACHINE=imx8mmevk DISTRO=poky source setup-environment build

... because I don't want/need graphics etc.

After Otavio did his change, I smoked sstate and tmp dir and rebuilt core-image-base.  Still get sdma errors and do not have /lib/firmware/imx
/ binaries.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.69+gdd0d7d132f10 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Sat Oct 3 16:05:58 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.000368] Console: colour dummy device 80x25
[    0.000433] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.000442] pid_max: default: 32768 minimum: 301
[    0.000509] LSM: Security Framework initializing
[    0.000561] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000572] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001725] ASID allocator initialised with 32768 entries
[    0.001795] rcu: Hierarchical SRCU implementation.
[    0.002674] EFI services will not be available.
[    0.002831] smp: Bringing up secondary CPUs ...
[    0.003207] Detected VIPT I-cache on CPU1
[    0.003231] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.003264] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003671] Detected VIPT I-cache on CPU2
[    0.003687] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.003705] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004125] Detected VIPT I-cache on CPU3
[    0.004140] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.004156] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004214] smp: Brought up 1 node, 4 CPUs
[    0.004223] SMP: Total of 4 processors activated.
[    0.004228] CPU features: detected: 32-bit EL0 Support
[    0.004235] CPU features: detected: CRC32 instructions
[    0.010798] CPU: All CPU(s) started at EL2
[    0.010819] alternatives: patching kernel code
[    0.012249] devtmpfs: initialized
[    0.018305] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.018322] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.034567] pinctrl core: initialized pinctrl subsystem
[    0.035263] DMI not present or invalid.
[    0.035517] NET: Registered protocol family 16
[    0.042286] DMA: preallocated 256 KiB pool for atomic allocations
[    0.042316] audit: initializing netlink subsys (disabled)
[    0.042552] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043412] cpuidle: using governor menu
[    0.043815] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.044603] Serial: AMBA PL011 UART driver
[    0.044661] imx mu driver is registered.
[    0.044680] imx rpmsg driver is registered.
[    0.050379] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.070353] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.070364] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.070369] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.070374] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.071199] cryptd: max_cpu_qlen set to 1000
[    0.074285] ACPI: Interpreter disabled.
[    0.075173] iommu: Default domain type: Translated  
[    0.075315] vgaarb: loaded
[    0.075598] SCSI subsystem initialized
[    0.075917] usbcore: registered new interface driver usbfs
[    0.075954] usbcore: registered new interface driver hub
[    0.076005] usbcore: registered new device driver usb
[    0.077181] mc: Linux media interface: v0.10
[    0.077209] videodev: Linux video capture interface: v2.00
[    0.077270] pps_core: LinuxPPS API ver. 1 registered
[    0.077277] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@...>
[    0.077296] PTP clock support registered
[    0.077432] EDAC MC: Ver: 3.0.0
[    0.078162] No BMan portals available!
[    0.078367] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.078615] No QMan portals available!
[    0.078979] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.079371] FPGA manager framework
[    0.079452] Advanced Linux Sound Architecture Driver Initialized.
[    0.079850] Bluetooth: Core ver 2.22
[    0.079879] NET: Registered protocol family 31
[    0.079885] Bluetooth: HCI device and connection manager initialized
[    0.079893] Bluetooth: HCI socket layer initialized
[    0.079900] Bluetooth: L2CAP socket layer initialized
[    0.079912] Bluetooth: SCO socket layer initialized
[    0.080626] clocksource: Switched to clocksource arch_sys_counter
[    0.080789] VFS: Disk quotas dquot_6.6.0
[    0.080835] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.080988] pnp: PnP ACPI: disabled
[    0.086347] thermal_sys: Registered thermal governor 'step_wise'
[    0.086351] thermal_sys: Registered thermal governor 'power_allocator'
[    0.086676] NET: Registered protocol family 2
[    0.087007] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.087037] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.087146] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.087372] TCP: Hash tables configured (established 16384 bind 16384)
[    0.087449] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.087490] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.087623] NET: Registered protocol family 1
[    0.087946] RPC: Registered named UNIX socket transport module.
[    0.087951] RPC: Registered udp transport module.
[    0.087955] RPC: Registered tcp transport module.
[    0.087958] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.088337] PCI: CLS 0 bytes, default 64
[    0.088994] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.089358] kvm [1]: IPA Size Limit: 40bits
[    0.089954] kvm [1]: GICv3: no GICV resource entry
[    0.089959] kvm [1]: disabling GICv2 emulation
[    0.089976] kvm [1]: GIC system register CPU interface enabled
[    0.090032] kvm [1]: vgic interrupt IRQ1
[    0.090122] kvm [1]: Hyp mode initialized successfully
[    0.092902] Initialise system trusted keyrings
[    0.093042] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.098758] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.099374] NFS: Registering the id_resolver key type
[    0.099397] Key type id_resolver registered
[    0.099401] Key type id_legacy registered
[    0.099411] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.099430] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.099769] 9p: Installing v9fs 9p2000 file system support
[    0.112940] Key type asymmetric registered
[    0.112947] Asymmetric key parser 'x509' registered
[    0.112979] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.112985] io scheduler mq-deadline registered
[    0.112990] io scheduler kyber registered
[    0.117751] EINJ: ACPI disabled.
[    0.126468] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.126481] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.134362] mxs-dma 33000000.dma-controller: initialized
[    0.135472] Bus freq driver module loaded
[    0.140617] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.142776] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 39, base_baud = 5000000) is a IMX
[    0.143243] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 40, base_baud = 5000000) is a IMX
[    0.143605] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 41, base_baud = 1500000) is a IMX
[    1.128381] printk: console [ttymxc1] enabled
[    1.138932] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.145570] [drm] No driver support for vblank timestamp query.
[    1.151568] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.161489] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.169037] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    1.177314] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[    1.194256] loop: module loaded
[    1.199500] imx ahci driver is registered.
[    1.206634] spi-nor spi3.0: n25q256ax1 (32768 Kbytes)
[    1.218432] libphy: Fixed MDIO Bus: probed
[    1.223294] tun: Universal TUN/TAP device driver, 1.6
[    1.229100] thunder_xcv, ver 1.0
[    1.232361] thunder_bgx, ver 1.0
[    1.235627] nicpf, ver 1.0
[    1.239161] pps pps0: new PPS source ptp0
[    1.248463] libphy: fec_enet_mii_bus: probed
[    1.253886] fec 30be0000.ethernet eth0: registered PHC device 0
[    1.260422] Freescale FM module, FMD API version 21.1.0
[    1.265896] Freescale FM Ports module
[    1.269568] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    1.275292] fsl_dpa: FSL DPAA Ethernet driver
[    1.279787] fsl_advanced: FSL DPAA Advanced drivers:
[    1.284763] fsl_proxy: FSL DPAA Proxy initialization driver
[    1.290455] fsl_oh: FSL FMan Offline Parsing port driver
[    1.296651] hclge is initializing
[    1.299968] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.307197] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.312557] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.319613] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.325394] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.331232] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.337190] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.344157] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.349774] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.357608] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.363684] sky2: driver version 1.30
[    1.368253] VFIO - User Level meta-driver version: 0.3
[    1.375216] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.381762] ehci-pci: EHCI PCI platform driver
[    1.386284] ehci-platform: EHCI generic platform driver
[    1.391705] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.397908] ohci-pci: OHCI PCI platform driver
[    1.402387] ohci-platform: OHCI generic platform driver
[    1.408194] usbcore: registered new interface driver usb-storage
[    1.414276] usbcore: registered new interface driver usbserial_generic
[    1.420823] usbserial: USB Serial support registered for generic
[    1.426865] usbcore: registered new interface driver ftdi_sio
[    1.432649] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.439989] usbcore: registered new interface driver usb_serial_simple
[    1.446534] usbserial: USB Serial support registered for carelink
[    1.452651] usbserial: USB Serial support registered for zio
[    1.458331] usbserial: USB Serial support registered for funsoft
[    1.464358] usbserial: USB Serial support registered for flashloader
[    1.470730] usbserial: USB Serial support registered for google
[    1.476672] usbserial: USB Serial support registered for libtransistor
[    1.483220] usbserial: USB Serial support registered for vivopay
[    1.489247] usbserial: USB Serial support registered for moto_modem
[    1.495533] usbserial: USB Serial support registered for motorola_tetra
[    1.502167] usbserial: USB Serial support registered for novatel_gps
[    1.508543] usbserial: USB Serial support registered for hp4x
[    1.514315] usbserial: USB Serial support registered for suunto
[    1.520254] usbserial: USB Serial support registered for siemens_mpi
[    1.528117] imx_usb 32e40000.usb: No over current polarity defined
[    1.535658] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.550767] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.557054] i2c /dev entries driver
[    1.561214] mx6s-csi 32e20000.csi1_bridge: initialising
[    1.566961] mxc_mipi-csi 32e30000.mipi_csi: 32e30000.mipi_csi supply mipi-phy not found, using dummy regulator
[    1.577149] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered
[    1.584124] CSI: Registered sensor subdevice: mxc_mipi-csi.0
[    1.589804] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 333000000
[    1.603800] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    1.610393] Bluetooth: HCI UART driver ver 2.3
[    1.614849] Bluetooth: HCI UART protocol H4 registered
[    1.619998] Bluetooth: HCI UART protocol BCSP registered
[    1.625336] Bluetooth: HCI UART protocol LL registered
[    1.630482] Bluetooth: HCI UART protocol ATH3K registered
[    1.635904] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.642264] Bluetooth: HCI UART protocol Broadcom registered
[    1.647959] Bluetooth: HCI UART protocol QCA registered
[    1.655070] sdhci: Secure Digital Host Controller Interface driver
[    1.661270] sdhci: Copyright(c) Pierre Ossman
[    1.665827] Synopsys Designware Multimedia Card Interface Driver
[    1.672394] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.678834] mmc0: CQHCI version 5.10
[    1.682839] mmc1: CQHCI version 5.10
[    1.686888] mmc2: CQHCI version 5.10
[    1.722293] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.732199] ledtrig-cpu: registered to indicate activity on CPUs
[    1.739408] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.746179] caam 30900000.crypto: job rings = 2, qi = 0
[    1.761269] caam algorithms registered in /proc/crypto
[    1.767138] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.776667] caam_jr 30901000.jr: registering rng-caam
[    1.785369] caam-snvs 30370000.caam-snvs: can't get snvs clock
[    1.791259] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.799724] usbcore: registered new interface driver usbhid
[    1.805325] usbhid: USB HID core driver
[    1.811586] No fsl,qman node
[    1.814491] Freescale USDPAA process driver
[    1.818681] fsl-usdpaa: no region found
[    1.822541] Freescale USDPAA process IRQ driver
[    1.830895] optee: probing for conduit method from DT.
[    1.836068] optee: revision 3.7 (7a49776d)
[    1.837489] optee: dynamic shared memory is enabled
[    1.846654] optee: initialized driver
[    1.851776] hantrodec 0 : module inserted. Major = 236
[    1.857470] hantrodec 1 : module inserted. Major = 236
[    1.863548] hx280enc: module inserted. Major <235>
[    1.864030] mmc2: Command Queue Engine enabled
[    1.872286] wm8524-codec audio-codec: Failed to get mute line: -517
[    1.872849] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.886243] mmcblk2: mmc2:0001 DG4016 14.7 GiB  
[    1.890953] mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB
[    1.897036] mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB
[    1.903411] mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB, chardev (237:0)
[    1.913593]  mmcblk2: p1
[    1.921448] fsl-micfil-dai 30080000.micfil: GET IRQ: 16
[    1.926699] fsl-micfil-dai 30080000.micfil: GET IRQ: 17
[    1.931944] fsl-micfil-dai 30080000.micfil: GET IRQ: 18
[    1.937188] fsl-micfil-dai 30080000.micfil: GET IRQ: 19
[    1.948366] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 30090000.spdif mapping ok
[    1.955987] imx-spdif sound-spdif: ASoC: no DMI vendor name!
[    1.964815] imx-ak4458 sound-ak4458: ASoC: failed to init link ak4458: -517
[    1.971795] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-517)
[    1.979181] debugfs: Directory '30080000.micfil' with parent 'imx-audio-micfil' already present!
[    1.988069] imx-micfil sound-micfil: snd-soc-dummy-dai <-> 30080000.micfil mapping ok
[    1.995911] imx-micfil sound-micfil: ASoC: no DMI vendor name!
[    2.003871] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.014244] NET: Registered protocol family 26
[    2.019255] NET: Registered protocol family 10
[    2.024697] Segment Routing with IPv6
[    2.028405] NET: Registered protocol family 17
[    2.033320] Bluetooth: RFCOMM TTY layer initialized
[    2.038227] Bluetooth: RFCOMM socket layer initialized
[    2.043399] Bluetooth: RFCOMM ver 1.11
[    2.047158] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.052477] Bluetooth: BNEP filters: protocol multicast
[    2.057713] Bluetooth: BNEP socket layer initialized
[    2.062681] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.068607] Bluetooth: HIDP socket layer initialized
[    2.073614] 8021q: 802.1Q VLAN Support v1.8
[    2.077819] lib80211: common routines for IEEE802.11 drivers
[    2.083589] 9pnet: Installing 9P2000 support
[    2.087889] tsn generic netlink module v1 init...
[    2.092668] Key type dns_resolver registered
[    2.097910] registered taskstats version 1
[    2.102018] Loading compiled-in X.509 certificates
[    2.127804] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    2.136638] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[    2.165134] ldo6: supplied by regulator-dummy
[    2.170280] i2c i2c-0: IMX I2C adapter registered
[    2.176191] adv7511 1-003d: 1-003d supply avdd not found, using dummy regulator
[    2.183567] adv7511 1-003d: 1-003d supply dvdd not found, using dummy regulator
[    2.190925] adv7511 1-003d: 1-003d supply pvdd not found, using dummy regulator
[    2.198292] adv7511 1-003d: 1-003d supply a2vdd not found, using dummy regulator
[    2.205727] adv7511 1-003d: 1-003d supply v3p3 not found, using dummy regulator
[    2.213081] adv7511 1-003d: 1-003d supply v1p2 not found, using dummy regulator
[    2.221229] adv7511 1-003d: Probe failed. Remote port 'mipi_dsi@32e10000' disabled
[    2.230679] i2c i2c-1: IMX I2C adapter registered
[    2.236516] pca953x 2-0020: using no AI
[    2.242710] ak4458 2-0010: Failed to request supplies: -517
[    2.248610] ak4458 2-0012: Failed to request supplies: -517
[    2.254460] ak5558 2-0013: Failed to request supplies: -517
[    2.260350] ak4458 2-0011: Failed to request supplies: -517
[    2.266248] ov5640_mipi 2-003c: No sensor reset pin available
[    2.272036] ov5640_mipi 2-003c: 2-003c supply DOVDD not found, using dummy regulator
[    2.279841] ov5640_mipi 2-003c: 2-003c supply DVDD not found, using dummy regulator
[    2.287542] ov5640_mipi 2-003c: 2-003c supply AVDD not found, using dummy regulator
[    2.308964] ov5640_mipi 2-003c: Read reg error: reg=300a
[    2.314286] ov5640_mipi 2-003c: Camera is not found
[    2.319331] i2c i2c-2: IMX I2C adapter registered
[    2.325397] imx6q-pcie 33800000.pcie: couldn't get pcie-phy
[    2.326092] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.331085] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    2.337610] [drm] No driver support for vblank timestamp query.
[    2.337683] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    2.347002] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    2.353343] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    2.361917] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    2.369692] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    2.376096] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.383494] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -19
[    2.391822] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    2.399165] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    2.422395] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 0
[    2.432652] imx_usb 32e40000.usb: No over current polarity defined
[    2.438898] imx_usb 32e40000.usb: 32e40000.usb supply vbus not found, using dummy regulator
[    2.451562] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[    2.464014] mmc0: CQHCI version 5.10
[    2.498241] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    2.506427] mmc1: CQHCI version 5.10
[    2.510077] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.513014] imx6q-pcie 33800000.pcie: PCIe PLL locked after 20 us.
[    2.517232] random: fast init done
[    2.549377] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.559081] debugfs: Directory '30020000.sai' with parent 'bt-sco-audio' already present!
[    2.567413] asoc-simple-card sound-bt-sco: bt-sco-pcm <-> 30020000.sai mapping ok
[    2.574935] asoc-simple-card sound-bt-sco: ASoC: no DMI vendor name!
[    2.581348] debugfs: File 'Playback' in directory 'dapm' already present!
[    2.588166] debugfs: File 'Capture' in directory 'dapm' already present!
[    2.598070] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[    2.603880] debugfs: Directory '30030000.sai' with parent 'wm8524-audio' already present!
[    2.612178] asoc-simple-card sound-wm8524: wm8524-hifi <-> 30030000.sai mapping ok
[    2.619789] asoc-simple-card sound-wm8524: ASoC: no DMI vendor name!
[    2.633267] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[    2.638796] imx-ak4458 sound-ak4458: ASoC: failed to init link ak4458: -517
[    2.645785] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-517)
[    2.655165] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    2.663891] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[    2.669408] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    2.678544] mmc0: queuing unknown CIS tuple 0x14 (0 bytes)
[    2.701006] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[    2.706553] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[    2.712091] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[    2.717614] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    3.015739] ak4458 2-0010: ASoC: failed to probe component -6
[    3.021623] imx-ak4458 sound-ak4458: ASoC: failed to instantiate card -6
[    3.028417] imx-ak4458 sound-ak4458: snd_soc_register_card failed (-6)
[    3.038629] 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.043169] mmc1: host does not support reading read-only switch, assuming write-enable
[    3.058841] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:01 UTC (1)
[    3.068482] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.080886] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.087650] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.094899] ALSA device list:
[    3.096288] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.099252]   #0: imx-spdif
[    3.109793]   #1: imx-audio-micfil
[    3.113207]   #2: bt-sco-audio
[    3.116263]   #3: wm8524-audio
[    3.172648] mmc1: new ultra high speed DDR50 SDHC card at address e624
[    3.180412] mmcblk1: mmc1:e624 SU16G 14.8 GiB  
[    3.193719]  mmcblk1: p1 p2
[    3.522110] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.527816] imx6q-pcie 33800000.pcie: failed to initialize host
[    3.533754] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    3.558728] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.566939] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    3.574615] devtmpfs: mounted
[    3.578627] Freeing unused kernel memory: 2816K
[    3.583228] Run /sbin/init as init process
INIT: version 2.96 booting
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Starting udev
[    3.911810] udevd[262]: starting version 3.2.9
[    3.938426] random: udevd: uninitialized urandom read (16 bytes read)
[    3.945596] random: udevd: uninitialized urandom read (16 bytes read)
[    3.952954] random: udevd: uninitialized urandom read (16 bytes read)
[    3.983631] udevd[263]: starting eudev-3.2.9
[    4.061197] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware
[    4.061234] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware
[    4.079145] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    4.089778] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    4.180707] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[    4.333245] qca9377: loading out-of-tree module taints kernel.
[    4.431975] qca9377: loading driver v4.5.24.4
[    4.436739] hifDeviceInserted: Dumping clocks (50000000,400000000)
[    4.442993] AR6000: Set async interrupt delay clock as 2.
[    4.587585] AR6000: configuration opcode 3 is not used for Linux SDIO stack  
[    4.598653] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[    5.137761] HIF Interrupt processing is SYNC ONLY
[    5.142482] AR6000: configuration opcode 7 is only used for RTOS systems, not Linux systems
[    5.150865] AR6000: configuration opcode 5 is not used for Linux SDIO stack  
[    5.161235] +HWT
[    5.168929] -HWT
[    5.172024] MAILBOX SWAP Service is enabled!
[    5.176319] Reduced Tx Complete service is enabled!
[    5.183719] HTCConnectService, host indicate support b2b bundle
[    5.191627] HTCConnectService, firmware decide to disabled b2b bundle
[    5.198073] HTC Service:0x0300 ep:1 TX flow control disabled
[    5.204434] HTCConnectService, host indicate support b2b bundle
[    5.214381] HTCConnectService, firmware decide to disabled b2b bundle
[    5.236549] target uses HTT version 3.53; host uses 3.28
[    5.242007] Host SW:4.5.24.4, FW:0.0.0.23, HW:QCA93x7_REV1_1
[    5.247890] ol_pktlog_init: pktlogmod_init successfull
[    5.253155] ath_hif_sdio: HIF (Atheros/multi-bss)
[    5.257940] qca9377: driver loaded in 828000
[    5.298178] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    5.707824] urandom_read: 4 callbacks suppressed
[    5.707831] random: dd: uninitialized urandom read (512 bytes read)
[    5.811537] Atheros 8031 ethernet 30be0000.ethernet-1:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[   11.417755] 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
linux-firmware-ath10k-20200817-r0.noarch
root@imx8mmevk:~# cd /lib/firmware/
LICENSE.QualcommAtheros_ath10k  ath10k/                         qca/                            qca9377/                        regulatory.db                   regulatory.db.p7s               wlan/

I noticed that my image size jumped form 329M to 621M so thought that was interesting.

Smoking sstate & tmp and trying build again with:


IMAGE_INSTALL_append = " firmware-imx-sdma-imx7d firmware-imx-epdc"

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