This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Kernel is not booting and observed the crash while porting to our custom board

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

  • Hi Manu,

    Which AM335x device do you use? Does it have the Graphics GPU?

  • Hi Liu,

    I am using am3352.. no we  are not using GPU.. some how i modified dts file with respect to our requirement. and able to ablt to boot without crash.. but its observed that after "[ 133.728596] random: crng init done" no further kernel log is coming.

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 5.10.100-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 10:22:26 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
    [ 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=1ae3144b-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: 974852K/1047552K available (8192K kernel code, 655K rwdata, 2544K rodata, 1024K init, 267K bss, 23548K 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.000072] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000851] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
    [ 0.003525] Console: colour dummy device 80x30
    [ 0.003686] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [ 0.070941] pid_max: default: 32768 minimum: 301
    [ 0.071283] LSM: Security Framework initializing
    [ 0.071473] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [ 0.071529] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [ 0.073501] CPU: Testing write buffer coherency: ok
    [ 0.073650] CPU0: Spectre v2: using BPIALL workaround
    [ 0.075534] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.075883] rcu: Hierarchical SRCU implementation.
    [ 0.076892] devtmpfs: initialized
    [ 0.110707] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.111425] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.111482] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [ 0.118574] pinctrl core: initialized pinctrl subsystem
    [ 0.120671] NET: Registered protocol family 16
    [ 0.126025] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.153764] l3-aon-clkctrl:0000:0: failed to disable
    [ 0.155997] thermal_sys: Registered thermal governor 'fair_share'
    [ 0.156026] thermal_sys: Registered thermal governor 'bang_bang'
    [ 0.156061] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.156084] thermal_sys: Registered thermal governor 'user_space'
    [ 0.156791] cpuidle: using governor ladder
    [ 0.156884] cpuidle: using governor menu
    [ 2.570987] random: fast init done
    [ 3.717153] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 13.977084] "cryptomgr_test" (28) uses obsolete ecb(arc4) skcipher
    [ 14.138358] DRBG: Continuing without Jitter RNG
    [ 14.258715] iommu: Default domain type: Translated
    [ 14.262000] SCSI subsystem initialized
    [ 14.263291] pps_core: LinuxPPS API ver. 1 registered
    [ 14.263328] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 14.263397] PTP clock support registered
    [ 14.263553] EDAC MC: Ver: 3.0.0
    [ 14.266861] Bluetooth: Core ver 2.22
    [ 14.266967] NET: Registered protocol family 31
    [ 14.266995] Bluetooth: HCI device and connection manager initialized
    [ 14.267033] Bluetooth: HCI socket layer initialized
    [ 14.267065] Bluetooth: L2CAP socket layer initialized
    [ 14.267097] Bluetooth: SCO socket layer initialized
    [ 14.268484] clocksource: Switched to clocksource dmtimer
    [ 14.289964] NET: Registered protocol family 2
    [ 14.290551] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [ 14.293505] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
    [ 14.293629] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [ 14.293859] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [ 14.294080] TCP: Hash tables configured (established 8192 bind 8192)
    [ 14.294383] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
    [ 14.294469] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
    [ 14.294764] NET: Registered protocol family 1
    [ 14.298919] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 14.301967] Initialise system trusted keyrings
    [ 14.302425] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 14.313654] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 14.315646] ntfs: driver 2.1.32 [Flags: R/O].
    [ 14.612059] Key type asymmetric registered
    [ 14.612113] Asymmetric key parser 'x509' registered
    [ 14.612287] bounce: pool size: 64 pages
    [ 14.612433] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 14.612467] io scheduler mq-deadline registered
    [ 14.612493] io scheduler kyber registered
    [ 15.005595] ti-sysc 44e07000.target-module: dts flag should be at module level for ti,no-reset-on-init
    [ 15.782593] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 16.116340] edma 49000000.dma: TI EDMA DMA engine driver
    [ 16.149452] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [ 16.290123] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 16.299380] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 16.300544] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 20, base_baud = 3000000) is a OMAP UART0
    [ 16.968606] printk: console [ttyO0] enabled
    [ 16.975044] omap_uart 48024000.serial: no wakeirq for uart2
    [ 16.982194] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 16.989183] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 37, base_baud = 3000000) is a OMAP UART3
    [ 17.000503] omap_uart 481a8000.serial: no wakeirq for uart4
    [ 17.007385] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 38, base_baud = 3000000) is a OMAP UART4
    [ 17.030976] loop: module loaded
    [ 17.051522] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [ 17.060556] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 17.067272] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 17.073145] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 17.080957] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:e8:e0:5f
    [ 17.092196] mousedev: PS/2 mouse device common for all mice
    [ 17.098912] i2c /dev entries driver
    [ 17.106950] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 17.115424] device-mapper: uevent: version 1.0.3
    [ 17.121111] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
    [ 17.130161] Bluetooth: HCI UART driver ver 2.3
    [ 17.135597] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [ 17.144753] cpuidle: enable-method property 'ti,am3352' found operations
    [ 17.156907] ledtrig-cpu: registered to indicate activity on CPUs
    [ 17.171400] NET: Registered protocol family 10
    [ 17.178819] Segment Routing with IPv6
    [ 17.182976] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 17.191185] NET: Registered protocol family 17
    [ 17.196032] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [ 17.210201] Bluetooth: RFCOMM TTY layer initialized
    [ 17.215386] Bluetooth: RFCOMM socket layer initialized
    [ 17.221051] Bluetooth: RFCOMM ver 1.11
    [ 17.225020] 8021q: 802.1Q VLAN Support v1.8
    [ 17.230120] Key type dns_resolver registered
    [ 17.234915] omap_voltage_late_init: Voltage driver support not added
    [ 17.242698] Loading compiled-in X.509 certificates
    [ 17.251151] OMAP GPIO hardware version 0.1
    [ 17.257692] pinctrl-single 44e10800.pinmux: pin PIN92 already requested by 44e09000.serial; cannot claim for 4819c000.i2c
    [ 17.269493] pinctrl-single 44e10800.pinmux: pin-92 (4819c000.i2c) status -22
    [ 17.276945] pinctrl-single 44e10800.pinmux: could not request pin 92 (PIN92) from group pinmux_i2c2_pins on device pinctrl-single
    [ 17.289380] omap_i2c 4819c000.i2c: Error applying setting, reverse things back
    [ 17.297039] omap_i2c: probe of 4819c000.i2c failed with error -22
    [ 17.317953] omap_reset_deassert: timedout waiting for gfx:0
    [ 17.324045] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [ 17.332525] omap_uart 48024000.serial: no wakeirq for uart2
    [ 17.339605] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 26, base_baud = 3000000) is a OMAP UART2
    [ 17.351161] ksz8863 spi0.0: chip id 0x8831
    [ 17.371215] spi_ksz8863: cannot create debugfs root
    [ 17.390127] genirq: Threaded irq requested with handler=NULL and !ONESHOT for spi0.0 (irq 59)
    [ 17.399525] spi0.0: Can't get IRQ 59 (PHY)
    [ 17.403859] No switch interrupt
    [ 17.413472] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [ 18.701851] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [ 18.709207] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [ 18.718302] cfg80211: failed to load regulatory.db
    [ 18.725350] Waiting for root device PARTUUID=1ae3144b-02...
    [ 49.138539] sw-ksz8863: disabling
    [ 49.142069] vwl1271: disabling
    [ 133.728596] random: crng init done

  • some how i modified dts file with respect to our requirement. and able to ablt to boot without crash..

    Please explain what you modified. Attach the dts patch if possible.

  • Hi Liu,

    I am able to make the kernel up.. and we have used the KSZ8863 ethernet switch and can able to load the module.. while booting 

    1 issue i am facing is i am not able to ping from laptop to controller(custom controller which is based on am335x.

    Note: i have modified dts (am335x-evmsk.dts) i.e as below (5.10.100 kernel version)

    &phy_gmii_sel {
    rmii-clock-ext;
    };

    initialy it was because we wer using 4.9.59 kernel

    &phy_sel {

     rmii-clock-ext;
    };

    will it be a problem while establishing connection? via ping?

    Also 1 fundemnetal question: may i know who will be assigning ip for the controller?

    please provide info at earliest..

    Thank you

  • Hi Manu,

    Networking is out of my expertise. I am routing your query to our Linux Ethernet expert for comments.

  • Thanks Liu.. please forward