Other Parts Discussed in Thread: AM3352
Hi All,
I have observed the kernel getting crashed after booting into kernel.. please provide the way to boot in to linux kernel..
please let me know what i am missing..
Background: porting from 4.9.59 kernel to 5.10.100(8.2.0.24 sdk) i have attached logs..
please have a look
96924 bytes read in 18 ms (5.1 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe5000, end 8ffffa9b ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.100manu2-g7a7a3af903 (oe-user@oe-host) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 PREEMPT Mon Feb 13 03:00:32 UTC 2023
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 48 MiB at 0xbd000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x00000000afefffff]
[ 0.000000] HighMem [mem 0x00000000aff00000-0x00000000bfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000afefffff]
[ 0.000000] node 0: [mem 0x00000000b0000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260162
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=1b6e9d9c-02 rw rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 974832K/1047552K available (8192K kernel code, 655K rwdata, 2544K rodata, 1024K init, 267K bss, 23568K reserved, 49152K cma-reserved, 212992K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline 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] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] random: get_random_bytes called from start_kernel+0x310/0x4d0 with crng_init=0
[ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[ 0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000073] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000847] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[ 0.003659] Console: colour dummy device 80x30
[ 0.003823] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[ 0.070933] pid_max: default: 32768 minimum: 301
[ 0.071274] LSM: Security Framework initializing
[ 0.071462] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.071518] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.073476] CPU: Testing write buffer coherency: ok
[ 0.073626] CPU0: Spectre v2: using BPIALL workaround
[ 0.075490] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.075843] rcu: Hierarchical SRCU implementation.
[ 0.076847] devtmpfs: initialized
[ 0.113111] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.113700] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.113758] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.120885] pinctrl core: initialized pinctrl subsystem
[ 0.123236] NET: Registered protocol family 16
[ 0.128420] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.156941] l3-aon-clkctrl:0000:0: failed to disable
[ 0.159169] thermal_sys: Registered thermal governor 'fair_share'
[ 0.159196] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.159230] thermal_sys: Registered thermal governor 'step_wise'
[ 0.159253] thermal_sys: Registered thermal governor 'user_space'
[ 0.159997] cpuidle: using governor ladder
[ 0.160094] cpuidle: using governor menu
[ 2.560987] random: fast init done
[ 4.533457] hw-breakpoint: debug architecture 0x4 unsupported.
[ 14.800516] "cryptomgr_test" (28) uses obsolete ecb(arc4) skcipher
[ 14.962344] DRBG: Continuing without Jitter RNG
[ 15.081268] v1_8d: supplied by vbat
[ 15.082764] v3_3d: supplied by vbat
[ 15.083662] iommu: Default domain type: Translated
[ 15.086827] SCSI subsystem initialized
[ 15.088189] pps_core: LinuxPPS API ver. 1 registered
[ 15.088223] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 15.088291] PTP clock support registered
[ 15.088453] EDAC MC: Ver: 3.0.0
[ 15.092562] Bluetooth: Core ver 2.22
[ 15.092671] NET: Registered protocol family 31
[ 15.092700] Bluetooth: HCI device and connection manager initialized
[ 15.092737] Bluetooth: HCI socket layer initialized
[ 15.092771] Bluetooth: L2CAP socket layer initialized
[ 15.092803] Bluetooth: SCO socket layer initialized
[ 15.094171] clocksource: Switched to clocksource dmtimer
[ 15.115723] NET: Registered protocol family 2
[ 15.116308] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 15.119258] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 15.119383] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 15.119614] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 15.119837] TCP: Hash tables configured (established 8192 bind 8192)
[ 15.120140] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 15.120227] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 15.120520] NET: Registered protocol family 1
[ 15.124863] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 15.128034] Initialise system trusted keyrings
[ 15.128483] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 15.139720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 15.141729] ntfs: driver 2.1.32 [Flags: R/O].
[ 15.437279] Key type asymmetric registered
[ 15.437330] Asymmetric key parser 'x509' registered
[ 15.437501] bounce: pool size: 64 pages
[ 15.437636] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 15.437669] io scheduler mq-deadline registered
[ 15.437694] io scheduler kyber registered
[ 16.797979] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 17.119262] edma 49000000.dma: TI EDMA DMA engine driver
[ 17.239909] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[ 17.380974] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 17.389919] pinctrl-single 44e10800.pinmux: mux offset out of range: 0xfffff978 (0x238)
[ 17.389996] pinctrl-single 44e10800.pinmux: could not add functions for pinmux_uart0_pins 4294965624x
[ 17.390333] omap_uart 44e09000.serial: no wakeirq for uart0
[ 17.391514] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a OMAP UART0
[ 18.074715] printk: console [ttyO0] enabled
[ 18.093359] loop: module loaded
[ 18.120553] mousedev: PS/2 mouse device common for all mice
[ 18.127243] i2c /dev entries driver
[ 18.135253] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 18.143584] device-mapper: uevent: version 1.0.3
[ 18.149242] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 18.158272] Bluetooth: HCI UART driver ver 2.3
[ 18.163727] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
[ 18.172880] cpuidle: enable-method property 'ti,am3352' found operations
[ 18.185358] ledtrig-cpu: registered to indicate activity on CPUs
[ 18.199857] NET: Registered protocol family 10
[ 18.206998] Segment Routing with IPv6
[ 18.211145] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 18.219104] NET: Registered protocol family 17
[ 18.223935] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 18.238053] Bluetooth: RFCOMM TTY layer initialized
[ 18.243226] Bluetooth: RFCOMM socket layer initialized
[ 18.248883] Bluetooth: RFCOMM ver 1.11
[ 18.252848] 8021q: 802.1Q VLAN Support v1.8
[ 18.257911] Key type dns_resolver registered
[ 18.262700] omap_voltage_late_init: Voltage driver support not added
[ 18.270403] Loading compiled-in X.509 certificates
[ 18.279671] OMAP GPIO hardware version 0.1
[ 18.317359] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 18.329951] 8<--- cut here ---
[ 18.333229] Unhandled fault: external abort on non-linefetch (0x1008) at 0xf04e6000
[ 18.341336] pgd = (ptrval)
[ 18.344208] [f04e6000] *pgd=811a3811, *pte=4a326653, *ppte=4a326453
[ 18.350900] Internal error: : 1008 [#1] PREEMPT ARM
[ 18.356067] Modules linked in:
[ 18.359330] CPU: 0 PID: 59 Comm: kworker/0:3 Not tainted 5.10.100manu2-g7a7a3af903 #1
[ 18.367615] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 18.374111] Workqueue: events deferred_probe_work_func
[ 18.379548] PC is at sysc_probe+0xce8/0x1550
[ 18.384061] LR is at omap_reset_deassert+0x1ac/0x318
[ 18.389287] pc : [<c043ed90>] lr : [<c047e8e0>] psr: 60000013
[ 18.395878] sp : c11c9e28 ip : 00000000 fp : c0952cd4
[ 18.401376] r10: 00000028 r9 : 00000000 r8 : c0953194
[ 18.406874] r7 : c116b210 r6 : 00000000 r5 : c0dd714c r4 : c1660d40
[ 18.413740] r3 : f04e6000 r2 : 00000000 r1 : 00026000 r0 : 00000000
[ 18.420611] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 18.428118] Control: 10c5387d Table: 80004019 DAC: 00000051
[ 18.434165] Process kworker/0:3 (pid: 59, stack limit = 0x(ptrval))
[ 18.440760] Stack: (0xc11c9e28 to 0xc11ca000)
[ 18.445363] 9e20: 00000001 00000000 c0d09e08 00000000 c0dd714c c0aebfbc
[ 18.453979] 9e40: c116b210 c0aebe9c 00000001 00000001 00000030 c0d03248 00000000 00000000
[ 18.462596] 9e60: c116b210 c0d864f4 00000000 c0dd959c c0d864f4 00000006 c11adae0 c04cd56c
[ 18.471212] 9e80: c116b210 c0dd9598 00000000 00000000 c0dd959c c04cb440 00000000 c116b210
[ 18.479828] 9ea0: c0d864f4 c04cb954 c0d8c6b4 00000000 00000000 c0d8c6d8 c11adae0 c04cb854
[ 18.488444] 9ec0: 00000000 c11c9ef4 c04cb954 c04c97ec 00000000 c103811c c1214cb4 c0d03248
[ 18.497058] 9ee0: c116b210 00000001 c116b254 c04cb2dc c116b210 c116b210 00000001 c0d03248
[ 18.505674] 9f00: c116b210 c116b210 c0d8c928 c04ca660 c116b210 c0d8c6a8 c0d8c6a8 c04cab0c
[ 18.514290] 9f20: c0d8c6d4 c1187400 00000000 ef5bf200 00000000 c013dafc c11c8000 c0d76ea0
[ 18.522905] 9f40: c1187400 c0d0c5c4 c1187414 c11c8000 c0d76ea0 c0d0c5d8 c0d0c5c4 c013dfb8
[ 18.531521] 9f60: 00000000 c11adac0 c11ada80 c11c8000 00000000 c013dd84 c1187400 c11cfed0
[ 18.540136] 9f80: c11adae0 c01429ac 00000000 c11ada80 c014286c 00000000 00000000 00000000
[ 18.548750] 9fa0: 00000000 00000000 00000000 c0100148 00000000 00000000 00000000 00000000
[ 18.557363] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.565978] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 18.574626] [<c043ed90>] (sysc_probe) from [<c04cd56c>] (platform_drv_probe+0x48/0x98)
[ 18.582975] [<c04cd56c>] (platform_drv_probe) from [<c04cb440>] (really_probe+0xf0/0x398)
[ 18.591595] [<c04cb440>] (really_probe) from [<c04cb854>] (driver_probe_device+0x5c/0xb4)
[ 18.600212] [<c04cb854>] (driver_probe_device) from [<c04c97ec>] (bus_for_each_drv+0x84/0xd0)
[ 18.609192] [<c04c97ec>] (bus_for_each_drv) from [<c04cb2dc>] (__device_attach+0xf0/0x15c)
[ 18.617898] [<c04cb2dc>] (__device_attach) from [<c04ca660>] (bus_probe_device+0x84/0x8c)
[ 18.626513] [<c04ca660>] (bus_probe_device) from [<c04cab0c>] (deferred_probe_work_func+0x7c/0xa8)
[ 18.635956] [<c04cab0c>] (deferred_probe_work_func) from [<c013dafc>] (process_one_work+0x1c4/0x44c)
[ 18.645578] [<c013dafc>] (process_one_work) from [<c013dfb8>] (worker_thread+0x234/0x5cc)
[ 18.654202] [<c013dfb8>] (worker_thread) from [<c01429ac>] (kthread+0x140/0x184)
[ 18.662002] [<c01429ac>] (kthread) from [<c0100148>] (ret_from_fork+0x14/0x2c)
[ 18.669598] Exception stack(0xc11c9fb0 to 0xc11c9ff8)
[ 18.674922] 9fa0: 00000000 00000000 00000000 00000000
[ 18.683535] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 18.692146] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 18.699123] Code: e3130004 1a00014c e5943014 e0833001 (e593c000)
[ 18.705547] ---[ end trace 4e9dc4d7a50d275b ]---
[ 202.814288] random: crng init done