iMX7 V1.1B stuck at "starting kernel"

@mortolaniEST
I’m creating a new ticket for the issue you reported here.
The reason for that is although the problem description seems similar, I’m positive it’s not the same issue because that one only occurred on iMX7 V1.1A.

Now, you mentioned that you’re seeing Colibri iMX7 V1.1B modules get stuck in “starting kernel”.
Do you have any info on what the module is doing when it gets stuck? You mentioned here that you saw it after a reboot. Is it only after a normal reboot that you notice this issue, or are there other conditions as well?
When did you start noticing this behavior? Was there any change that could be associated with this?

What version of our BSP are you basing your build on? Could you post the dmesg output from a working module that’s running your image?
What happens if you boot one of the stuck modules into recovery mode? Does it boot OK? Could you post the dmesg output in this case as well?

Hi @rafael.tx,

about the situations when it happend, we are collecting the experiences from our Service Engineers.
I can already say that they have been isolated cases and not something that suddenly started to happen.
I should mention that it happened only on systems in the field. None of the systems used/tested at our facilities have ever shown such issue.

Our image is based on BSP 3.0.

dmesg from a working board running our image is:

Using username "root".
root@test-rd:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.170-3.0.4+gbaa6c24240a4 (oe-user@oe-host) (gcc                                                                                      version 8.2.0 (GCC)) #1 SMP Mon Mar 27 12:15:11 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                                                     n cache
[    0.000000] OF: fdt: Machine model: Toradex Colibri iMX7D 1GB (eMMC) on Colib                                                                                     ri Evaluation Board V3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0xac000000, size 320                                                                                      MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id share                                                                                     d-dma-pool
[    0.000000] On node 0 totalpages: 261888
[    0.000000] free_area_init_node: node 0, pgdat 80d57a80, node_mem_map ab75a00                                                                                     0
[    0.000000]   Normal zone: 2048 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 261888 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] pcpu-alloc: s30924 r8192 d22324 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: ip=off root=PARTUUID=0e5a2cdd-02 ro rootfsty                                                                                     pe=ext4 rootwait console=tty1 console=ttymxc0,115200n8 consoleblank=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 696876K/1047552K available (8192K kernel code, 353K rwdat                                                                                     a, 2432K rodata, 1024K init, 393K bss, 22996K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xc0800000 - 0xff800000   (1008 MB)
                   lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x80900000   (9184 kB)
                     .init : 0x80c00000 - 0x80d00000   (1024 kB)
                     .data : 0x80d00000 - 0x80d58720   ( 354 kB)
                      .bss : 0x80d5a000 - 0x80dbc4d0   ( 394 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    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.000008] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 21990                                                                                     23255500ns
[    0.000020] Switching to timer-based delay loop, resolution 125ns
[    0.000346] Ignoring duplicate/late registration of read_current_timer delay
[    0.000365] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,                                                                                      max_idle_ns: 637086815595 ns
[    0.002041] Console: colour dummy device 80x30
[    0.002485] console [tty1] enabled
[    0.002513] Calibrating delay loop (skipped), value calculated using timer fr                                                                                     equency.. 16.00 BogoMIPS (lpj=80000)
[    0.002543] pid_max: default: 32768 minimum: 301
[    0.002688] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002716] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003359] CPU: Testing write buffer coherency: ok
[    0.004020] Setting up static identity map for 0x80100000 - 0x80100060
[    0.004166] Hierarchical SRCU implementation.
[    0.004736] smp: Bringing up secondary CPUs ...
[    0.005538] smp: Brought up 1 node, 2 CPUs
[    0.005563] SMP: Total of 2 processors activated (32.00 BogoMIPS).
[    0.005580] CPU: All CPU(s) started in SVC mode.
[    0.006364] devtmpfs: initialized
[    0.015836] random: get_random_u32 called from bucket_table_alloc+0x100/0x230                                                                                      with crng_init=0
[    0.016296] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7                                                                                      rev 5
[    0.016563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                     x_idle_ns: 19112604462750000 ns
[    0.016602] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.028168] pinctrl core: initialized pinctrl subsystem
[    0.029181] NET: Registered protocol family 16
[    0.034899] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.035914] cpuidle: using governor menu
[    0.042685] vdd1p0d: supplied by regulator-dummy
[    0.043177] vdd1p2: supplied by regulator-dummy
[    0.045741] DDR type is DDR3!
[    0.052348] imx7d_enet_clk_sel: fec-18: failed to get enet_out clock, assumin                                                                                     g ext. clock source
[    0.052432] imx7d_enet_clk_sel: fec-18: found enet_out clock, assuming intern                                                                                     al clock source
[    0.052589] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                                                      registers.
[    0.052614] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.052889] imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl drive                                                                                     r
[    0.053522] imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.055551] MU is ready for cross core communication!
[    0.055768] platform 30800000.aips-bus: coherent DMA mask is unset
[    0.056296] virtio_rpmsg_bus virtio0: rpmsg host is online
[    0.056503] imx rpmsg driver is registered.
[    0.057363] MU is ready for cross core communication!
[    0.075348] VCC_USB[1-4]: supplied by 5V
[    0.076081] SCSI subsystem initialized
[    0.076299] usbcore: registered new interface driver usbfs
[    0.076376] usbcore: registered new interface driver hub
[    0.076484] usbcore: registered new device driver usb
[    0.076697] usb_phy_generic 30800000.aips-bus:usbphynop1: 30800000.aips-bus:u                                                                                     sbphynop1 supply vcc not found, using dummy regulator
[    0.077020] usb_phy_generic 30800000.aips-bus:usbphynop2: 30800000.aips-bus:u                                                                                     sbphynop2 supply vcc not found, using dummy regulator
[    0.078206] i2c i2c-0: IMX I2C adapter registered
[    0.078236] i2c i2c-0: can't use DMA, using PIO instead.
[    0.078429] Linux video capture interface: v2.00
[    0.078499] pps_core: LinuxPPS API ver. 1 registered
[    0.078518] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                                                     tti <giometti@linux.it>
[    0.078556] PTP clock support registered
[    0.078794] Advanced Linux Sound Architecture Driver Initialized.
[    0.080037] clocksource: Switched to clocksource arch_sys_counter
[    0.080240] VFS: Disk quotas dquot_6.6.0
[    0.080317] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.088211] NET: Registered protocol family 2
[    0.088849] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.088954] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.089108] TCP: Hash tables configured (established 8192 bind 8192)
[    0.089217] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.089282] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.089461] NET: Registered protocol family 1
[    0.089866] RPC: Registered named UNIX socket transport module.
[    0.089889] RPC: Registered udp transport module.
[    0.089904] RPC: Registered tcp transport module.
[    0.089919] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.091803] Bus freq driver module loaded
[    0.092839] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.097534] NFS: Registering the id_resolver key type
[    0.097587] Key type id_resolver registered
[    0.097603] Key type id_legacy registered
[    0.097629] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.098149] ntfs: driver 2.1.32 [Flags: R/W].
[    0.098429] fuse init (API version 7.26)
[    0.104698] Key type asymmetric registered
[    0.104755] io scheduler noop registered
[    0.104771] io scheduler deadline registered
[    0.104951] io scheduler cfq registered (default)
[    0.104972] io scheduler mq-deadline registered
[    0.104988] io scheduler kyber registered
[    0.109295] mxs-dma 33000000.dma-apbh: initialized
[    0.111597] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 52, base_baud                                                                                      = 1500000) is a IMX
[    0.829087] console [ttymxc0] enabled
[    0.833427] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 53, base_baud                                                                                      = 1500000) is a IMX
[    0.849862] loop: module loaded
[    0.868561] libphy: Fixed MDIO Bus: probed
[    0.875725] pps pps0: new PPS source ptp0
[    0.881500] libphy: fec_enet_mii_bus: probed
[    0.887148] fec 30be0000.ethernet eth0: registered PHC device 0
[    0.893366] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.899912] ehci-mxc: Freescale On-Chip EHCI Host driver
[    0.905431] usbcore: registered new interface driver usb-storage
[    0.911564] usbcore: registered new interface driver usbserial
[    0.917442] usbcore: registered new interface driver usbserial_generic
[    0.924030] usbserial: USB Serial support registered for generic
[    0.930096] usbcore: registered new interface driver cp210x
[    0.935702] usbserial: USB Serial support registered for cp210x
[    0.941696] usbcore: registered new interface driver ftdi_sio
[    0.947479] usbserial: USB Serial support registered for FTDI USB Serial Devi                                                                                     ce
[    0.954858] usbcore: registered new interface driver pl2303
[    0.960508] usbserial: USB Serial support registered for pl2303
[    0.967466] usbmisc_imx 30b10200.usbmisc: 30b10200.usbmisc supply vbus-wakeup                                                                                      not found, using dummy regulator
[    0.977693] usbmisc_imx 30b30200.usbmisc: 30b30200.usbmisc supply vbus-wakeup                                                                                      not found, using dummy regulator
[    0.987926] usbmisc_imx 30b20200.usbmisc: 30b20200.usbmisc supply vbus-wakeup                                                                                      not found, using dummy regulator
[    1.002014] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.006952] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.040053] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.046208] hub 1-0:1.0: USB hub found
[    1.050011] hub 1-0:1.0: 1 port detected
[    1.057993] input: AD7879 Touchscreen as /devices/soc0/soc/30800000.aips-bus/                                                                                     30a20000.i2c/i2c-0/0-002c/input/input0
[    1.069442] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    1.075807] i2c /dev entries driver
[    1.079698] IR NEC protocol handler initialized
[    1.084270] IR RC5(x/sz) protocol handler initialized
[    1.089334] IR RC6 protocol handler initialized
[    1.093886] IR JVC protocol handler initialized
[    1.098427] IR Sony protocol handler initialized
[    1.103064] IR SANYO protocol handler initialized
[    1.107777] IR Sharp protocol handler initialized
[    1.112506] IR MCE Keyboard/mouse protocol handler initialized
[    1.118350] IR XMP protocol handler initialized
[    1.124832] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[    1.132257] sdhci: Secure Digital Host Controller Interface driver
[    1.138459] sdhci: Copyright(c) Pierre Ossman
[    1.142863] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.210084] mmc0: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using A                                                                                     DMA
[    1.223686] caam 30900000.caam: ERA source: CCBVID.
[    1.229583] caam 30900000.caam: device ID = 0x0a16030000000000 (Era 8)
[    1.236169] caam 30900000.caam: job rings = 3, qi = 0, dpaa2 = no
[    1.255410] caam algorithms registered in /proc/crypto
[    1.263840] caam_jr 30901000.jr0: registering rng-caam
[    1.269214] caam 30900000.caam: caam pkc algorithms registered in /proc/crypt                                                                                     o
[    1.277444] hidraw: raw HID events driver (C) Jiri Kosina
[    1.283080] usbcore: registered new interface driver usbhid
[    1.288693] usbhid: USB HID core driver
[    1.296773] coresight-etm3x 3007c000.etm: ETM 3.5 initialized
[    1.302901] coresight-etm3x 3007d000.etm: ETM 3.5 initialized
[    1.311090] Netfilter messages via NETLINK v0.30.
[    1.315825] nfnl_acct: registering with nfnetlink.
[    1.320853] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.327210] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    1.334100] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.341001] NET: Registered protocol family 10
[    1.346366] Segment Routing with IPv6
[    1.350162] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.355672] NET: Registered protocol family 17
[    1.360256] Bridge firewalling registered
[    1.364334] 8021q: 802.1Q VLAN Support v1.8
[    1.368692] Key type dns_resolver registered
[    1.379337] Registering SWP/SWPB emulation handler
[    1.384636] registered taskstats version 1
[    1.390261] mmc0: new HS200 MMC card at address 0001
[    1.396162] mmcblk0: mmc0:0001 S40004 3.64 GiB
[    1.401408] mmcblk0boot0: mmc0:0001 S40004 partition 1 4.00 MiB
[    1.408059] mmcblk0boot1: mmc0:0001 S40004 partition 2 4.00 MiB
[    1.414305] mmcblk0rpmb: mmc0:0001 S40004 partition 3 4.00 MiB, chardev (248:                                                                                     0)
[    1.425573]  mmcblk0: p1 p2
[    1.432394] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.437313] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    1.470102] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.476162] hub 2-0:1.0: USB hub found
[    1.479957] hub 2-0:1.0: 1 port detected
[    1.485075] (NULL device *): hwmon_device_register() is deprecated. Please co                                                                                     nvert the driver to use hwmon_device_register_with_info().
[    1.497527] imx_thermal 30000000.aips-bus:tempmon: Extended Commercial CPU te                                                                                     mperature grade - max:105C critical:105C passive:95C
[    1.510736] hctosys: unable to open rtc device (rtc0)
[    1.526733] 3.3V: disabling
[    1.529556] ALSA device list:
[    1.532551]   No soundcards found.
[    1.547924] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                                                     pts: (null)
[    1.556147] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.565897] devtmpfs: mounted
[    1.569936] Freeing unused kernel memory: 1024K
[    1.601807] random: fast init done
[    1.630094] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    1.710719] systemd[1]: System time before build time, advancing clock.
[    1.727065] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SEL                                                                                     INUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +                                                                                     XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybr                                                                                     id)
[    1.749044] systemd[1]: Detected architecture arm.
[    1.793553] systemd[1]: Set hostname to <test-rd>.
[    1.837317] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.869436] scsi host0: usb-storage 1-1:1.0
[    2.141924] random: systemd: uninitialized urandom read (16 bytes read)
[    2.148649] systemd[1]: Reached target Remote File Systems.
[    2.180344] random: systemd: uninitialized urandom read (16 bytes read)
[    2.187036] systemd[1]: Reached target Swap.
[    2.220232] random: systemd: uninitialized urandom read (16 bytes read)
[    2.227471] systemd[1]: Listening on Journal Socket.
[    2.269611] systemd[1]: Mounting Temporary Directory (/tmp)...
[    2.303206] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
[    2.312683] random: crng init done
[    2.316370] random: 2 urandom warning(s) missed due to ratelimiting
[    2.328787] systemd[1]: Starting File System Check on Root Device...
[    2.360434] systemd[1]: Reached target Host and Network Name Lookups.
[    2.896230] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    3.126361] systemd-journald[180]: Received request to flush runtime journal                                                                                      from PID 1
[    3.407047] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ                                                                                     : 0 ANSI: 6
[    3.431040] sd 0:0:0:0: [sda] 61702144 512-byte logical blocks: (31.6 GB/29.4                                                                                      GiB)
[    3.445130] sd 0:0:0:0: [sda] Write Protect is off
[    3.449972] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.460256] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, does                                                                                     n't support DPO or FUA
[    3.513302]  sda: sda1
[    3.526604] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.550935] CAN device driver interface
[    3.574320] flexcan 30a00000.can: 30a00000.can supply xceiver not found, usin                                                                                     g dummy regulator
[    3.582187] sgtl5000 0-000a: sgtl5000 revision 0x11
[    3.610121] flexcan 30a00000.can: device registered (reg_base=f5a00000, irq=5                                                                                     6)
[    3.663952] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[    3.690829] imx-sdma 30bd0000.sdma: loaded firmware 4.2
[    3.697031] asoc-simple-card sound: sgtl5000 <-> 308a0000.sai mapping ok
[    4.664272] FAT-fs (sda1): Volume was not properly unmounted. Some data may b                                                                                     e corrupt. Please run fsck.
[    5.119919] Bluetooth: Core ver 2.22
[    5.131525] NET: Registered protocol family 31
[    5.136014] Bluetooth: HCI device and connection manager initialized
[    5.147091] Bluetooth: HCI socket layer initialized
[    5.155135] Bluetooth: L2CAP socket layer initialized
[    5.162003] Bluetooth: SCO socket layer initialized
[    5.336982] using random self ethernet address
[    5.342482] using random host ethernet address
[    5.590653] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micre                                                                                     l KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[    5.616952] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.685690] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    5.698838] usb0: MAC 00:14:2d:ff:ff:ff
[    6.539887] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[    7.691151] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow cont                                                                                     rol rx/tx
[    7.699130] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.924861] IPv6: ADDRCONF(NETDEV_UP): can0: link is not ready
[    9.932236] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[   14.332179] can: controller area network core (rev 20170425 abi 9)
[   14.344501] NET: Registered protocol family 29
[   14.357010] can: raw protocol (rev 20170425)
[  203.633763] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  203.871272] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micre                                                                                     l KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[  203.893677] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  205.962503] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow cont                                                                                     rol rx/tx
[  205.970500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1374.727100] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1374.963129] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micre                                                                                     l KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[ 1374.976373] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1377.024239] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow cont                                                                                     rol rx/tx
[ 1377.032235] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1641.259657] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1641.506182] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micre                                                                                     l KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[ 1641.522645] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1643.627185] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow cont                                                                                     rol rx/tx
[ 1643.635174] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@test-rd:~#

Output of the stuck under test is:



U-Boot 2019.07-3.0.4+g26d926eda0 (May 22 2023 - 11:48:05 +0000)

CPU:   Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 25C
Reset cause: POR
DRAM:  1 GiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7 Dual 1GB (eMMC) V1.1B, Serial# 07199425
SEC0: RNG instantiated
Net:   FEC0
Hit any key to stop autoboot:  0
Booting from internal eMMC chip...
Invalid FAT entry
8192 bytes read in 624 ms (12.7 KiB/s)
## Starting auxiliary core stack = 0x00000000, pc = 0x1FFF80BD...
46694 bytes read in 453 ms (100.6 KiB/s)
5937640 bytes read in 2066 ms (2.7 MiB/s)
Kernel image @ 0x81000000 [ 0x000000 - 0x5a99e8 ]
## Flattened Device Tree blob at 82000000
   Booting using the fdt blob at 0x82000000
   Using Device Tree in place at 82000000, end 8200e665

Starting kernel ...

and this is the output after putting it into recovery mode:



U-Boot 2016.11-1.8.0+g07edca0bb8 (Oct 19 2018 - 13:34:21 +0000)

CPU:   Freescale i.MX7D rev1.3 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 32C
Reset cause: POR
DRAM:  512 MiB
PMIC:  RN5T567 LSIVER=0x01 OTPVER=0x0d
MMC:   FSL_SDHC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri iMX7S/D
Model: Toradex Colibri iMX7D
Serial Downloader recovery mode, using sdp command
Net:   FEC0
Error: FEC0 address not set.

Hit any key to stop autoboot:  0
SDP: initialize...
SDP: handle requests...
Downloading file of size 21374744 to 0x82100000... done
Downloading file of size 300 to 0x82000000... done
Jumping to header at 0x82000000
Header Tag is not a IMX image
## Loading kernel from FIT Image at 82100000 ...
   Using 'config@imx7d-emmc' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux Kernel 4.1
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x821000dc
     Data Size:    5308472 Bytes = 5.1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x81000000
     Entry Point:  0x81000000
     Hash algo:    md5
     Hash value:   910fc4bfe6325ca943e1af0824a15957
   Verifying Hash Integrity ... md5+ OK
## Loading ramdisk from FIT Image at 82100000 ...
   Using 'config@imx7d-emmc' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  SquashFS RAMdisk
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x826101fc
     Data Size:    15929344 Bytes = 15.2 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    md5
     Hash value:   bf0a406d6fa572c48f601023ca980bd2
   Verifying Hash Integrity ... md5+ OK
## Loading fdt from FIT Image at 82100000 ...
   Using 'config@imx7d-emmc' configuration
   Trying 'fdt@imx7d-emmc' fdt subimage
     Description:  Colibri iMX7 Dual 1GB eMMC Device Tree
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x83557184
     Data Size:    45372 Bytes = 44.3 KiB
     Architecture: ARM
     Hash algo:    md5
     Hash value:   b34140d2c5400aef8309a51bb7486030
   Verifying Hash Integrity ... md5+ OK
   Booting using the fdt blob at 0x83557184
   Loading Kernel Image ... OK
   Loading Device Tree to 8fff1000, end 8ffff13b ... OK

Starting kernel ...

[    0.349457] fec 30be0000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[    0.365550] imx_usb 30b10000.usb: Can't register ci_hdrc platform device, err=-517
Running /etc/rc.local...
Colibri-iMX7_ToradexEasyInstaller_1.8-20181019

Welcome to Toradex Easy Installer

This is a Linux based installer for Toradex modules. Currently the
installer does not have a serial console interface. You can use the
Toradex Easy Installer through any of the available display interfaces
using USB mouse/keyboard or via network using VNC. Use:
  # ip addr show eth0
to display the Ethernet IP address or use USB RNDIS at IP 192.168.11.1.

/ #

Marco

We should try to enable earlycon on the failing module to try to get more information of where the linux kernel is getting stuck. Could you add

earlycon=ec_imx6q,0x30860000

to your kernel command line arguments and see if it prints something other than just “Starting Kernel”?

Your dmesg output on the previous post seems to be cut at the end of the columns. I couldn’t
tell what serial you’re using for the console. The example I gave you on top is putting the address for uart1, which is associated with ttymxc0 that we use by default on our carrier boards. If you’re using a different serial on your carrier board you’ll have to change the serial address.

Sorry about that.
Below the new dmesg output:

Using username "root".
root@test-rd:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.170-3.0.4+gbaa6c24240a4 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Mon Mar 27 12:15:11 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Toradex Colibri iMX7D 1GB (eMMC) on Colibri Evaluation Board V3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 261888
[    0.000000] free_area_init_node: node 0, pgdat 80d57a80, node_mem_map ab75a000
[    0.000000]   Normal zone: 2048 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 261888 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] pcpu-alloc: s30924 r8192 d22324 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: ip=off root=PARTUUID=0e5a2cdd-02 ro rootfstype=ext4 rootwait console=tty1 console=ttymxc0,115200n8 consoleblank=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 696876K/1047552K available (8192K kernel code, 353K rwdata, 2432K rodata, 1024K init, 393K bss, 22996K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xc0800000 - 0xff800000   (1008 MB)
                   lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x80900000   (9184 kB)
                     .init : 0x80c00000 - 0x80d00000   (1024 kB)
                     .data : 0x80d00000 - 0x80d58720   ( 354 kB)
                      .bss : 0x80d5a000 - 0x80dbc4d0   ( 394 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    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.000008] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000020] Switching to timer-based delay loop, resolution 125ns
[    0.000346] Ignoring duplicate/late registration of read_current_timer delay
[    0.000365] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.002041] Console: colour dummy device 80x30
[    0.002485] console [tty1] enabled
[    0.002513] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
[    0.002543] pid_max: default: 32768 minimum: 301
[    0.002688] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002716] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003359] CPU: Testing write buffer coherency: ok
[    0.004020] Setting up static identity map for 0x80100000 - 0x80100060
[    0.004166] Hierarchical SRCU implementation.
[    0.004736] smp: Bringing up secondary CPUs ...
[    0.005538] smp: Brought up 1 node, 2 CPUs
[    0.005563] SMP: Total of 2 processors activated (32.00 BogoMIPS).
[    0.005580] CPU: All CPU(s) started in SVC mode.
[    0.006364] devtmpfs: initialized
[    0.015836] random: get_random_u32 called from bucket_table_alloc+0x100/0x230 with crng_init=0
[    0.016296] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.016563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016602] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.028168] pinctrl core: initialized pinctrl subsystem
[    0.029181] NET: Registered protocol family 16
[    0.034899] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.035914] cpuidle: using governor menu
[    0.042685] vdd1p0d: supplied by regulator-dummy
[    0.043177] vdd1p2: supplied by regulator-dummy
[    0.045741] DDR type is DDR3!
[    0.052348] imx7d_enet_clk_sel: fec-18: failed to get enet_out clock, assuming ext. clock source
[    0.052432] imx7d_enet_clk_sel: fec-18: found enet_out clock, assuming internal clock source
[    0.052589] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.052614] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.052889] imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
[    0.053522] imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.055551] MU is ready for cross core communication!
[    0.055768] platform 30800000.aips-bus: coherent DMA mask is unset
[    0.056296] virtio_rpmsg_bus virtio0: rpmsg host is online
[    0.056503] imx rpmsg driver is registered.
[    0.057363] MU is ready for cross core communication!
[    0.075348] VCC_USB[1-4]: supplied by 5V
[    0.076081] SCSI subsystem initialized
[    0.076299] usbcore: registered new interface driver usbfs
[    0.076376] usbcore: registered new interface driver hub
[    0.076484] usbcore: registered new device driver usb
[    0.076697] usb_phy_generic 30800000.aips-bus:usbphynop1: 30800000.aips-bus:usbphynop1 supply vcc not found, using dummy regulator
[    0.077020] usb_phy_generic 30800000.aips-bus:usbphynop2: 30800000.aips-bus:usbphynop2 supply vcc not found, using dummy regulator
[    0.078206] i2c i2c-0: IMX I2C adapter registered
[    0.078236] i2c i2c-0: can't use DMA, using PIO instead.
[    0.078429] Linux video capture interface: v2.00
[    0.078499] pps_core: LinuxPPS API ver. 1 registered
[    0.078518] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.078556] PTP clock support registered
[    0.078794] Advanced Linux Sound Architecture Driver Initialized.
[    0.080037] clocksource: Switched to clocksource arch_sys_counter
[    0.080240] VFS: Disk quotas dquot_6.6.0
[    0.080317] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.088211] NET: Registered protocol family 2
[    0.088849] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.088954] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.089108] TCP: Hash tables configured (established 8192 bind 8192)
[    0.089217] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.089282] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.089461] NET: Registered protocol family 1
[    0.089866] RPC: Registered named UNIX socket transport module.
[    0.089889] RPC: Registered udp transport module.
[    0.089904] RPC: Registered tcp transport module.
[    0.089919] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.091803] Bus freq driver module loaded
[    0.092839] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.097534] NFS: Registering the id_resolver key type
[    0.097587] Key type id_resolver registered
[    0.097603] Key type id_legacy registered
[    0.097629] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.098149] ntfs: driver 2.1.32 [Flags: R/W].
[    0.098429] fuse init (API version 7.26)
[    0.104698] Key type asymmetric registered
[    0.104755] io scheduler noop registered
[    0.104771] io scheduler deadline registered
[    0.104951] io scheduler cfq registered (default)
[    0.104972] io scheduler mq-deadline registered
[    0.104988] io scheduler kyber registered
[    0.109295] mxs-dma 33000000.dma-apbh: initialized
[    0.111597] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 52, base_baud = 1500000) is a IMX
[    0.829087] console [ttymxc0] enabled
[    0.833427] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 53, base_baud = 1500000) is a IMX
[    0.849862] loop: module loaded
[    0.868561] libphy: Fixed MDIO Bus: probed
[    0.875725] pps pps0: new PPS source ptp0
[    0.881500] libphy: fec_enet_mii_bus: probed
[    0.887148] fec 30be0000.ethernet eth0: registered PHC device 0
[    0.893366] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.899912] ehci-mxc: Freescale On-Chip EHCI Host driver
[    0.905431] usbcore: registered new interface driver usb-storage
[    0.911564] usbcore: registered new interface driver usbserial
[    0.917442] usbcore: registered new interface driver usbserial_generic
[    0.924030] usbserial: USB Serial support registered for generic
[    0.930096] usbcore: registered new interface driver cp210x
[    0.935702] usbserial: USB Serial support registered for cp210x
[    0.941696] usbcore: registered new interface driver ftdi_sio
[    0.947479] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.954858] usbcore: registered new interface driver pl2303
[    0.960508] usbserial: USB Serial support registered for pl2303
[    0.967466] usbmisc_imx 30b10200.usbmisc: 30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    0.977693] usbmisc_imx 30b30200.usbmisc: 30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    0.987926] usbmisc_imx 30b20200.usbmisc: 30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.002014] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.006952] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.040053] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.046208] hub 1-0:1.0: USB hub found
[    1.050011] hub 1-0:1.0: 1 port detected
[    1.057993] input: AD7879 Touchscreen as /devices/soc0/soc/30800000.aips-bus/30a20000.i2c/i2c-0/0-002c/input/input0
[    1.069442] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    1.075807] i2c /dev entries driver
[    1.079698] IR NEC protocol handler initialized
[    1.084270] IR RC5(x/sz) protocol handler initialized
[    1.089334] IR RC6 protocol handler initialized
[    1.093886] IR JVC protocol handler initialized
[    1.098427] IR Sony protocol handler initialized
[    1.103064] IR SANYO protocol handler initialized
[    1.107777] IR Sharp protocol handler initialized
[    1.112506] IR MCE Keyboard/mouse protocol handler initialized
[    1.118350] IR XMP protocol handler initialized
[    1.124832] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[    1.132257] sdhci: Secure Digital Host Controller Interface driver
[    1.138459] sdhci: Copyright(c) Pierre Ossman
[    1.142863] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.210084] mmc0: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
[    1.223686] caam 30900000.caam: ERA source: CCBVID.
[    1.229583] caam 30900000.caam: device ID = 0x0a16030000000000 (Era 8)
[    1.236169] caam 30900000.caam: job rings = 3, qi = 0, dpaa2 = no
[    1.255410] caam algorithms registered in /proc/crypto
[    1.263840] caam_jr 30901000.jr0: registering rng-caam
[    1.269214] caam 30900000.caam: caam pkc algorithms registered in /proc/crypto
[    1.277444] hidraw: raw HID events driver (C) Jiri Kosina
[    1.283080] usbcore: registered new interface driver usbhid
[    1.288693] usbhid: USB HID core driver
[    1.296773] coresight-etm3x 3007c000.etm: ETM 3.5 initialized
[    1.302901] coresight-etm3x 3007d000.etm: ETM 3.5 initialized
[    1.311090] Netfilter messages via NETLINK v0.30.
[    1.315825] nfnl_acct: registering with nfnetlink.
[    1.320853] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.327210] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    1.334100] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.341001] NET: Registered protocol family 10
[    1.346366] Segment Routing with IPv6
[    1.350162] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.355672] NET: Registered protocol family 17
[    1.360256] Bridge firewalling registered
[    1.364334] 8021q: 802.1Q VLAN Support v1.8
[    1.368692] Key type dns_resolver registered
[    1.379337] Registering SWP/SWPB emulation handler
[    1.384636] registered taskstats version 1
[    1.390261] mmc0: new HS200 MMC card at address 0001
[    1.396162] mmcblk0: mmc0:0001 S40004 3.64 GiB
[    1.401408] mmcblk0boot0: mmc0:0001 S40004 partition 1 4.00 MiB
[    1.408059] mmcblk0boot1: mmc0:0001 S40004 partition 2 4.00 MiB
[    1.414305] mmcblk0rpmb: mmc0:0001 S40004 partition 3 4.00 MiB, chardev (248:0)
[    1.425573]  mmcblk0: p1 p2
[    1.432394] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.437313] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    1.470102] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.476162] hub 2-0:1.0: USB hub found
[    1.479957] hub 2-0:1.0: 1 port detected
[    1.485075] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.497527] imx_thermal 30000000.aips-bus:tempmon: Extended Commercial CPU temperature grade - max:105C critical:105C passive:95C
[    1.510736] hctosys: unable to open rtc device (rtc0)
[    1.526733] 3.3V: disabling
[    1.529556] ALSA device list:
[    1.532551]   No soundcards found.
[    1.547924] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.556147] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.565897] devtmpfs: mounted
[    1.569936] Freeing unused kernel memory: 1024K
[    1.601807] random: fast init done
[    1.630094] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    1.710719] systemd[1]: System time before build time, advancing clock.
[    1.727065] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    1.749044] systemd[1]: Detected architecture arm.
[    1.793553] systemd[1]: Set hostname to <test-rd>.
[    1.837317] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.869436] scsi host0: usb-storage 1-1:1.0
[    2.141924] random: systemd: uninitialized urandom read (16 bytes read)
[    2.148649] systemd[1]: Reached target Remote File Systems.
[    2.180344] random: systemd: uninitialized urandom read (16 bytes read)
[    2.187036] systemd[1]: Reached target Swap.
[    2.220232] random: systemd: uninitialized urandom read (16 bytes read)
[    2.227471] systemd[1]: Listening on Journal Socket.
[    2.269611] systemd[1]: Mounting Temporary Directory (/tmp)...
[    2.303206] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
[    2.312683] random: crng init done
[    2.316370] random: 2 urandom warning(s) missed due to ratelimiting
[    2.328787] systemd[1]: Starting File System Check on Root Device...
[    2.360434] systemd[1]: Reached target Host and Network Name Lookups.
[    2.896230] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    3.126361] systemd-journald[180]: Received request to flush runtime journal from PID 1
[    3.407047] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 6
[    3.431040] sd 0:0:0:0: [sda] 61702144 512-byte logical blocks: (31.6 GB/29.4 GiB)
[    3.445130] sd 0:0:0:0: [sda] Write Protect is off
[    3.449972] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.460256] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.513302]  sda: sda1
[    3.526604] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.550935] CAN device driver interface
[    3.574320] flexcan 30a00000.can: 30a00000.can supply xceiver not found, using dummy regulator
[    3.582187] sgtl5000 0-000a: sgtl5000 revision 0x11
[    3.610121] flexcan 30a00000.can: device registered (reg_base=f5a00000, irq=56)
[    3.663952] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[    3.690829] imx-sdma 30bd0000.sdma: loaded firmware 4.2
[    3.697031] asoc-simple-card sound: sgtl5000 <-> 308a0000.sai mapping ok
[    4.664272] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.119919] Bluetooth: Core ver 2.22
[    5.131525] NET: Registered protocol family 31
[    5.136014] Bluetooth: HCI device and connection manager initialized
[    5.147091] Bluetooth: HCI socket layer initialized
[    5.155135] Bluetooth: L2CAP socket layer initialized
[    5.162003] Bluetooth: SCO socket layer initialized
[    5.336982] using random self ethernet address
[    5.342482] using random host ethernet address
[    5.590653] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[    5.616952] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.685690] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    5.698838] usb0: MAC 00:14:2d:ff:ff:ff
[    6.539887] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[    7.691151] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    7.699130] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.924861] IPv6: ADDRCONF(NETDEV_UP): can0: link is not ready
[    9.932236] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[   14.332179] can: controller area network core (rev 20170425 abi 9)
[   14.344501] NET: Registered protocol family 29
[   14.357010] can: raw protocol (rev 20170425)
[  203.633763] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  203.871272] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[  203.893677] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  205.962503] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  205.970500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1374.727100] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1374.963129] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[ 1374.976373] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1377.024239] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 1377.032235] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1641.259657] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1641.506182] Micrel KSZ8041 30be0000.ethernet-1:00: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[ 1641.522645] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1643.627185] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 1643.635174] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@test-rd:~#

Marco

You’re using the default serial. Adding

earlycon=ec_imx6q,0x30860000

to your kernel command line arguments should be enough.