cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP135D fails to boot while loading kernel

maxswjeon
Associate II
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.67 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT Wed Jan 24 06:48:36 UTC 2024
[    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: Altair :: Main Processor Unit of Avionics - UMi
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 64 MiB at 0xdc000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: root=PARTUUID=491f6117-415d-4f53-88c9-6e0de54deac6 earlyprintk rootwait rw loglevel=7   console=ttySTM0,115200
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 430540K/524288K available (12288K kernel code, 1276K rwdata, 3620K rodata, 1024K init, 190K bss, 28212K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 64.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xec2a6fa00, max_idle_ns: 440795202120 ns
[    0.000001] sched_clock: 56 bits at 64MHz, resolution 15ns, wraps every 2199023255546ns
[    0.008039] Switching to timer-based delay loop, resolution 15ns
[    0.014786] Console: colour dummy device 80x30
[    0.019302] Calibrating delay loop (skipped), value calculated using timer frequency.. 128.00 BogoMIPS (lpj=640000)
[    0.029805] pid_max: default: 32768 minimum: 301
[    0.034651] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.042026] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050802] CPU: Testing write buffer coherency: ok
[    0.057252] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.064012] rcu: Hierarchical SRCU implementation.
[    0.070282] devtmpfs: initialized
[    0.082906] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.090951] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100868] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.110467] pinctrl core: initialized pinctrl subsystem
[    0.117669] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.125735] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.133871] thermal_sys: Registered thermal governor 'step_wise'
[    0.134198] cpuidle: using governor menu
[    0.144431] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.152474] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.158684] Serial: AMBA PL011 UART driver
[    0.165142] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.172479] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.179646] stm32-pm-domain pm_domain: domains probed
[    0.198405] /soc/interrupt-controller@5000d000: bank0
[    0.203513] /soc/interrupt-controller@5000d000: bank1
[    0.208641] /soc/interrupt-controller@5000d000: bank2
[    0.234784] Kprobes globally optimized
[    0.247240] SCSI subsystem initialized
[    0.251982] usbcore: registered new interface driver usbfs
[    0.257549] usbcore: registered new interface driver hub
[    0.263235] usbcore: registered new device driver usb
[    0.268781] pps_core: LinuxPPS API ver. 1 registered
[    0.273876] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.283082] PTP clock support registered
[    0.287367] EDAC MC: Ver: 3.0.0
[    0.292012] Advanced Linux Sound Architecture Driver Initialized.
[    0.299830] clocksource: Switched to clocksource arch_sys_counter
[    0.366500] NET: Registered PF_INET protocol family
[    0.380121] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.388572] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.409900] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.417702] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.439940] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.447152] TCP: Hash tables configured (established 4096 bind 4096)
[    0.469963] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.476545] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.500162] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.510290] RPC: Registered named UNIX socket transport module.
[    0.516254] RPC: Registered udp transport module.
[    0.529847] RPC: Registered tcp transport module.
[    0.534575] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.550409] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.570160] Trying to unpack rootfs image as initramfs...
[    0.590103] Initialise system trusted keyrings
[    0.600028] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.633562] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660519] NFS: Registering the id_resolver key type
[    0.665680] Key type id_resolver registered
[    0.689965] Key type id_legacy registered
[    0.694228] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.729960] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.737610] ntfs: driver 2.1.32 [Flags: R/O].
[    0.770206] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.779925] fuse: init (API version 7.34)
[    0.800483] NET: Registered PF_ALG protocol family
[    0.805325] Key type asymmetric registered
[    0.809434] Asymmetric key parser 'x509' registered
[    0.840146] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.847592] io scheduler mq-deadline registered
[    0.879942] io scheduler kyber registered
[    0.911966] STM32 USART driver initialized
[    0.973158] brd: module loaded
[    1.003379] loop: module loaded
[    1.032738] CAN device driver interface
[    1.038227] PPP generic driver version 2.4.2
[    1.060226] PPP BSD Compression module registered
[    1.064966] PPP Deflate Compression module registered
[    1.089921] PPP MPPE Compression module registered
[    1.094760] NET: Registered PF_PPPOX protocol family
[    1.099782] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    1.150145] usbcore: registered new interface driver pegasus
[    1.155921] usbcore: registered new interface driver asix
[    1.180066] usbcore: registered new interface driver ax88179_178a
[    1.186250] usbcore: registered new interface driver cdc_ether
[    1.210104] usbcore: registered new interface driver smsc75xx
[    1.215948] usbcore: registered new interface driver smsc95xx
[    1.250156] usbcore: registered new interface driver net1080
[    1.255934] usbcore: registered new interface driver cdc_subset
[    1.290096] usbcore: registered new interface driver zaurus
[    1.295828] usbcore: registered new interface driver cdc_ncm
[    1.320085] usbcore: registered new interface driver qmi_wwan
[    1.326776] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.359982] ehci-platform: EHCI generic platform driver
[    1.365565] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.400241] ohci-platform: OHCI generic platform driver
[    1.406213] usbcore: registered new interface driver cdc_acm
[    1.431666] Freeing initrd memory: 3956K
[    1.435652] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.450011] usbcore: registered new interface driver cdc_wdm
[    1.455774] usbcore: registered new interface driver usb-storage
[    1.469973] usbcore: registered new interface driver option
[    1.475604] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.502689] i2c_dev: i2c /dev entries driver
[    1.519918] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    1.529002] stm32-cpufreq stm32-cpufreq: OPP-v2 not supported
[    1.550674] sdhci: Secure Digital Host Controller Interface driver
[    1.556891] sdhci: Copyright(c) Pierre Ossman
[    1.569840] Synopsys Designware Multimedia Card Interface Driver
[    1.576249] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.600576] ledtrig-cpu: registered to indicate activity on CPUs
[    1.607064] usbcore: registered new interface driver usbhid
[    1.619843] usbhid: USB HID core driver
[    1.625722] optee: probing for conduit method.
[    1.639860] optee: revision 3.16 (db1d9a1c)
[    1.640659] optee: Asynchronous notifications enabled
[    1.659859] optee: dynamic shared memory is enabled
[    1.670419] random: crng init done
[    1.674343] optee: initialized driver
[    1.691297] NET: Registered PF_PACKET protocol family
[    1.696410] can: controller area network core
[    1.709954] NET: Registered PF_CAN protocol family
[    1.714782] can: raw protocol
[    1.717762] can: broadcast manager protocol
[    1.739849] can: netlink gateway - max_hops=1
[    1.744843] Key type dns_resolver registered
[    1.749244] ThumbEE CPU extension supported.
[    1.759860] Registering SWP/SWPB emulation handler
[    1.770007] registered taskstats version 1
[    1.774145] Loading compiled-in X.509 certificates
[    1.793418] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    1.810053] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    1.851338] thermal thermal_zone0: binding zone cpu-thermal with cdev cpufreq-cpu0 failed:-22
[    1.876066] scmi-regulator scmi_dev.4: Regulator reg11 registered for domain [0]
[    1.890221] scmi-regulator scmi_dev.4: Regulator reg18 registered for domain [1]
[    1.897970] scmi-regulator scmi_dev.4: Regulator usb33 registered for domain [2]
[    1.923984] stm32_rtc 5c004000.rtc: rtc_ck is slow
[    2.029852] stm32_rtc 5c004000.rtc: Can't enter in init mode. Prescaler config failed.
[    2.037901] stm32_rtc: probe of 5c004000.rtc failed with error -110
[    2.080323] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOA bank added
[    2.087513] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOB bank added
[    2.110582] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOC bank added
[    2.117773] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOD bank added
[    2.140306] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOE bank added
[    2.147554] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOF bank added
[    2.160628] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOG bank added
[    2.180238] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOH bank added
[    2.190279] stm32mp135-pinctrl soc:pinctrl@50002000: GPIOI bank added
[    2.196810] stm32mp135-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized
[    2.222826] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    2.241814] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.260518] stm32-dma 48000000.dma-controller: no dma pool: can't use MDMA: 0
[    2.279852] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    2.287312] stm32-dma 48001000.dma-controller: no dma pool: can't use MDMA: 0
[    2.310970] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    2.319035] stm32-usart 4000f000.serial: interrupt mode for rx (no dma)
[    2.339848] stm32-usart 4000f000.serial: interrupt mode for tx (no dma)
[    2.346519] 4000f000.serial: ttySTM5 at MMIO 0x4000f000 (irq = 62, base_baud = 6531250) is a stm32-usart

 

I really do not get what hangs from now. Please help me.

1 ACCEPTED SOLUTION

Accepted Solutions
maxswjeon
Associate II

 

 

CLK_STGEN Should be HSE(24MHz). HSI(64MHz) is too fast to initialize RTC0

View solution in original post

1 REPLY 1
maxswjeon
Associate II

 

 

CLK_STGEN Should be HSE(24MHz). HSI(64MHz) is too fast to initialize RTC0