iMX8MM Mini custom board boot problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MM Mini custom board boot problem

1,375 Views
raymondman
Contributor II

The custom board does not use the same Ethernet PHY and Wifi/BT modules as the EVK. So I suspect some systemd services make it reboot before the login prompt is shown.

1. Can anyone advise which systemd services must be kept and how to remove those unwanted systemd services? Or is it not systemd problem?

2. I try to enter the rescue mode in order to load the minimum services by appending "single" to mmcargs as below,

mmcargs=setenv bootargs ${jh_clk} console=${console} root=${mmcroot} single

which in turn appending it to bootcmd. However, the system still runs some systemd services and then reboots. How can I enter the rescue mode?

Below is the log,

U-Boot 2021.04-5.10.35-2.0.0+g3463140881 (Jan 22 2022 - 17:21:05 +0800)

alloc space exhausted
CPU: i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 44C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 1 GiB
tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
SEC0: RNG instantiated

BuildInfo:
- ATF 2a26786

switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net: Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 2  0
u-boot=>  setenv boot_targets mmc2
u-boot=> run bootcmd
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
41191 bytes read in 1 ms (39.3 MiB/s)
78MMC: no card present
Scanning disk mmc@30b50000.blk...
Disk mmc@30b50000.blk not ready
Scanning disk mmc@30b60000.blk...
Found 3 disks
No EFI system partition
Could not get PHY for FEC0: addr 0
BootOrder not defined
EFI boot manager: Cannot load any image
Running BSP bootcmd ...
switch to partitions #0, OK
mmc2(part 0) is current device
Failed to load 'boot.scr'
29487616 bytes read in 91 ms (309 MiB/s)
Booting from mmc ...
setenv bootargs ${jh_clk} console=${console} root=${mmcroot} single
41191 bytes read in 2 ms (19.6 MiB/s)
Moving Image from 0x40480000 to 0x40600000, end=422b0000
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 000000004300d0e6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.35-lts-5.10.y+g9a681162727b (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1.20210209) #1 SMP PREEMPT Tue Jun 8 14:42:10 UTC 2021
[ 0.000000] Machine model: FSL i.MX8MM EVK board
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma'
[ 0.000000] cma: Reserved 32 MiB at 0x000000007e000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x7ddd1700-0x7ddd3fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 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 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 23 pages/cpu s56280 r8192 d29736 u94208
[ 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] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk2p2 rootwait rw single
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 965864K/1048576K available (17536K kernel code, 1468K rwdata, 6780K rodata, 2880K init, 545K bss, 49944K reserved, 32768K 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of 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: 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+0x330/0x4f4 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.000296] Console: colour dummy device 80x25
[ 0.000364] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[ 0.000377] pid_max: default: 32768 minimum: 301
[ 0.000443] LSM: Security Framework initializing
[ 0.000493] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000503] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001740] rcu: Hierarchical SRCU implementation.
[ 0.002567] EFI services will not be available.
[ 0.002733] smp: Bringing up secondary CPUs ...
[ 0.003080] Detected VIPT I-cache on CPU1
[ 0.003105] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.003150] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.003553] Detected VIPT I-cache on CPU2
[ 0.003572] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.003596] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.003959] Detected VIPT I-cache on CPU3
[ 0.003976] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.004000] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.004056] smp: Brought up 1 node, 4 CPUs
[ 0.004067] SMP: Total of 4 processors activated.
[ 0.004075] CPU features: detected: 32-bit EL0 Support
[ 0.004081] CPU features: detected: CRC32 instructions
[ 0.004089] CPU features: detected: 32-bit EL1 Support
[ 0.012421] CPU: All CPU(s) started at EL2
[ 0.012445] alternatives: patching kernel code
[ 0.013559] devtmpfs: initialized
[ 0.018920] KASLR disabled due to lack of seed
[ 0.019076] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.019090] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.020196] pinctrl core: initialized pinctrl subsystem
[ 0.020725] DMI not present or invalid.
[ 0.021112] NET: Registered protocol family 16
[ 0.028022] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.028925] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.029780] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.029874] audit: initializing netlink subsys (disabled)
[ 0.030110] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[ 0.030679] thermal_sys: Registered thermal governor 'step_wise'
[ 0.030683] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.030877] cpuidle: using governor menu
[ 0.031071] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.031152] ASID allocator initialised with 65536 entries
[ 0.031949] Serial: AMBA PL011 UART driver
[ 0.032006] imx mu driver is registered.
[ 0.032026] imx rpmsg driver is registered.
[ 0.054292] imx8mm-pinctrl 30330000.pinctrl: Invalid fsl,pins or pins property in node /soc@0/bus@30000000/pinctrl@30330000/sai1grp_dsd
[ 0.054316] imx8mm-pinctrl 30330000.pinctrl: Invalid fsl,pins or pins property in node /soc@0/bus@30000000/pinctrl@30330000/sai2grp
[ 0.054332] imx8mm-pinctrl 30330000.pinctrl: Invalid fsl,pins or pins property in node /soc@0/bus@30000000/pinctrl@30330000/sai3grp
[ 0.054348] imx8mm-pinctrl 30330000.pinctrl: Invalid fsl,pins or pins property in node /soc@0/bus@30000000/pinctrl@30330000/sai5grp
[ 0.054409] imx8mm-pinctrl 30330000.pinctrl: no fsl,pins and pins property in node /soc@0/bus@30000000/pinctrl@30330000/lexi-imx8mm-gpio
[ 0.054431] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.070499] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.070514] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.070520] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.070526] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.071411] cryptd: max_cpu_qlen set to 1000
[ 0.074276] ACPI: Interpreter disabled.
[ 0.074819] iommu: Default domain type: Translated
[ 0.074962] vgaarb: loaded
[ 0.075240] SCSI subsystem initialized
[ 0.075587] usbcore: registered new interface driver usbfs
[ 0.075622] usbcore: registered new interface driver hub
[ 0.075651] usbcore: registered new device driver usb
[ 0.076604] mc: Linux media interface: v0.10
[ 0.076634] videodev: Linux video capture interface: v2.00
[ 0.076701] pps_core: LinuxPPS API ver. 1 registered
[ 0.076708] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.076723] PTP clock support registered
[ 0.076856] EDAC MC: Ver: 3.0.0
[ 0.077752] FPGA manager framework
[ 0.077828] Advanced Linux Sound Architecture Driver Initialized.
[ 0.078400] Bluetooth: Core ver 2.22
[ 0.078429] NET: Registered protocol family 31
[ 0.078434] Bluetooth: HCI device and connection manager initialized
[ 0.078445] Bluetooth: HCI socket layer initialized
[ 0.078454] Bluetooth: L2CAP socket layer initialized
[ 0.078469] Bluetooth: SCO socket layer initialized
[ 0.079146] clocksource: Switched to clocksource arch_sys_counter
[ 0.079315] VFS: Disk quotas dquot_6.6.0
[ 0.079362] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.079518] pnp: PnP ACPI: disabled
[ 0.085105] NET: Registered protocol family 2
[ 0.085512] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.085537] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.085624] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.085741] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.085820] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.085848] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.085963] NET: Registered protocol family 1
[ 0.086259] RPC: Registered named UNIX socket transport module.
[ 0.086266] RPC: Registered udp transport module.
[ 0.086272] RPC: Registered tcp transport module.
[ 0.086279] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.086974] PCI: CLS 0 bytes, default 64
[ 0.087634] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.088194] kvm [1]: IPA Size Limit: 40 bits
[ 0.089523] kvm [1]: GICv3: no GICV resource entry
[ 0.089529] kvm [1]: disabling GICv2 emulation
[ 0.089548] kvm [1]: GIC system register CPU interface enabled
[ 0.089616] kvm [1]: vgic interrupt IRQ9
[ 0.089720] kvm [1]: Hyp mode initialized successfully
[ 0.092565] Initialise system trusted keyrings
[ 0.092695] workingset: timestamp_bits=42 max_order=18 bucket_order=0
[ 0.098221] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.098796] NFS: Registering the id_resolver key type
[ 0.098821] Key type id_resolver registered
[ 0.098827] Key type id_legacy registered
[ 0.098903] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.098910] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.098931] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.099295] 9p: Installing v9fs 9p2000 file system support
[ 0.134774] Key type asymmetric registered
[ 0.134783] Asymmetric key parser 'x509' registered
[ 0.134820] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.134828] io scheduler mq-deadline registered
[ 0.134833] io scheduler kyber registered
[ 0.139726] EINJ: ACPI disabled.
[ 0.148097] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.148113] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 0.155716] mxs-dma 33000000.dma-controller: initialized
[ 0.157450] Bus freq driver module loaded
[ 0.162769] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.164946] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 39, base_baud = 5000000) is a IMX
[ 0.165595] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 40, base_baud = 5000000) is a IMX
[ 0.166115] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 41, base_baud = 1500000) is a IMX
[ 1.209744] printk: console [ttymxc1] enabled
[ 1.216116] imx-drm 32c00000.bus:display-subsystem: no available port
[ 1.233113] loop: module loaded
[ 1.237222] megasas: 07.714.04.00-rc1
[ 1.242208] imx ahci driver is registered.
[ 1.249542] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[ 1.256456] spi-nor: probe of spi0.0 failed with error -2
[ 1.263120] libphy: Fixed MDIO Bus: probed
[ 1.268430] tun: Universal TUN/TAP device driver, 1.6
[ 1.274140] thunder_xcv, ver 1.0
[ 1.277431] thunder_bgx, ver 1.0
[ 1.280697] nicpf, ver 1.0
[ 1.284257] pps pps0: new PPS source ptp0
[ 1.293843] hclge is initializing
[ 1.297215] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.304453] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.309826] e1000: Intel(R) PRO/1000 Network Driver
[ 1.314709] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.320514] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.325516] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.331477] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.336883] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.342492] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.348764] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.354831] sky2: driver version 1.30
[ 1.359195] VFIO - User Level meta-driver version: 0.3
[ 1.366214] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.372763] ehci-pci: EHCI PCI platform driver
[ 1.377244] ehci-platform: EHCI generic platform driver
[ 1.382632] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.388835] ohci-pci: OHCI PCI platform driver
[ 1.393319] ohci-platform: OHCI generic platform driver
[ 1.399188] usbcore: registered new interface driver uas
[ 1.404547] usbcore: registered new interface driver usb-storage
[ 1.410631] usbcore: registered new interface driver usbserial_generic
[ 1.417182] usbserial: USB Serial support registered for generic
[ 1.423218] usbcore: registered new interface driver ftdi_sio
[ 1.428984] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.436321] usbcore: registered new interface driver usb_serial_simple
[ 1.442868] usbserial: USB Serial support registered for carelink
[ 1.448980] usbserial: USB Serial support registered for zio
[ 1.454657] usbserial: USB Serial support registered for funsoft
[ 1.460688] usbserial: USB Serial support registered for flashloader
[ 1.467060] usbserial: USB Serial support registered for google
[ 1.472999] usbserial: USB Serial support registered for libtransistor
[ 1.479547] usbserial: USB Serial support registered for vivopay
[ 1.485579] usbserial: USB Serial support registered for moto_modem
[ 1.491866] usbserial: USB Serial support registered for motorola_tetra
[ 1.498505] usbserial: USB Serial support registered for novatel_gps
[ 1.504879] usbserial: USB Serial support registered for hp4x
[ 1.510646] usbserial: USB Serial support registered for suunto
[ 1.516585] usbserial: USB Serial support registered for siemens_mpi
[ 1.522974] usbcore: registered new interface driver usb_ehset_test
[ 1.531641] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[ 1.546249] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[ 1.552493] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[ 1.561700] i2c /dev entries driver
[ 1.568049] Bluetooth: HCI UART driver ver 2.3
[ 1.572523] Bluetooth: HCI UART protocol H4 registered
[ 1.577697] Bluetooth: HCI UART protocol BCSP registered
[ 1.583036] Bluetooth: HCI UART protocol LL registered
[ 1.588198] Bluetooth: HCI UART protocol ATH3K registered
[ 1.593619] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.599967] Bluetooth: HCI UART protocol Broadcom registered
[ 1.605653] Bluetooth: HCI UART protocol QCA registered
[ 1.612283] sdhci: Secure Digital Host Controller Interface driver
[ 1.618483] sdhci: Copyright(c) Pierre Ossman
[ 1.623126] Synopsys Designware Multimedia Card Interface Driver
[ 1.629637] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.636519] mmc0: CQHCI version 5.10
[ 1.636760] mmc2: CQHCI version 5.10
[ 1.636918] mmc1: CQHCI version 5.10
[ 1.636932] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[ 1.640121] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified
[ 1.643700] sdhci-esdhc-imx 30b60000.mmc: voltage-ranges unspecified
[ 1.666636] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.673674] usbcore: registered new interface driver usbhid
[ 1.679266] usbhid: USB HID core driver
[ 1.688986] galcore: clk_get vg clock failed, disable vg!
[ 1.694691] Galcore version 6.4.3.p2.336687
[ 1.699051] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[ 1.726815] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu on minor 0
[ 1.735993] hantrodec 0 : module inserted. Major = 234
[ 1.741788] hantrodec 1 : module inserted. Major = 234
[ 1.747809] hx280enc: module inserted. Major <511>
[ 1.785673] NET: Registered protocol family 26
[ 1.790734] NET: Registered protocol family 10
[ 1.796865] Segment Routing with IPv6
[ 1.796977] mmc2: Command Queue Engine enabled
[ 1.800613] NET: Registered protocol family 17
[ 1.805026] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[ 1.810190] Bluetooth: RFCOMM TTY layer initialized
[ 1.816826] mmcblk2: mmc2:0001 AJTD4R 14.6 GiB
[ 1.820752] Bluetooth: RFCOMM socket layer initialized
[ 1.825377] mmcblk2boot0: mmc2:0001 AJTD4R partition 1 4.00 MiB
[ 1.830441] Bluetooth: RFCOMM ver 1.11
[ 1.836446] mmcblk2boot1: mmc2:0001 AJTD4R partition 2 4.00 MiB
[ 1.840095] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.846164] mmcblk2rpmb: mmc2:0001 AJTD4R partition 3 4.00 MiB, chardev (235:0)
[ 1.851325] Bluetooth: BNEP filters: protocol multicast
[ 1.859385] mmcblk2: p1 p2
[ 1.863867] Bluetooth: BNEP socket layer initialized
[ 1.871631] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.877569] Bluetooth: HIDP socket layer initialized
[ 1.882585] 8021q: 802.1Q VLAN Support v1.8
[ 1.886796] lib80211: common routines for IEEE802.11 drivers
[ 1.892573] 9pnet: Installing 9P2000 support
[ 1.896877] tsn generic netlink module v1 init...
[ 1.901670] Key type dns_resolver registered
[ 1.906218] registered taskstats version 1
[ 1.910336] Loading compiled-in X.509 certificates
[ 1.934121] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[ 1.942067] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator
[ 2.001505] nxp-pca9450 0-0025: pca9450a probed.
[ 2.006317] i2c i2c-0: IMX I2C adapter registered
[ 2.012075] i2c i2c-1: IMX I2C adapter registered
[ 2.017363] SoC: i.MX8MM revision 1.0
[ 2.021315] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[ 2.032961] ------------[ cut here ]------------
[ 2.037782] /soc@0/bus@30800000/spi@30830000/spi@0: buggy DT: spidev listed directly in DT
[ 2.046109] WARNING: CPU: 2 PID: 122 at drivers/spi/spidev.c:740 spidev_probe+0x198/0x220
[ 2.054283] Modules linked in:
[ 2.057342] CPU: 2 PID: 122 Comm: kworker/2:3 Not tainted 5.10.35-lts-5.10.y+g9a681162727b #1
[ 2.065863] Hardware name: FSL i.MX8MM EVK board (DT)
[ 2.070919] Workqueue: events deferred_probe_work_func
[ 2.076059] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[ 2.082063] pc : spidev_probe+0x198/0x220
[ 2.086071] lr : spidev_probe+0x198/0x220
[ 2.090078] sp : ffff800011ff37a0
[ 2.093391] x29: ffff800011ff37a0 x28: ffff0000053c2000
[ 2.098704] x27: 0000000000000001 x26: ffff800011b8e9a8
[ 2.104016] x25: 0000000000000000 x24: 000000000000000f
[ 2.109328] x23: ffff800011b9ee20 x22: 0000000000000000
[ 2.114640] x21: ffff800011b9ee00 x20: ffff0000053c2800
[ 2.119952] x19: 0000000000000000 x18: 0000000000000030
[ 2.125264] x17: 0000000000000000 x16: 0000000000000000
[ 2.130575] x15: ffff0000046de838 x14: 3030383033407375
[ 2.135888] x13: ffff800011ad1708 x12: 000000000000039c
[ 2.141200] x11: 0000000000000134 x10: ffff800011b29708
[ 2.146512] x9 : 00000000fffff000 x8 : ffff800011ad1708
[ 2.151824] x7 : ffff800011b29708 x6 : 0000000000000000
[ 2.157136] x5 : 0000000000000000 x4 : 0000000000000000
[ 2.162447] x3 : 00000000ffffffff x2 : ffff800011ad1680
[ 2.167760] x1 : ed5c62a1d2a02f00 x0 : 0000000000000000
[ 2.173072] Call trace:
[ 2.175519] spidev_probe+0x198/0x220
[ 2.179182] spi_drv_probe+0x84/0xe4
[ 2.182754] really_probe+0xe4/0x4c0
[ 2.186329] driver_probe_device+0x58/0xc0
[ 2.190424] __device_attach_driver+0xa8/0x10c
[ 2.194866] bus_for_each_drv+0x78/0xd0
[ 2.198700] __device_attach+0xd8/0x180
[ 2.202534] device_initial_probe+0x14/0x20
[ 2.206717] bus_probe_device+0x9c/0xa4
[ 2.210553] device_add+0x370/0x780
[ 2.214039] spi_add_device+0xf4/0x1e0
[ 2.217787] of_register_spi_device+0x1fc/0x38c
[ 2.222315] spi_register_controller+0x610/0x8c0
[ 2.226929] spi_bitbang_start+0x4c/0x80
[ 2.230853] spi_imx_probe+0x420/0x6a0
[ 2.234601] platform_drv_probe+0x54/0xb0
[ 2.238609] really_probe+0xe4/0x4c0
[ 2.242183] driver_probe_device+0x58/0xc0
[ 2.246279] __device_attach_driver+0xa8/0x10c
[ 2.250721] bus_for_each_drv+0x78/0xd0
[ 2.254555] __device_attach+0xd8/0x180
[ 2.258390] device_initial_probe+0x14/0x20
[ 2.262572] bus_probe_device+0x9c/0xa4
[ 2.266406] deferred_probe_work_func+0x80/0xc0
[ 2.270938] process_one_work+0x1cc/0x350
[ 2.274947] worker_thread+0x2bc/0x46c
[ 2.278695] kthread+0x154/0x160
[ 2.281923] ret_from_fork+0x10/0x30
[ 2.285497] ---[ end trace d019e593b14f64e7 ]---
[ 2.292192] pps pps0: new PPS source ptp0
[ 2.300368] fec 30be0000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.307201] fec 30be0000.ethernet: Using random MAC address: 6e:76:a0:e6:0d:9b
[ 2.315383] libphy: fec_enet_mii_bus: probed
[ 2.319730] mdio_bus 30be0000.ethernet-1: MDIO device at address 0 is missing.
[ 2.327406] fec 30be0000.ethernet eth0: registered PHC device 0
[ 2.342003] mmc1: CQHCI version 5.10
[ 2.342633] mmc0: CQHCI version 5.10
[ 2.342773] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.344584] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.345669] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[ 2.345895] ALSA device list:
[ 2.345900] No soundcards found.
[ 2.345987] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.345993] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 2.349237] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified
[ 2.357004] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[ 2.363549] sdhci-esdhc-imx 30b40000.mmc: allocated mmc-pwrseq
[ 2.403413] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 2.436647] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[ 2.448009] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.456180] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.462639] devtmpfs: mounted
[ 2.466388] Freeing unused kernel memory: 2880K
[ 2.475218] Run /sbin/init as init process
[ 2.484105] random: fast init done
[ 2.534211] systemd[1]: System time before build time, advancing clock.
[ 2.549263] systemd[1]: systemd 247.6+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -ZSTD -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[ 2.571833] systemd[1]: Detected architecture arm64.

Welcome to NXP i.MX Release Distro 5.10-hardknott (hardknott)!

[ 2.619709] systemd[1]: Set hostname to <imx8mmevk>.
[ 2.627053] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.633740] systemd[1]: Initializing machine ID from random generator.
[
U-Boot SPL 2021.04-5.10.35-2.0.0+g3463140881 (Jan 22 2022 - 17:21:05 +0800)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC2
NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.2_rc1-0-g2a2678646

0 Kudos
1 Reply

1,350 Views
raymondman
Contributor II

Use wic to remove some systemd services.

0 Kudos