Advertisement
Guest User

Untitled

a guest
Jan 5th, 2024
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.31 KB | None | 0 0
  1. &uart4 {
  2. pinctrl-names = "default";
  3. pinctrl-0 = <&pinctrl_uart4>;
  4. assigned-clocks = <&clk IMX8MM_CLK_UART4>;
  5. assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
  6. status = "okay";
  7. };
  8.  
  9. IOmux
  10.  
  11. pinctrl_uart4: uart4grp {
  12. fsl,pins = <
  13. MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX 0x140
  14. MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX 0x140
  15. >;
  16. };
  17.  
  18. result after boot
  19. Starting kernel ...
  20.  
  21. [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  22. [ 0.000000] Linux version 5.15.71-bsp-yocto-nxp-i.mx8mm-pd23.1.0 (oe-user@oe-host) (aarch64-phytec-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Dec 5 09:20:38 UTC 2023
  23. [ 0.000000] Machine model: PHYTEC phyBOARD-Polis-i.MX8MM RDK
  24. [ 0.000000] efi: UEFI not found.
  25. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000098000000, size 640 MiB
  26. [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
  27. [ 0.000000] NUMA: No NUMA configuration found
  28. [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
  29. [ 0.000000] NUMA: NODE_DATA [mem 0x97bc7800-0x97bc9fff]
  30. [ 0.000000] Zone ranges:
  31. [ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
  32. [ 0.000000] DMA32 empty
  33. [ 0.000000] Normal empty
  34. [ 0.000000] Movable zone start for each node
  35. [ 0.000000] Early memory node ranges
  36. [ 0.000000] node 0: [mem 0x0000000040000000-0x0000000055ffffff]
  37. [ 0.000000] node 0: [mem 0x0000000058000000-0x00000000bfffffff]
  38. [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
  39. [ 0.000000] On node 0, zone DMA: 8192 pages in unavailable ranges
  40. [ 0.000000] psci: probing for conduit method from DT.
  41. [ 0.000000] psci: PSCIv1.1 detected in firmware.
  42. [ 0.000000] psci: Using standard PSCI v0.2 function IDs
  43. [ 0.000000] psci: Trusted OS migration not required
  44. [ 0.000000] psci: SMC Calling Convention v1.2
  45. [ 0.000000] percpu: Embedded 20 pages/cpu s43288 r8192 d30440 u81920
  46. [ 0.000000] Detected VIPT I-cache on CPU0
  47. [ 0.000000] CPU features: detected: GIC system register CPU interface
  48. [ 0.000000] CPU features: detected: ARM erratum 845719
  49. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 507904
  50. [ 0.000000] Policy zone: DMA
  51. [ 0.000000] Kernel command line: console=ttymxc2,115200 root=/dev/mmcblk2p2 fsck.repair=yes rootwait rw
  52. [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
  53. [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  54. [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  55. [ 0.000000] Memory: 1335904K/2064384K available (19584K kernel code, 1660K rwdata, 7480K rodata, 3072K init, 558K bss, 73120K reserved, 655360K cma-reserved)
  56. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  57. [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
  58. [ 0.000000] rcu: RCU event tracing is enabled.
  59. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
  60. [ 0.000000] Trampoline variant of Tasks RCU enabled.
  61. [ 0.000000] Tracing variant of Tasks RCU enabled.
  62. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  63. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  64. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  65. [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
  66. [ 0.000000] GICv3: 128 SPIs implemented
  67. [ 0.000000] GICv3: 0 Extended SPIs implemented
  68. [ 0.000000] GICv3: Distributor has no Range Selector support
  69. [ 0.000000] Root IRQ handler: gic_handle_irq
  70. [ 0.000000] GICv3: 16 PPIs implemented
  71. [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
  72. [ 0.000000] ITS: No ITS available, not enabling LPIs
  73. [ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
  74. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
  75. [ 0.000000] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
  76. [ 0.000435] Console: colour dummy device 80x25
  77. [ 0.000507] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
  78. [ 0.000521] pid_max: default: 32768 minimum: 301
  79. [ 0.000576] LSM: Security Framework initializing
  80. [ 0.000671] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  81. [ 0.000686] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  82. [ 0.002247] rcu: Hierarchical SRCU implementation.
  83. [ 0.003377] EFI services will not be available.
  84. [ 0.003597] smp: Bringing up secondary CPUs ...
  85. [ 0.004113] Detected VIPT I-cache on CPU1
  86. [ 0.004144] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
  87. [ 0.004192] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  88. [ 0.004682] Detected VIPT I-cache on CPU2
  89. [ 0.004705] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
  90. [ 0.004729] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  91. [ 0.005169] Detected VIPT I-cache on CPU3
  92. [ 0.005191] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
  93. [ 0.005216] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  94. [ 0.005270] smp: Brought up 1 node, 4 CPUs
  95. [ 0.005299] SMP: Total of 4 processors activated.
  96. [ 0.005307] CPU features: detected: 32-bit EL0 Support
  97. [ 0.005312] CPU features: detected: 32-bit EL1 Support
  98. [ 0.005320] CPU features: detected: CRC32 instructions
  99. [ 0.013474] CPU: All CPU(s) started at EL2
  100. [ 0.013514] alternatives: patching kernel code
  101. [ 0.014827] devtmpfs: initialized
  102. [ 0.022492] KASLR disabled due to lack of seed
  103. [ 0.022648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  104. [ 0.022669] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
  105. [ 0.043120] pinctrl core: initialized pinctrl subsystem
  106. [ 0.043703] DMI not present or invalid.
  107. [ 0.044403] NET: Registered PF_NETLINK/PF_ROUTE protocol family
  108. [ 0.049811] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
  109. [ 0.050266] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
  110. [ 0.050632] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
  111. [ 0.051273] thermal_sys: Registered thermal governor 'step_wise'
  112. [ 0.051283] thermal_sys: Registered thermal governor 'power_allocator'
  113. [ 0.051518] cpuidle: using governor menu
  114. [ 0.051748] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  115. [ 0.051857] ASID allocator initialised with 65536 entries
  116. [ 0.052881] Serial: AMBA PL011 UART driver
  117. [ 0.052944] imx mu driver is registered.
  118. [ 0.052964] imx rpmsg driver is registered.
  119. [ 0.064685] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
  120. [ 0.075525] platform 32e10000.mipi_dsi: Fixing up cyclic dependency with 32e00000.lcdif
  121. [ 0.097802] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
  122. [ 0.097826] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
  123. [ 0.097835] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  124. [ 0.097844] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
  125. [ 0.099032] cryptd: max_cpu_qlen set to 1000
  126. [ 0.102221] ACPI: Interpreter disabled.
  127. [ 0.104061] iommu: Default domain type: Translated
  128. [ 0.104076] iommu: DMA domain TLB invalidation policy: strict mode
  129. [ 0.104236] vgaarb: loaded
  130. [ 0.104520] SCSI subsystem initialized
  131. [ 0.104863] usbcore: registered new interface driver usbfs
  132. [ 0.104904] usbcore: registered new interface driver hub
  133. [ 0.104931] usbcore: registered new device driver usb
  134. [ 0.106229] mc: Linux media interface: v0.10
  135. [ 0.106257] videodev: Linux video capture interface: v2.00
  136. [ 0.106330] pps_core: LinuxPPS API ver. 1 registered
  137. [ 0.106337] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  138. [ 0.106353] PTP clock support registered
  139. [ 0.106507] EDAC MC: Ver: 3.0.0
  140. [ 0.107588] FPGA manager framework
  141. [ 0.107669] Advanced Linux Sound Architecture Driver Initialized.
  142. [ 0.108201] Bluetooth: Core ver 2.22
  143. [ 0.108230] NET: Registered PF_BLUETOOTH protocol family
  144. [ 0.108236] Bluetooth: HCI device and connection manager initialized
  145. [ 0.108248] Bluetooth: HCI socket layer initialized
  146. [ 0.108256] Bluetooth: L2CAP socket layer initialized
  147. [ 0.108271] Bluetooth: SCO socket layer initialized
  148. [ 0.109138] clocksource: Switched to clocksource arch_sys_counter
  149. [ 0.109299] VFS: Disk quotas dquot_6.6.0
  150. [ 0.109348] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  151. [ 0.109513] pnp: PnP ACPI: disabled
  152. [ 0.115467] NET: Registered PF_INET protocol family
  153. [ 0.115633] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
  154. [ 0.116645] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
  155. [ 0.116706] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
  156. [ 0.116721] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
  157. [ 0.116833] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
  158. [ 0.117079] TCP: Hash tables configured (established 16384 bind 16384)
  159. [ 0.117208] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
  160. [ 0.117259] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
  161. [ 0.117405] NET: Registered PF_UNIX/PF_LOCAL protocol family
  162. [ 0.117789] RPC: Registered named UNIX socket transport module.
  163. [ 0.117796] RPC: Registered udp transport module.
  164. [ 0.117802] RPC: Registered tcp transport module.
  165. [ 0.117806] RPC: Registered tcp NFSv4.1 backchannel transport module.
  166. [ 0.118524] PCI: CLS 0 bytes, default 64
  167. [ 0.119174] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  168. [ 0.119854] kvm [1]: IPA Size Limit: 40 bits
  169. [ 0.121442] kvm [1]: GICv3: no GICV resource entry
  170. [ 0.121450] kvm [1]: disabling GICv2 emulation
  171. [ 0.121464] kvm [1]: GIC system register CPU interface enabled
  172. [ 0.121554] kvm [1]: vgic interrupt IRQ9
  173. [ 0.121678] kvm [1]: Hyp mode initialized successfully
  174. [ 0.125077] Initialise system trusted keyrings
  175. [ 0.125298] workingset: timestamp_bits=42 max_order=19 bucket_order=0
  176. [ 0.131047] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  177. [ 0.131608] NFS: Registering the id_resolver key type
  178. [ 0.131668] Key type id_resolver registered
  179. [ 0.131676] Key type id_legacy registered
  180. [ 0.131747] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  181. [ 0.131755] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
  182. [ 0.131778] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
  183. [ 0.132184] 9p: Installing v9fs 9p2000 file system support
  184. [ 0.167843] Key type asymmetric registered
  185. [ 0.167853] Asymmetric key parser 'x509' registered
  186. [ 0.167915] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
  187. [ 0.168014] io scheduler mq-deadline registered
  188. [ 0.168022] io scheduler kyber registered
  189. [ 0.174535] EINJ: ACPI disabled.
  190. [ 0.183434] mxs-dma 33000000.dma-controller: initialized
  191. [ 0.185009] SoC: i.MX8MM revision 1.0
  192. [ 0.185623] Bus freq driver module loaded
  193. [ 0.191449] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  194. [ 0.193826] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 41, base_baud = 5000000) is a IMX
  195. [ 0.194339] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 42, base_baud = 1500000) is a IMX
  196. [ 1.194624] printk: console [ttymxc2] enabled
  197. [ 1.199525] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 43, base_baud = 5000000) is a IMX
  198. [ 1.208435] serial serial0: tty port ttymxc1 registered
  199. [ 1.214101] Internal error: synchronous external abort: 96000210 [#1] PREEMPT SMP
  200. [ 1.221588] Modules linked in:
  201. [ 1.224648] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.71-bsp-yocto-nxp-i.mx8mm-pd23.1.0 #1
  202. [ 1.233351] Hardware name: PHYTEC phyBOARD-Polis-i.MX8MM RDK (DT)
  203. [ 1.239445] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  204. [ 1.246410] pc : imx_uart_probe+0x320/0x7e0
  205. [ 1.250607] lr : imx_uart_probe+0x310/0x7e0
  206. [ 1.254797] sp : ffff800009febb50
  207. [ 1.258109] x29: ffff800009febb60 x28: 0000000000000000 x27: ffff800009a904c0
  208. [ 1.265255] x26: ffff000000b5b880 x25: 00000000fffffffa x24: 00000000fffffffa
  209. [ 1.272399] x23: ffff0000001fd010 x22: 000000000000002f x21: ffff0000001fd000
  210. [ 1.279541] x20: 0000000000000000 x19: ffff000000870880 x18: 0000000000000001
  211. [ 1.286685] x17: 647561625f657361 x16: 62202c3334203d20 x15: 0000000000000000
  212. [ 1.293832] x14: ffffffffffffffff x13: 0000000000000038 x12: 0101010101010101
  213. [ 1.300973] x11: 0000000000000010 x10: 0101010101010101 x9 : 0000000000000000
  214. [ 1.308115] x8 : ffff000000b5b980 x7 : 0000000000000000 x6 : ffff000000088000
  215. [ 1.315260] x5 : 00000000000000c0 x4 : 0000000000000000 x3 : 0000000000000000
  216. [ 1.322404] x2 : 0000000000000000 x1 : ffff80000a740080 x0 : 0000000000000000
  217. [ 1.329550] Call trace:
  218. [ 1.331998] imx_uart_probe+0x320/0x7e0
  219. [ 1.335837] platform_probe+0x68/0xe0
  220. [ 1.339507] really_probe.part.0+0x9c/0x30c
  221. [ 1.343697] __driver_probe_device+0x98/0x144
  222. [ 1.348056] driver_probe_device+0xc8/0x15c
  223. [ 1.352244] __driver_attach+0x80/0x18c
  224. [ 1.356082] bus_for_each_dev+0x74/0xd4
  225. [ 1.359923] driver_attach+0x24/0x30
  226. [ 1.363502] bus_add_driver+0x108/0x1fc
  227. [ 1.367342] driver_register+0x78/0x130
  228. [ 1.371180] __platform_driver_register+0x28/0x34
  229. [ 1.375887] imx_uart_init+0x3c/0x64
  230. [ 1.379472] do_one_initcall+0x54/0x1c0
  231. [ 1.383314] kernel_init_freeable+0x20c/0x290
  232. [ 1.387677] kernel_init+0x24/0x12c
  233. [ 1.391176] ret_from_fork+0x10/0x20
  234. [ 1.394759] Code: 2a0003f4 350018a0 f9400a61 91020021 (b9400021)
  235. [ 1.400869] ---[ end trace 228b927c20927752 ]---
  236. [ 1.405531] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
  237. [ 1.413189] SMP: stopping secondary CPUs
  238. [ 1.417116] Kernel Offset: disabled
  239. [ 1.420604] CPU features: 0x00002001,20000846
  240. [ 1.424963] Memory Limit: none
  241. [ 1.428017] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
  242.  
  243.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement