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.

Linux/66AK2E05: Kernel Panic & Internal error occured on booting

Part Number: 66AK2E05
Other Parts Discussed in Thread: DA8XX

Tool/software: Linux

Hi community,

Im working on Keystone K2E EVM. I downloaded Processor-SDK-Linux-RT-K2E. I want to run one Core Linux with a custom configuration, but i failed. I get these 2 errors:

Internal error: Oops: 206 [#1] PREEMPT SMP ARM

Kernel Panic (Unable to handle kernel paging request at virtual address)

Im using a custom uboot, there is no bootargs available in uboot environment in this uboot configuration. When i use prebuild-images, i see only "Uncompressing Linux... done, booting the kernel.". I think kernel hangs on booting, but i cant see where because of bootargs not available(therefore no earlyprintk available too). So i recompiled linux kernel.

I want to create a zImage completely undepended from uboot, bootargs etc. So, i changed this rows inside 'arch/arm/configs/tisdk_k2e-evm-rt_defconfig' to;

# CONFIG_CMDLINE_PARTITION is not set
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_FB_CMDLINE is not set
CONFIG_CMDLINE="console=ttyS0,115200n8 rootwait=1 earlyprintk root=/dev/ram0 rw"
# CONFIG_BLK_CMDLINE_PARSER is not set
CONFIG_TTY_PRINTK=y
CONFIG_CMA_SIZE_MBYTES=192
CONFIG_PAGE_OFFSET=0xD0000000
CONFIG_BLK_DEV_RAM_COUNT=16

CONFIG_NR_CPUS=1 for One Core Linux

And

all **_DEBUG_** lines set to '=y'

I want to remap footprint from default(0x80000000-0xC0000000) to (0xD0000000-0xF8000000). So i changed

'arch/arm/boot/dts/keystone.dtsi' inside;

'memory {reg = <0x00000000 0xD0000000 0x00000000 0x28000000>;};'

' soc {...; ranges = <0x0 0x0 0x0 0xFFFFFFFF>; dma-ranges = <0xD0000000 0x8 0x00000000 0x28000000>; ...}'

'arch/arm/boot/dts/keystone-k2e.dtsi' inside;

remove cpu@1, cpu@2, cpu@3 for Once Core Linux

'arch/arm/Kconfig' inside;

PAGE_OFFSET 0x80000000 to 0xD0000000

With above configuration(conf1), kernel hangs on boot. I think i missed some address configuration for remapping. Here is the output;

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-rt47-ga72bf1418c (srt@ubuntu) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT RT Tue Jul 9 05:43:17 PDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Edison EVM
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/mm/physaddr.c:42 __virt_to_phys+0xc4/0xc8
[ 0.000000] virt_to_phys used for non-linear address: f0000000 (0xf0000000)
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.79-rt47-ga72bf1418c #1
[ 0.000000] Hardware name: Keystone
[ 0.000000] Backtrace:
[ 0.000000] [<d020c4f4>] (dump_backtrace) from [<d020c7d8>] (show_stack+0x18/0x1c)
[ 0.000000] r7:600001d3 r6:d106aa44 r5:00000000 r4:d106aa44
[ 0.000000] [<d020c7c0>] (show_stack) from [<d09a65f0>] (dump_stack+0x80/0x94)
[ 0.000000] [<d09a6570>] (dump_stack) from [<d021fe00>] (__warn+0xec/0x104)
[ 0.000000] r7:00000009 r6:d0bbbcf0 r5:00000000 r4:d1001e68
[ 0.000000] [<d021fd14>] (__warn) from [<d021fe58>] (warn_slowpath_fmt+0x40/0x48)
[ 0.000000] r9:00000000 r8:ffffffff r7:00000000 r6:7fffffff r5:d0e46278 r4:d0bbbcb8
[ 0.000000] [<d021fe1c>] (warn_slowpath_fmt) from [<d0218a3c>] (__virt_to_phys+0xc4/0xc8)
[ 0.000000] r3:f0000000 r2:d0bbbcb8
[ 0.000000] r4:f0000000
[ 0.000000] [<d0218978>] (__virt_to_phys) from [<d0e2da0c>] (early_init_fdt_reserve_self+0x28/0x4c)
[ 0.000000] r9:d1014ac0 r8:d1083e88 r7:d1001fc4 r6:d1083e8c r4:d1a6f4c8
[ 0.000000] [<d0e2d9e4>] (early_init_fdt_reserve_self) from [<d0e06a58>] (arm_memblock_init+0x174/0x1b8)
[ 0.000000] r4:d0200000
[ 0.000000] [<d0e068e4>] (arm_memblock_init) from [<d0e04628>] (setup_arch+0x5f0/0xbf8)
[ 0.000000] r10:d1083f80 r9:d1014ac0 r8:d0e45a48 r7:d1001fc4 r6:d0008000 r5:d0e3d270
[ 0.000000] r4:d1a79148
[ 0.000000] [<d0e04038>] (setup_arch) from [<d0e00a3c>] (start_kernel+0x68/0x404)
[ 0.000000] r10:00000000 r9:412fc0f4 r8:d100fe80 r7:d1014c38 r6:00000000 r5:d100fe98
[ 0.000000] r4:00000000
[ 0.000000] [<d0e009d4>] (start_kernel) from [<d0008090>] (0xd0008090)
[ 0.000000] r10:00000000 r9:412fc0f4 r8:d0007000 r7:d1014c38 r6:d0e45a44 r5:d100fe98
[ 0.000000] r4:d10840d4
[ 0.000000] ---[ end trace 0000000000000001 ]---
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
[ 0.000000] cma: dma_contiguous_reserve(limit 4fffffff)
[ 0.000000] cma: dma_contiguous_reserve: reserving 192 MiB for global area
[ 0.000000] cma: cma_declare_contiguous(size 0x000000000c000000, base 0x0000000000000000, limit 0x000000014fffffff alignment 0x0000000000000000)
[ 0.000000] cma: Reserved 192 MiB at 0x00000000e4000000
[ 0.000000] On node 0 totalpages: 163840
[ 0.000000] free_area_init_node: node 0, pgdat d106ac40, node_mem_map e39f8000
[ 0.000000] DMA zone: 1152 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 131072 pages, LIFO batch:31
[ 0.000000] HighMem zone: 32768 pages, LIFO batch:7
[ 0.000000] Unable to handle kernel paging request at virtual address f0000000
[ 0.000000] pgd = d0003000
[ 0.000000] [f0000000] *pgd=800000d0007003, *pmd=00000000
[ 0.000000] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.79-rt47-ga72bf1418c #1
[ 0.000000] Hardware name: Keystone
[ 0.000000] task: d1012d80 task.stack: d1000000
[ 0.000000] PC is at fdt_check_header+0xc/0x80
[ 0.000000] LR is at __unflatten_device_tree+0x74/0x2b0
[ 0.000000] pc : [<d09a67ac>] lr : [<d07ec7b8>] psr: 600000d3
[ 0.000000] sp : d1001ec0 ip : d1001ed0 fp : d1001ecc
[ 0.000000] r10: 00000000 r9 : d1a6f4b0 r8 : 00000000
[ 0.000000] r7 : d0e2c9c4 r6 : f0000000 r5 : d0e3d270 r4 : d1077460
[ 0.000000] r3 : 00000000 r2 : d1a6f4b0 r1 : 00000000 r0 : f0000000
[ 0.000000] Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment user
[ 0.000000] Control: 30c5387d Table: d0003000 DAC: fffffffd
[ 0.000000] Process swapper (pid: 0, stack limit = 0xd1000210)
[ 0.000000] Stack: (0xd1001ec0 to 0xd1002000)
[ 0.000000] 1ec0: d1001efc d1001ed0 d07ec7b8 d09a67ac d0e2c9c4 d0e2c9c4 d0e3d270 d1599520
[ 0.000000] 1ee0: d0000000 00000000 d1014ac0 d1083f80 d1001f1c d1001f00 d0e2db2c d07ec750
[ 0.000000] 1f00: 00000000 d1001f10 d0227638 d1012a40 d1001fa4 d1001f20 d0e049b0 d0e2dafc
[ 0.000000] 1f20: 00000000 00000000 00000000 00000000 ffffffff d1001f40 d027f080 d0e3d270
[ 0.000000] 1f40: fffff000 d1024020 00000000 f7ffffff d0280544 d027f064 d0000000 00000000
[ 0.000000] 1f60: 00000000 d100fe98 00000000 d1014c38 d1001f94 d1001f80 d027fce8 00000000
[ 0.000000] 1f80: d100fe98 00000000 d1014c38 d100fe80 412fc0f4 00000000 d1001ff4 d1001fa8
[ 0.000000] 1fa0: d0e00a3c d0e04044 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.000000] 1fc0: 00000000 d0e45a48 00000000 d10840d4 d100fe98 d0e45a44 d1014c38 d0007000
[ 0.000000] 1fe0: 412fc0f4 00000000 00000000 d1001ff8 d0008090 d0e009e0 00000000 00000000
[ 0.000000] Backtrace:
[ 0.000000] [<d09a67a0>] (fdt_check_header) from [<d07ec7b8>] (__unflatten_device_tree+0x74/0x2b0)
[ 0.000000] [<d07ec744>] (__unflatten_device_tree) from [<d0e2db2c>] (unflatten_device_tree+0x3c/0x4c)
[ 0.000000] r10:d1083f80 r9:d1014ac0 r8:00000000 r7:d0000000 r6:d1599520 r5:d0e3d270
[ 0.000000] r4:d0e2c9c4 r3:d0e2c9c4
[ 0.000000] [<d0e2daf0>] (unflatten_device_tree) from [<d0e049b0>] (setup_arch+0x978/0xbf8)
[ 0.000000] r4:d1012a40
[ 0.000000] [<d0e04038>] (setup_arch) from [<d0e00a3c>] (start_kernel+0x68/0x404)
[ 0.000000] r10:00000000 r9:412fc0f4 r8:d100fe80 r7:d1014c38 r6:00000000 r5:d100fe98
[ 0.000000] r4:00000000
[ 0.000000] [<d0e009d4>] (start_kernel) from [<d0008090>] (0xd0008090)
[ 0.000000] r10:00000000 r9:412fc0f4 r8:d0007000 r7:d1014c38 r6:d0e45a44 r5:d100fe98
[ 0.000000] r4:d10840d4
[ 0.000000] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903000)
[ 0.000000] ---[ end trace 0000000000000002 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!

When i changed footprint back from (0xD0000000-0xF8000000) to (0x80000000-0xFFFFFFFF)

'arch/arm/boot/dts/keystone.dtsi' inside;

'memory {reg = <0x00000000 0x80000000 0x00000000 0x80000000>;};'

' soc {...; ranges = <0x0 0x0 0x0 0xFFFFFFFF>; dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>; ...}'

With (0x80000000-0xFFFFFFFF) mapping configuration(conf2), Kernel hangs on a little bit forward stage. Here is the output;

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-rt47-ga72bf1418c (srt@ubuntu) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT RT Tue Jul 9 03:07:27 PDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Edison EVM
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0x00000000eb000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 17 pages/cpu @ea90e000 s37356 r8192 d24084 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 190820
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk root=/dev/ram0 rw
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 10, 4718592 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 667412K/770048K available (8192K kernel code, 485K rwdata, 2844K rodata, 2048K init, 10196K bss, 28908K reserved, 73728K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xef800000 - 0xff800000 ( 256 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef000000 ( 752 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc10797d0 ( 486 kB)
[ 0.000000] .bss : 0xc1084378 - 0xc1a79688 (10197 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] RCU debug extended QS entry/exit.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] kmemleak: Kernel memory leak detector disabled
[ 0.000000] arch_timer: cp15 timer(s) running at 233.33MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x6ba0ac50b7, max_idle_ns: 881590427583 ns
[ 0.000004] sched_clock: 56 bits at 233MHz, resolution 4ns, wraps every 4398046511102ns
[ 0.000009] Switching to timer-based delay loop, resolution 4ns
[ 0.000214] keystone timer clock @233333333 Hz
[ 0.000512] Console: colour dummy device 80x30
[ 0.269839] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.269841] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.269844] ... MAX_LOCK_DEPTH: 48
[ 0.269846] ... MAX_LOCKDEP_KEYS: 8191
[ 0.269847] ... CLASSHASH_SIZE: 4096
[ 0.269850] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.269851] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.269853] ... CHAINHASH_SIZE: 32768
[ 0.269855] memory used by lock dependency info: 4639 kB
[ 0.269857] per task-struct memory footprint: 1536 bytes
[ 0.269891] kmemleak: Early log buffer exceeded (1066), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[ 0.270836] Calibrating delay loop (skipped), value calculated using timer frequency.. 466.66 BogoMIPS (lpj=2333333)
[ 0.270843] pid_max: default: 32768 minimum: 301
[ 0.271173] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.271185] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.273100] CPU: Testing write buffer coherency: ok
[ 0.273149] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[ 0.273736] /cpus/cpu@0 missing clock-frequency property
[ 0.382750] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.421311] Setting up static identity map for 0xc0200000 - 0xc0200138
[ 0.441174] Hierarchical SRCU implementation.
[ 0.504437] EFI services will not be available.
[ 0.541427] smp: Bringing up secondary CPUs ...
[ 0.546090] smp: Brought up 1 node, 1 CPU
[ 0.550226] SMP: Total of 1 processors activated (466.66 BogoMIPS).
[ 0.556639] CPU: All CPU(s) started in SVC mode.
[ 0.563241] devtmpfs: initialized
[ 0.611020] random: get_random_u32 called from bucket_table_alloc+0x158/0x298 with crng_init=0
[ 0.621724] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.635099] DMA-API: preallocated 4096 debug entries
[ 0.640199] DMA-API: debugging enabled by kernel config
[ 0.646500] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.656578] futex hash table entries: 256 (order: 3, 32768 bytes)
[ 0.663133] ------------[ cut here ]------------
[ 0.667892] WARNING: CPU: 0 PID: 1 at mm/cma.c:111 cma_init_reserved_areas+0xb4/0x274
[ 0.675890] Modules linked in:
[ 0.679073] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.79-rt47-ga72bf1418c #1
[ 0.679075] Hardware name: Keystone
[ 0.679077] Backtrace:
[ 0.679088] [<c020c500>] (dump_backtrace) from [<c020c7e4>] (show_stack+0x18/0x1c)
[ 0.679093] r7:60000013 r6:c106ad44 r5:00000000 r4:c106ad44
[ 0.679105] [<c020c7cc>] (show_stack) from [<c09a90b0>] (dump_stack+0x80/0x94)
[ 0.679112] [<c09a9030>] (dump_stack) from [<c021fdd8>] (__warn+0xec/0x104)
[ 0.679116] r7:00000009 r6:c0bd2d5c r5:00000000 r4:00000000
[ 0.679122] [<c021fcec>] (__warn) from [<c021fea8>] (warn_slowpath_null+0x28/0x30)
[ 0.679126] r9:c106cc8f r8:00000000 r7:c1084380 r6:c159b618 r5:c159b618 r4:0081f800
[ 0.679133] [<c021fe80>] (warn_slowpath_null) from [<c0e166c0>] (cma_init_reserved_areas+0xb4/0x274)
[ 0.679140] [<c0e1660c>] (cma_init_reserved_areas) from [<c02018c8>] (do_one_initcall+0x4c/0x16c)
[ 0.679145] r10:c0e46858 r9:c1084380 r8:c0e4683c r7:c1084380 r6:c0e1660c r5:00000000
[ 0.679147] r4:ffffe000
[ 0.679153] [<c020187c>] (do_one_initcall) from [<c0e01040>] (kernel_init_freeable+0x268/0x300)
[ 0.679157] r8:c0e4683c r7:c1084380 r6:00000002 r5:c0e61030 r4:c0cc5a5c
[ 0.679163] [<c0e00dd8>] (kernel_init_freeable) from [<c09bcfe4>] (kernel_init+0x10/0x120)
[ 0.679168] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c09bcfd4
[ 0.679170] r4:00000000
[ 0.679178] [<c09bcfd4>] (kernel_init) from [<c0208720>] (ret_from_fork+0x14/0x34)
[ 0.679181] r5:c09bcfd4 r4:00000000
[ 0.679183] ---[ end trace 0000000000000001 ]---
[ 0.822456] Unable to handle kernel paging request at virtual address fb2aa000
[ 0.829833] pgd = c0003000
[ 0.832654] [fb2aa000] *pgd=800000c0007003, *pmd=00000000
[ 0.838208] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
[ 0.838211] Modules linked in:
[ 0.838217] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.14.79-rt47-ga72bf1418c #1
[ 0.838220] Hardware name: Keystone
[ 0.838223] task: ea058000 task.stack: ea054000
[ 0.838229] PC is at cma_init_reserved_areas+0xf8/0x274
[ 0.838232] LR is at __warn+0xb4/0x104
[ 0.838236] pc : [<c0e16704>] lr : [<c021fda0>] psr: 60000013
[ 0.838239] sp : ea055e90 ip : ea93c000 fp : ea055edc
[ 0.838241] r10: 00000000 r9 : c106cc8f r8 : 00000000
[ 0.838244] r7 : c0bd2d5c r6 : c159b618 r5 : 0081f800 r4 : 0081f800
[ 0.838247] r3 : 1096e000 r2 : 000003c0 r1 : 00000024 r0 : 0075f800
[ 0.838252] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 0.838255] Control: 30c5387d Table: c0003000 DAC: fffffffd
[ 0.838258] Process swapper/0 (pid: 1, stack limit = 0xea054210)
[ 0.838261] Stack: (0xea055e90 to 0xea056000)
[ 0.838265] 5e80: c02ef684 c159b618 c159b618 014080c0
[ 0.838270] 5ea0: c1012ac4 c1598d80 00000000 00000002 c1084380 ffffe000 00000000 c0e1660c
[ 0.838275] 5ec0: c1084380 c0e4683c c1084380 c0e46858 ea055f4c ea055ee0 c02018c8 c0e16618
[ 0.838279] 5ee0: ea055f04 ea055ef0 c027af00 c0bbff98 c0bbff78 c0bbffc4 c0bd31b8 00000000
[ 0.838283] 5f00: c0bbff0c c0c676e4 00000001 00000001 c106d368 c0cc5a5c eafffdfd 00000000
[ 0.838287] 5f20: c10191b0 c0cc5a5c 00000002 c0cc5a5c c0e61030 00000002 c1084380 c0e4683c
[ 0.838291] 5f40: ea055f94 ea055f50 c0e01040 c0201888 00000001 00000001 00000000 c0e00644
[ 0.838295] 5f60: c0e00644 000000e8 00000000 00000000 c09bcfd4 00000000 00000000 00000000
[ 0.838298] 5f80: 00000000 00000000 ea055fac ea055f98 c09bcfe4 c0e00de4 00000000 c09bcfd4
[ 0.838302] 5fa0: 00000000 ea055fb0 c0208720 c09bcfe0 00000000 00000000 00000000 00000000
[ 0.838306] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.838310] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 0.838312] Backtrace:
[ 0.838320] [<c0e1660c>] (cma_init_reserved_areas) from [<c02018c8>] (do_one_initcall+0x4c/0x16c)
[ 0.838326] r10:c0e46858 r9:c1084380 r8:c0e4683c r7:c1084380 r6:c0e1660c r5:00000000
[ 0.838328] r4:ffffe000
[ 0.838333] [<c020187c>] (do_one_initcall) from [<c0e01040>] (kernel_init_freeable+0x268/0x300)
[ 0.838338] r8:c0e4683c r7:c1084380 r6:00000002 r5:c0e61030 r4:c0cc5a5c
[ 0.838342] [<c0e00dd8>] (kernel_init_freeable) from [<c09bcfe4>] (kernel_init+0x10/0x120)
[ 0.838347] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c09bcfd4
[ 0.838349] r4:00000000
[ 0.838355] [<c09bcfd4>] (kernel_init) from [<c0208720>] (ret_from_fork+0x14/0x34)
[ 0.838358] r5:c09bcfd4 r4:00000000
[ 0.838363] Code: e34c70bd e50b5044 e1a05004 e50b6048 (e79c3003)
[ 1.102100] ---[ end trace 0000000000000002 ]---
[ 1.106848] Kernel panic - not syncing: Fatal exception
[ 1.112215] ---[ end Kernel panic - not syncing: Fatal exception
[ 2.343849] workqueue: round-robin CPU selection forced, expect performance impact

I cant boot kernel with a specific memory range(0xD0000000-0xF8000000), not boot with bigger range (0x80000000-0xFFFFFFFF) too with different reason.

I tried a lot of ways and research from a lot of websites, but cant find a solution. Same error for both configuration is "Unable to handle kernel paging request at virtual address ********, pgd = 0xD0003000". I noticed that the 0xD0003000 address is the first function RAM address in 'System.map'. Is it possible to kernel can not reach RAM addresses? Can i use directly phsical mapping instead of virtual mapping?

00000024 A cpu_ca15_suspend_size
00000024 A cpu_v7_bpiall_suspend_size
00000024 A cpu_v7_suspend_size
0000002c A cpu_ca9mp_suspend_size
d0003000 A swapper_pg_dir
d0008000 T _text
d0008000 T stext

How can i boot kernel with specific memory ranges and independently from uboot? By the way, i run linux with below steps on CCSv6;

Connecting ARM Core 0,

Load zImage to DDR(specified memory range start addr(if conf1: 0xD0000000, if conf2: 0x80000000),

Load keystone-k2e-evm.dtb to DDR (specified memory range area (if conf1: 0xF0000000, if conf2: 0x87000000)),

PC: zImage Load Addr,

R0: 0x00000000,

R1: 0xFFFFFFFF,

R2: keystone-k2e-evm.dtb Load Addr,

Run ARM Core 0

Thank you,

Best Regards,

Srt

  • Hi community,

    I tried kernel with specific memory ranges like conf1 but a little bit difference(Start Addr changed from 0xD0000000 to 0xC0000000). Here is the difference(conf3);

    'CONFIG_PAGE_OFFSET=0xD0000000' changed to default CONFIG_PAGE_OFFSET=0xC0000000

    Footprint remapped from (0xD0000000-0xF8000000) to (0xC0000000-0xE8000000)

    'arch/arm/boot/dts/keystone.dtsi' inside;

    'memory {reg = <0x00000000 0xC0000000 0x00000000 0x28000000>;};'

    ' soc {...; ranges = <0x0 0x0 0x0 0xFFFFFFFF>; dma-ranges = <0xC0000000 0x8 0x00000000 0x28000000>; ...}'

    'arch/arm/Kconfig' inside;

    PAGE_OFFSET 0xD0000000 to 0xC0000000

    i would expect the result to be the same with conf1. But kernel hangs exaclty like conf2 hang stage, difference is just Kernel Panic's Note.

    Conf2 Note: Kernel panic - not syncing: Fatal exception

    Conf3 Note: Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

    Best Regards,

    Srt

  • Hi,

    There is also a k2e-evm-cmem.dtsi file located in arch/arm/boot/dts. Have you remapped the cmem_blcok_mem_0, which is starting @830000000 by default?

    Best Regards,

    Yordan

  • Hi Yordan,

    Thank you for your response.

    After your words, i changed 'cmem_block_mem@830000000' to 'cmem_block_mem@C30000000' with conf3. Recompiled only 'keystone-k2e-evm.dtb'. But the result has not changed. Monitor outputs completely identical with conf3.

    Thank you,

    Best Regards,

    Srt

  • Ok, could you share the modified dts files? I'd like to take a look at them.


    Best Regards,
    Yordan

  • Hi Yordan,

    Thank you for your response.

    Here is my config&dts files. And here is my kernel boot steps with this configuration on CCS:

    Load zImage to 0xC0000000ti_sdk_k2e_config_and_dts_files.zip

    Load keystone-k2e-evm.dtb to 0xE0000000

    PC: 0xC0000000,

    R0: 0x00000000,

    R1: 0xFFFFFFFF,

    R2: 0xE0000000,

    Thank you,

    Best Regards,

    Srt

  • Hi community,

    i noticed that CMA uses 0x000000081f800000, this address is same with dsp-common-memory@81f800000. 

    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool

    I wont access dsp core, so i tried remove all dsp defines from 'boot/dts/keystone-k2e-evm.dts'. With this edit, kernel not hangs on CMA.

    But new problems occured. I think knav uses pdsp, but pdsp firmware not found. How can i embed pdsp firmware in kernel? Is this a solution?

    Here is the output;

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-rt47-ga72bf1418c (srt@ubuntu) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT RT Thu Jul 11 11:03:43 PDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Edison EVM
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 192 MiB at 0x00000000d4000000
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [ 0.000000] percpu: Embedded 17 pages/cpu @e79cb000 s37228 r8192 d24212 u69632
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 162400
    [ 0.000000] Kernel command line: mem=640M console=ttyS0,115200n8 earlyprintk
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 10, 4718592 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 422408K/655360K available (8192K kernel code, 485K rwdata, 2840K rodata, 2048K init, 10196K bss, 36344K reserved, 196608K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe8800000 - 0xff800000 ( 368 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe8000000 ( 640 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
    [ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
    [ 0.000000] .data : 0xc1000000 - 0xc10794d0 ( 486 kB)
    [ 0.000000] .bss : 0xc1083e38 - 0xc1a79148 (10197 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [ 0.000000] RCU priority boosting: priority 1 delay 500 ms.
    [ 0.000000] RCU debug extended QS entry/exit.
    [ 0.000000] No expedited grace period (rcu_normal_after_boot).
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] kmemleak: Kernel memory leak detector disabled
    [ 0.000000] arch_timer: cp15 timer(s) running at 233.33MHz (virt).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x6ba0ac50b7, max_idle_ns: 881590427583 ns
    [ 0.000004] sched_clock: 56 bits at 233MHz, resolution 4ns, wraps every 4398046511102ns
    [ 0.000008] Switching to timer-based delay loop, resolution 4ns
    [ 0.000216] keystone timer clock @233333333 Hz
    [ 0.000513] Console: colour dummy device 80x30
    [ 0.250484] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [ 0.250486] ... MAX_LOCKDEP_SUBCLASSES: 8
    [ 0.250488] ... MAX_LOCK_DEPTH: 48
    [ 0.250490] ... MAX_LOCKDEP_KEYS: 8191
    [ 0.250492] ... CLASSHASH_SIZE: 4096
    [ 0.250494] ... MAX_LOCKDEP_ENTRIES: 32768
    [ 0.250496] ... MAX_LOCKDEP_CHAINS: 65536
    [ 0.250497] ... CHAINHASH_SIZE: 32768
    [ 0.250499] memory used by lock dependency info: 4639 kB
    [ 0.250502] per task-struct memory footprint: 1536 bytes
    [ 0.250539] kmemleak: Early log buffer exceeded (1065), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
    [ 0.251497] Calibrating delay loop (skipped), value calculated using timer frequency.. 466.66 BogoMIPS (lpj=2333333)
    [ 0.251505] pid_max: default: 32768 minimum: 301
    [ 0.251840] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.251854] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.253989] CPU: Testing write buffer coherency: ok
    [ 0.254038] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [ 0.254640] /cpus/cpu@0 missing clock-frequency property
    [ 0.363649] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.400728] Setting up static identity map for 0xc0200000 - 0xc0200138
    [ 0.420582] Hierarchical SRCU implementation.
    [ 0.483865] EFI services will not be available.
    [ 0.500789] smp: Bringing up secondary CPUs ...
    [ 0.505453] smp: Brought up 1 node, 1 CPU
    [ 0.509589] SMP: Total of 1 processors activated (466.66 BogoMIPS).
    [ 0.516067] CPU: All CPU(s) started in SVC mode.
    [ 0.522165] devtmpfs: initialized
    [ 0.569560] random: get_random_u32 called from bucket_table_alloc+0x158/0x298 with crng_init=0
    [ 0.581070] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.594260] DMA-API: preallocated 4096 debug entries
    [ 0.599360] DMA-API: debugging enabled by kernel config
    [ 0.605720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.615759] futex hash table entries: 256 (order: 3, 32768 bytes)
    [ 0.627097] pinctrl core: initialized pinctrl subsystem
    [ 0.636125] regulator-dummy: Failed to create debugfs directory
    [ 0.642495] DMI not present or invalid.
    [ 0.648880] NET: Registered protocol family 16
    [ 0.664334] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.678076] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.686245] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.722202] irq: type mismatch, failed to map hwirq-152 for /interrupt-controller!
    [ 0.729963] irq: type mismatch, failed to map hwirq-153 for /interrupt-controller!
    [ 0.737852] irq: type mismatch, failed to map hwirq-154 for /interrupt-controller!
    [ 0.745684] irq: type mismatch, failed to map hwirq-155 for /interrupt-controller!
    [ 0.753497] irq: type mismatch, failed to map hwirq-156 for /interrupt-controller!
    [ 0.761257] irq: type mismatch, failed to map hwirq-157 for /interrupt-controller!
    [ 0.769076] irq: type mismatch, failed to map hwirq-158 for /interrupt-controller!
    [ 0.776838] irq: type mismatch, failed to map hwirq-159 for /interrupt-controller!
    [ 0.784642] irq: type mismatch, failed to map hwirq-160 for /interrupt-controller!
    [ 0.792404] irq: type mismatch, failed to map hwirq-161 for /interrupt-controller!
    [ 0.800163] irq: type mismatch, failed to map hwirq-162 for /interrupt-controller!
    [ 0.807924] irq: type mismatch, failed to map hwirq-163 for /interrupt-controller!
    [ 0.815686] irq: type mismatch, failed to map hwirq-164 for /interrupt-controller!
    [ 0.823483] irq: type mismatch, failed to map hwirq-165 for /interrupt-controller!
    [ 0.831242] irq: type mismatch, failed to map hwirq-166 for /interrupt-controller!
    [ 0.839021] irq: type mismatch, failed to map hwirq-167 for /interrupt-controller!
    [ 0.846783] irq: type mismatch, failed to map hwirq-168 for /interrupt-controller!
    [ 0.854586] irq: type mismatch, failed to map hwirq-169 for /interrupt-controller!
    [ 0.862348] irq: type mismatch, failed to map hwirq-170 for /interrupt-controller!
    [ 0.870107] irq: type mismatch, failed to map hwirq-171 for /interrupt-controller!
    [ 0.877867] irq: type mismatch, failed to map hwirq-172 for /interrupt-controller!
    [ 0.885628] irq: type mismatch, failed to map hwirq-173 for /interrupt-controller!
    [ 0.893428] irq: type mismatch, failed to map hwirq-174 for /interrupt-controller!
    [ 0.901188] irq: type mismatch, failed to map hwirq-175 for /interrupt-controller!
    [ 0.908967] irq: type mismatch, failed to map hwirq-176 for /interrupt-controller!
    [ 0.916728] irq: type mismatch, failed to map hwirq-177 for /interrupt-controller!
    [ 0.924531] irq: type mismatch, failed to map hwirq-178 for /interrupt-controller!
    [ 0.932292] irq: type mismatch, failed to map hwirq-179 for /interrupt-controller!
    [ 0.940051] irq: type mismatch, failed to map hwirq-180 for /interrupt-controller!
    [ 0.947812] irq: type mismatch, failed to map hwirq-181 for /interrupt-controller!
    [ 0.955573] irq: type mismatch, failed to map hwirq-182 for /interrupt-controller!
    [ 0.963374] irq: type mismatch, failed to map hwirq-183 for /interrupt-controller!
    [ 1.062613] workqueue: round-robin CPU selection forced, expect performance impact
    [ 1.122759] irq/28-2530000. (25) used greatest stack depth: 6828 bytes left
    [ 1.142268] media: Linux media interface: v0.10
    [ 1.147171] Linux video capture interface: v2.00
    [ 1.152710] pps_core: LinuxPPS API ver. 1 registered
    [ 1.157809] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 1.167318] PTP clock support registered
    [ 1.171524] EDAC MC: Ver: 3.0.0
    [ 1.183005] dmi: Firmware registration failed.
    [ 1.188624] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.202648] clocksource: Switched to clocksource arch_sys_counter
    [ 1.260487] NET: Registered protocol family 2
    [ 1.268893] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.276542] TCP bind hash table entries: 8192 (order: 7, 851968 bytes)
    [ 1.287277] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.294185] UDP hash table entries: 512 (order: 4, 114688 bytes)
    [ 1.300922] UDP-Lite hash table entries: 512 (order: 4, 114688 bytes)
    [ 1.309462] NET: Registered protocol family 1
    [ 1.336723] RPC: Registered named UNIX socket transport module.
    [ 1.342857] RPC: Registered udp transport module.
    [ 1.347697] RPC: Registered tcp transport module.
    [ 1.352535] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.360632] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 1.368541] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 1.377268] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 1.384699] hw perfevents: multiple PPIs or mismatched SPI/PPI detected
    [ 1.391465] hw perfevents: /pmu: failed to register PMU devices!
    [ 1.397686] armv7-pmu: probe of pmu failed with error -22
    [ 1.418973] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 1.485783] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 1.508826] NFS: Registering the id_resolver key type
    [ 1.514329] Key type id_resolver registered
    [ 1.518646] Key type id_legacy registered
    [ 1.523033] ntfs: driver 2.1.32 [Flags: R/O DEBUG].
    [ 1.534374] cryptomgr_test (37) used greatest stack depth: 6712 bytes left
    [ 1.543962] cryptomgr_test (43) used greatest stack depth: 6448 bytes left
    [ 1.552999] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 1.560597] io scheduler noop registered
    [ 1.564901] io scheduler deadline registered
    [ 1.570771] io scheduler cfq registered (default)
    [ 1.575745] io scheduler mq-deadline registered
    [ 1.580414] io scheduler kyber registered
    [ 1.590273] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [ 1.599376] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [ 1.609914] ti,keystone-serdes 2326000.phy: Direct firmware load for ks2_pcie_serdes.bin failed with error -2
    [ 1.620178] ti,keystone-serdes 2326000.phy: can't get any serdes init fw
    [ 1.627136] ti,keystone-serdes 2326000.phy: serdes procider init failed -19
    [ 1.634568] ti,keystone-serdes 2326000.phy: Unbalanced pm_runtime_enable!
    [ 1.642047] ti,keystone-serdes 2326000.phy: Direct firmware load for ks2_pcie_serdes.bin failed with error -2
    [ 1.652248] ti,keystone-serdes 2326000.phy: can't get any serdes init fw
    [ 1.659139] ti,keystone-serdes 2326000.phy: serdes procider init failed -19
    [ 1.668622] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    [ 1.678723] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
    [ 1.685636] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
    [ 1.693938] ti,keystone-serdes 232a000.phy: Unbalanced pm_runtime_enable!
    [ 1.702795] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    [ 1.712942] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
    [ 1.719796] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
    [ 1.747011] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [ 1.752812] OF: PCI: MEM 0x60000000..0x6fffffff -> 0x60000000
    [ 2.762384] keystone-pcie 21020000.pcie: phy link never came up
    [ 2.769353] keystone-pcie 21020000.pcie: PCI host bridge to bus 0000:00
    [ 2.776137] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 2.781765] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [ 2.788977] pci 0000:00:00.0: ignoring class 0x060400 (doesn't match header type 00)
    [ 2.798040] PCI: bus0: Fast back to back transfers disabled
    [ 2.805006] keystone-pcie 21020000.pcie: Unbalanced pm_runtime_enable!
    [ 2.811774] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [ 2.817578] OF: PCI: MEM 0x60000000..0x6fffffff -> 0x60000000
    [ 3.824896] keystone-pcie 21020000.pcie: phy link never came up
    [ 3.831755] keystone-pcie 21020000.pcie: PCI host bridge to bus 0001:00
    [ 3.838679] pci_bus 0001:00: root bus resource [bus 00-ff]
    [ 3.844355] pci_bus 0001:00: root bus resource [mem 0x60000000-0x6fffffff]
    [ 3.851457] pci 0001:00:00.0: ignoring class 0x060400 (doesn't match header type 00)
    [ 3.860420] PCI: bus0: Fast back to back transfers disabled
    [ 3.875202] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [ 3.884580] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek e88c0000, reg_status e88bb000, reg_config e88bd000, reg_region e88e1000, reg_push e8b20000, reg_pop e8da0000
    [ 3.904992] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp
    [ 3.921192] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0

    [ 3.930535] ------------[ cut here ]------------
    [ 3.930538] kernel BUG at ./include/linux/gfp.h:413!
    [ 3.930541] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
    [ 3.930544] Modules linked in:
    [ 3.930551] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.79-rt47-ga72bf1418c #1
    [ 3.930554] Hardware name: Keystone
    [ 3.930557] task: e7058000 task.stack: e7060000
    [ 3.930565] PC is at __alloc_pages_nodemask+0x1a0/0x1074
    [ 3.930570] LR is at __get_free_pages+0x1c/0x38
    [ 3.930573] pc : [<c02f3470>] lr : [<c02f44b4>] psr: 20000013
    [ 3.930576] sp : e7061b38 ip : 00000747 fp : e7061c44
    [ 3.930579] r10: 014000c5 r9 : e68a2940 r8 : e68a2918
    [ 3.930582] r7 : c1010038 r6 : 00000000 r5 : 00100000 r4 : 00000000
    [ 3.930585] r3 : 00000000 r2 : 00000000 r1 : 00000008 r0 : 014000c5
    [ 3.930589] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 3.930592] Control: 30c5387d Table: c0003000 DAC: fffffffd
    [ 3.930595] Process swapper/0 (pid: 1, stack limit = 0xe7060210)
    [ 3.930598] Stack: (0xe7061b38 to 0xe7062000)
    [ 3.930602] 1b20: e7061b84 e7061b48
    [ 3.930607] 1b40: e7058730 00000003 e7061b7c e7061b58 00000000 00000000 e70586d0 c105d108
    [ 3.930612] 1b60: c09bfe90 ffffe000 00000000 60000093 00000000 00000001 014080c0 e7058000
    [ 3.930617] 1b80: ffffe000 0a2bed72 3ce371d9 c156bae4 60000093 00000003 e7061bcc e7061ba8
    [ 3.930621] 1ba0: 00000000 00000000 e70586d0 c105d108 c09bfe90 c02f44b4 00000000 60000093
    [ 3.930625] 1bc0: 00000000 00000001 e68a2940 e7058000 00000008 0a2bed72 3ce371d9 c156bae4
    [ 3.930629] 1be0: 00000000 00000000 00000000 00000000 00000000 00000000 c0247ff8 c105d0f8
    [ 3.930633] 1c00: 20000013 00000002 00000000 c105d0f8 20000013 20000013 e79ef5a8 00000008
    [ 3.930638] 1c20: 00100000 00000000 e68a2648 e68a2918 e68a2940 e68a2618 e7061c54 e7061c48
    [ 3.930642] 1c40: c02f44b4 c02f32dc e7061c6c e7061c58 c02f4518 c02f44a4 e68a2918 00100000
    [ 3.930646] 1c60: e7061ce4 e7061c70 c05d72d0 c02f44f8 00000000 c0c0cea0 c105d0f8 20000013
    [ 3.930650] 1c80: e7061ca4 e7061c90 c09c016c c0247e40 014080c0 c1598840 014000c5 00000013
    [ 3.930655] 1ca0: e68a2648 c1071538 0000000c c0a01734 00002000 00000080 e7061ce4 e79ef414
    [ 3.930659] 1cc0: c1071538 e68a2668 e68a2648 c0c0cea0 e68a262c c0c0cec8 e7061dbc e7061ce8
    [ 3.930663] 1ce0: c05d6d78 c05d7028 00000000 e88bb000 e88bd000 e88e1000 e8b20000 e8da0000
    [ 3.930668] 1d00: c10321cc c0c0cdf0 e79ee838 e68a2650 c0c0ce18 c0c0ce08 c0c0cde8 014080c0
    [ 3.930672] 1d20: e71fe410 e79ee24c 00000000 e71fe410 c1a65cc0 00000000 00000000 00002000
    [ 3.930677] 1d40: 000001e0 00000020 e79de844 00000003 00000000 000000e2 00000f01 00000000
    [ 3.930681] 1d60: e68b91c0 c0c1199c e68b92a0 e71eb1c0 00000001 00000000 e7061dac e7061d88
    [ 3.930685] 1d80: c03cc9ac e71fe410 00000000 c10321cc 00000000 e71fe410 ffffffef c10321cc
    [ 3.930689] 1da0: fffffdfb c1a6c8d8 c1073218 00000000 e7061ddc e7061dc0 c06aa828 c05d5d0c
    [ 3.930693] 1dc0: e71fe410 00000001 c10321cc 00000000 e7061e1c e7061de0 c06a8bdc c06aa7dc
    [ 3.930697] 1de0: c0c0cfa8 e71e7740 00000000 00000000 c09c06d0 e71fe444 e71fe410 c10321cc
    [ 3.930702] 1e00: c1073140 00000000 c1083e40 c0e45858 e7061e3c e7061e20 c06a8fec c06a89b4
    [ 3.930706] 1e20: 00000000 c10321cc c06a8ecc c1073140 e7061e64 e7061e40 c06a69c4 c06a8ed8
    [ 3.930710] 1e40: e7007904 e71b8f94 c09aa794 c10321cc c103f7a0 e68ba000 e7061e74 e7061e68
    [ 3.930714] 1e60: c06a847c c06a697c e7061ea4 e7061e78 c06a7e90 c06a8464 c0c0cfa8 c1083e40
    [ 3.930719] 1e80: e7061ea4 c10321cc 00000000 c0e1fdc4 c1083e40 c0e45850 e7061ebc e7061ea8
    [ 3.930723] 1ea0: c06a9770 c06a7cc0 ffffe000 00000000 e7061ecc e7061ec0 c06aa780 c06a96fc
    [ 3.930727] 1ec0: e7061edc e7061ed0 c0e1fddc c06aa744 e7061f4c e7061ee0 c02018c8 c0e1fdd0
    [ 3.930732] 1ee0: e7061f04 e7061ef0 c027ab00 c0bbf620 c0bbf600 c0bbf64c c0bd2494 00000000
    [ 3.930736] 1f00: c0bbf594 c0c396ec 00000006 00000006 c106d068 c0cc4a14 e7fffe20 00000000
    [ 3.930740] 1f20: c1018f94 c0cc4a14 00000007 c0cc4a14 c0e60424 00000007 c1083e40 c0e45850
    [ 3.930744] 1f40: e7061f94 e7061f50 c0e01044 c0201888 00000006 00000006 00000000 c0e00644
    [ 3.930748] 1f60: c0e00644 000000e7 00000000 00000000 c09ba52c 00000000 00000000 00000000
    [ 3.930752] 1f80: 00000000 00000000 e7061fac e7061f98 c09ba53c c0e00de4 00000000 c09ba52c
    [ 3.930756] 1fa0: 00000000 e7061fb0 c0208720 c09ba538 00000000 00000000 00000000 00000000
    [ 3.930760] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 3.930764] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    [ 3.930766] Backtrace:
    [ 3.930775] [<c02f32d0>] (__alloc_pages_nodemask) from [<c02f44b4>] (__get_free_pages+0x1c/0x38)
    [ 3.930782] r10:e68a2618 r9:e68a2940 r8:e68a2918 r7:e68a2648 r6:00000000 r5:00100000
    [ 3.930784] r4:00000008
    [ 3.930791] [<c02f4498>] (__get_free_pages) from [<c02f4518>] (alloc_pages_exact+0x2c/0x3c)
    [ 3.930804] [<c02f44ec>] (alloc_pages_exact) from [<c05d72d0>] (knav_queue_setup_regions+0x2b4/0x5a8)
    [ 3.930808] r5:00100000 r4:e68a2918
    [ 3.930815] [<c05d701c>] (knav_queue_setup_regions) from [<c05d6d78>] (knav_queue_probe+0x1078/0x131c)
    [ 3.930820] r10:c0c0cec8 r9:e68a262c r8:c0c0cea0 r7:e68a2648 r6:e68a2668 r5:c1071538
    [ 3.930823] r4:e79ef414
    [ 3.930833] [<c05d5d00>] (knav_queue_probe) from [<c06aa828>] (platform_drv_probe+0x58/0xb4)
    [ 3.930838] r10:00000000 r9:c1073218 r8:c1a6c8d8 r7:fffffdfb r6:c10321cc r5:ffffffef
    [ 3.930840] r4:e71fe410
    [ 3.930847] [<c06aa7d0>] (platform_drv_probe) from [<c06a8bdc>] (driver_probe_device+0x234/0x524)
    [ 3.930850] r7:00000000 r6:c10321cc r5:00000001 r4:e71fe410
    [ 3.930856] [<c06a89a8>] (driver_probe_device) from [<c06a8fec>] (__driver_attach+0x120/0x124)
    [ 3.930861] r10:c0e45858 r9:c1083e40 r8:00000000 r7:c1073140 r6:c10321cc r5:e71fe410
    [ 3.930863] r4:e71fe444
    [ 3.930869] [<c06a8ecc>] (__driver_attach) from [<c06a69c4>] (bus_for_each_dev+0x54/0xa4)
    [ 3.930873] r7:c1073140 r6:c06a8ecc r5:c10321cc r4:00000000
    [ 3.930878] [<c06a6970>] (bus_for_each_dev) from [<c06a847c>] (driver_attach+0x24/0x28)
    [ 3.930881] r6:e68ba000 r5:c103f7a0 r4:c10321cc
    [ 3.930887] [<c06a8458>] (driver_attach) from [<c06a7e90>] (bus_add_driver+0x1dc/0x260)
    [ 3.930892] [<c06a7cb4>] (bus_add_driver) from [<c06a9770>] (driver_register+0x80/0xfc)
    [ 3.930897] r8:c0e45850 r7:c1083e40 r6:c0e1fdc4 r5:00000000 r4:c10321cc
    [ 3.930903] [<c06a96f0>] (driver_register) from [<c06aa780>] (__platform_driver_register+0x48/0x50)
    [ 3.930905] r5:00000000 r4:ffffe000
    [ 3.930916] [<c06aa738>] (__platform_driver_register) from [<c0e1fddc>] (keystone_qmss_driver_init+0x18/0x20)
    [ 3.930922] [<c0e1fdc4>] (keystone_qmss_driver_init) from [<c02018c8>] (do_one_initcall+0x4c/0x16c)
    [ 3.930930] [<c020187c>] (do_one_initcall) from [<c0e01044>] (kernel_init_freeable+0x26c/0x304)
    [ 3.930934] r8:c0e45850 r7:c1083e40 r6:00000007 r5:c0e60424 r4:c0cc4a14
    [ 3.930943] [<c0e00dd8>] (kernel_init_freeable) from [<c09ba53c>] (kernel_init+0x10/0x120)
    [ 3.930947] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c09ba52c
    [ 3.930950] r4:00000000
    [ 3.930957] [<c09ba52c>] (kernel_init) from [<c0208720>] (ret_from_fork+0x14/0x34)
    [ 3.930960] r5:c09ba52c r4:00000000
    [ 3.930965] Code: eaffffd1 eb006474 e1a0c000 eaffffdc (e7f001f2)
    [ 4.606549] ---[ end trace 0000000000000001 ]---

    [ 4.606553] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:34
    [ 4.606557] in_atomic(): 0, irqs_disabled(): 128, pid: 1, name: swapper/0
    [ 4.606559] INFO: lockdep is turned off.
    [ 4.606563] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G D 4.14.79-rt47-ga72bf1418c #1
    [ 4.606566] Hardware name: Keystone
    [ 4.606567] Backtrace:
    [ 4.606575] [<c020c4f4>] (dump_backtrace) from [<c020c7d8>] (show_stack+0x18/0x1c)
    [ 4.606580] r7:60000093 r6:c106aa44 r5:00000000 r4:c106aa44
    [ 4.606588] [<c020c7c0>] (show_stack) from [<c09a6610>] (dump_stack+0x80/0x94)
    [ 4.606596] [<c09a6590>] (dump_stack) from [<c0248588>] (___might_sleep+0x184/0x1d4)
    [ 4.606600] r7:e7061ae8 r6:c027ee1c r5:e7060000 r4:00000000
    [ 4.606607] [<c0248404>] (___might_sleep) from [<c0248640>] (__might_sleep+0x68/0xa0)
    [ 4.606611] r6:00000000 r5:00000022 r4:c0bbd034
    [ 4.606618] [<c02485d8>] (__might_sleep) from [<c023055c>] (exit_signals+0x2c/0x318)
    [ 4.606621] r6:0000000b r5:c0223f44 r4:e7058000
    [ 4.606628] [<c0230530>] (exit_signals) from [<c0223f44>] (do_exit+0xb0/0xc2c)
    [ 4.606633] r8:c0bb92f0 r7:e7061ae8 r6:0000000b r5:0000000b r4:e7058000
    [ 4.606638] [<c0223e94>] (do_exit) from [<c020ca1c>] (die+0x240/0x304)
    [ 4.606640] r7:e7061ae8
    [ 4.606644] [<c020c7dc>] (die) from [<c020cb00>] (arm_notify_die+0x20/0x58)
    [ 4.606649] r10:e7060000 r9:c020d5a4 r8:00000000 r7:e7f001f2 r6:c02f3470 r5:e7061ae8
    [ 4.606651] r4:07f001f0
    [ 4.606656] [<c020cae0>] (arm_notify_die) from [<c02010e4>] (do_undefinstr+0xc0/0x22c)
    [ 4.606661] [<c0201024>] (do_undefinstr) from [<c020d5a4>] (__und_svc_finish+0x0/0x3c)
    [ 4.606664] Exception stack(0xe7061ae8 to 0xe7061b30)
    [ 4.606669] 1ae0: 014000c5 00000008 00000000 00000000 00000000 00100000
    [ 4.606674] 1b00: 00000000 c1010038 e68a2918 e68a2940 014000c5 e7061c44 00000747 e7061b38
    [ 4.606677] 1b20: c02f44b4 c02f3470 20000013 ffffffff
    [ 4.606682] r8:e7100000 r7:00000000 r6:c020d9d8 r5:00000000 r4:c02f3474
    [ 4.606688] [<c02f32d0>] (__alloc_pages_nodemask) from [<c02f44b4>] (__get_free_pages+0x1c/0x38)
    [ 4.606693] r10:e68a2618 r9:e68a2940 r8:e68a2918 r7:e68a2648 r6:00000000 r5:00100000
    [ 4.606695] r4:00000008
    [ 4.606701] [<c02f4498>] (__get_free_pages) from [<c02f4518>] (alloc_pages_exact+0x2c/0x3c)
    [ 4.606709] [<c02f44ec>] (alloc_pages_exact) from [<c05d72d0>] (knav_queue_setup_regions+0x2b4/0x5a8)
    [ 4.606712] r5:00100000 r4:e68a2918
    [ 4.606719] [<c05d701c>] (knav_queue_setup_regions) from [<c05d6d78>] (knav_queue_probe+0x1078/0x131c)
    [ 4.606723] r10:c0c0cec8 r9:e68a262c r8:c0c0cea0 r7:e68a2648 r6:e68a2668 r5:c1071538
    [ 4.606726] r4:e79ef414
    [ 4.606733] [<c05d5d00>] (knav_queue_probe) from [<c06aa828>] (platform_drv_probe+0x58/0xb4)
    [ 4.606737] r10:00000000 r9:c1073218 r8:c1a6c8d8 r7:fffffdfb r6:c10321cc r5:ffffffef
    [ 4.606739] r4:e71fe410
    [ 4.606746] [<c06aa7d0>] (platform_drv_probe) from [<c06a8bdc>] (driver_probe_device+0x234/0x524)
    [ 4.606749] r7:00000000 r6:c10321cc r5:00000001 r4:e71fe410
    [ 4.606755] [<c06a89a8>] (driver_probe_device) from [<c06a8fec>] (__driver_attach+0x120/0x124)
    [ 4.606759] r10:c0e45858 r9:c1083e40 r8:00000000 r7:c1073140 r6:c10321cc r5:e71fe410
    [ 4.606762] r4:e71fe444
    [ 4.606767] [<c06a8ecc>] (__driver_attach) from [<c06a69c4>] (bus_for_each_dev+0x54/0xa4)
    [ 4.606770] r7:c1073140 r6:c06a8ecc r5:c10321cc r4:00000000
    [ 4.606776] [<c06a6970>] (bus_for_each_dev) from [<c06a847c>] (driver_attach+0x24/0x28)
    [ 4.606779] r6:e68ba000 r5:c103f7a0 r4:c10321cc
    [ 4.606784] [<c06a8458>] (driver_attach) from [<c06a7e90>] (bus_add_driver+0x1dc/0x260)
    [ 4.606789] [<c06a7cb4>] (bus_add_driver) from [<c06a9770>] (driver_register+0x80/0xfc)
    [ 4.606794] r8:c0e45850 r7:c1083e40 r6:c0e1fdc4 r5:00000000 r4:c10321cc
    [ 4.606799] [<c06a96f0>] (driver_register) from [<c06aa780>] (__platform_driver_register+0x48/0x50)
    [ 4.606802] r5:00000000 r4:ffffe000
    [ 4.606809] [<c06aa738>] (__platform_driver_register) from [<c0e1fddc>] (keystone_qmss_driver_init+0x18/0x20)
    [ 4.606815] [<c0e1fdc4>] (keystone_qmss_driver_init) from [<c02018c8>] (do_one_initcall+0x4c/0x16c)
    [ 4.606821] [<c020187c>] (do_one_initcall) from [<c0e01044>] (kernel_init_freeable+0x26c/0x304)
    [ 4.606826] r8:c0e45850 r7:c1083e40 r6:00000007 r5:c0e60424 r4:c0cc4a14
    [ 4.606833] [<c0e00dd8>] (kernel_init_freeable) from [<c09ba53c>] (kernel_init+0x10/0x120)
    [ 4.606837] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c09ba52c
    [ 4.606839] r4:00000000
    [ 4.606846] [<c09ba52c>] (kernel_init) from [<c0208720>] (ret_from_fork+0x14/0x34)
    [ 4.606849] r5:c09ba52c r4:00000000
    [ 4.607016] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [ 4.607016]

    Thank you,

    Best Regards,

    Srt

  • Hi,

    The dts files seem correct. You've remapped your address space (totally differ from the original k2e-evm-cmem.dtsi). However u-boot itself works with ddr mapped for loadaddr, dts address, and so on, see include/configs/k2e_evm.h, as well as include/configs/ti_armv7_keystone2.h: 

    #define CONFIG_SYS_TEXT_BASE        0x0c000000
    #endif
    #define CONFIG_SPL_TARGET        "u-boot-spi.gph"
    #define CONFIG_SYS_DCACHE_OFF

    /* Memory Configuration */
    #define CONFIG_NR_DRAM_BANKS        2
    #define CONFIG_SYS_LPAE_SDRAM_BASE    0x800000000
    #define CONFIG_MAX_RAM_BANK_SIZE    (2 << 30)       /* 2GB */
    #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SPL_TEXT_BASE - \
                        GENERATED_GBL_DATA_SIZE)

    & ti_armv7_common.h:
    /*
     * Our DDR memory always starts at 0x80000000 and U-Boot shall have
     * relocated itself to higher in memory by the time this value is used.
     * However, set this to a 32MB offset to allow for easier Linux kernel
     * booting as the default is often used as the kernel load address.
     */
    #define CONFIG_SYS_LOAD_ADDR        0x82000000

    /*
     * We setup defaults based on constraints from the Linux kernel, which should
     * also be safe elsewhere.  We have the default load at 32MB into DDR (for
     * the kernel), FDT above 128MB (the maximum location for the end of the
     * kernel), and the ramdisk 512KB above that (allowing for hopefully never
     * seen large trees).  We say all of this must be within the first 256MB
     * as that will normally be within the kernel lowmem and thus visible via
     * bootm_size and we only run on platforms with 256MB or more of memory.
     */
    #define DEFAULT_LINUX_BOOT_ENV \
        "loadaddr=0x82000000\0" \
        "kernel_addr_r=0x82000000\0" \
        "fdtaddr=0x88000000\0" \
        "fdt_addr_r=0x88000000\0" \
        "rdaddr=0x88080000\0" \
        "ramdisk_addr_r=0x88080000\0" \
        "scriptaddr=0x80000000\0" \
        "pxefile_addr_r=0x80100000\0" \
        "bootm_size=0x10000000\0" \
        "boot_fdt=try\0"

    #define DEFAULT_FIT_TI_ARGS \
        "boot_fit=0\0" \
        "fit_loadaddr=0x87000000\0" \
        "fit_bootfile=fitImage\0" \
        "update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}\0" \
        "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \

    /*
     * DDR information.  If the CONFIG_NR_DRAM_BANKS is not defined,
     * we say (for simplicity) that we have 1 bank, always, even when
     * we have more.  We always start at 0x80000000, and we place the
     * initial stack pointer in our SRAM. Otherwise, we can define
     * CONFIG_NR_DRAM_BANKS before including this file.
     */
    #ifndef CONFIG_NR_DRAM_BANKS
    #define CONFIG_NR_DRAM_BANKS        1
    #endif
    #define CONFIG_SYS_SDRAM_BASE        0x80000000
     
    .....

    /*
     * Place the image at the start of the ROM defined image space (per
     * CONFIG_SPL_TEXT_BASE and we limit our size to the ROM-defined
     * downloaded image area minus 1KiB for scratch space.  We initalize DRAM as
     * soon as we can so that we can place stack, malloc and BSS there.  We load
     * U-Boot itself into memory at 0x80800000 for legacy reasons (to not conflict
     * with older SPLs).  We have our BSS be placed 2MiB after this, to allow for
     * the default Linux kernel address of 0x80008000 to work with most sized
     * kernels, in the Falcon Mode case.  We have the SPL malloc pool at the end
     * of the BSS area.  We suggest that the stack be placed at 32MiB after the
     * start of DRAM to allow room for all of the above (handled in Kconfig).
     */
    #ifndef CONFIG_SYS_TEXT_BASE
    #define CONFIG_SYS_TEXT_BASE        0x80800000
    #endif
    #ifndef CONFIG_SPL_BSS_START_ADDR
    #define CONFIG_SPL_BSS_START_ADDR    0x80a00000
    #define CONFIG_SPL_BSS_MAX_SIZE        0x80000        /* 512 KB */

    You need to align those settings as well.

    Best Regards,
    Yordan

  • Hi  Yordan,

    Thank you for your response.

    Actually, i want to create kernel without uboot dependiencies. Because of this, i dont want to change uboot defines\parameters. Im working on it.

    I passed some errors that i reported early. Errors occured because of 'knav' functions. So, i deleted 'qmss', 'knav_dmas', 'netcp', 'gbe_serdes0' and 'gbe_serdes1' from 'keystone-k2e-netcp.dtsi' file.

    Also i realized i did not put filesystem into my kernel. So, i unzip and created 'arago.cpio' from 'filesystem/arago-base-tisdk-image-k2e-evm.tar.xz'. My kernel take reference this 'cpio' file with 'CONFIG_INITRAMFS_SOURCE="<cpio_path>".

    With last changes, i got no Panic or Bug. But got no console too. it seems like kernel booting hangs in this loop;

    [ 16.797422] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 16.871237] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 16.890195] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0

    Here is the kernel booting process;

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.38-rt19-g1224cd679e (srt@ubuntu) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT RT Thu Jul 25 22:17:56 PDT 2019
    [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Edison EVM
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 192 MiB at 0x00000000d4000000
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [ 0.000000] random: get_random_bytes called from start_kernel+0xa8/0x4fc with crng_init=0
    [ 0.000000] percpu: Embedded 370 pages/cpu s1485252 r8192 d22076 u1515520
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 162400
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init root=/dev/ram0 rw
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 10, 5767168 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 402796K/655360K available (10240K kernel code, 788K rwdata, 3120K rodata, 18432K init, 8724K bss, 55956K reserved, 196608K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe8800000 - 0xff800000 ( 368 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe8000000 ( 640 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (12256 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (18432 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 789 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) (8725 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Running RCU self tests
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU lockdep checking is enabled.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
    [ 0.000000] rcu: RCU debug extended QS entry/exit.
    [ 0.000000] No expedited grace period (rcu_normal_after_boot).
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] arch_timer: cp15 timer(s) running at 233.33MHz (virt).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x6ba0ac50b7, max_idle_ns: 881590427583 ns
    [ 0.000005] sched_clock: 56 bits at 233MHz, resolution 4ns, wraps every 4398046511102ns
    [ 0.000012] Switching to timer-based delay loop, resolution 4ns
    [ 0.000350] keystone timer clock @233333333 Hz
    [ 0.000845] Console: colour dummy device 80x30
    [ 0.257134] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [ 0.257140] ... MAX_LOCKDEP_SUBCLASSES: 8
    [ 0.257145] ... MAX_LOCK_DEPTH: 48
    [ 0.257150] ... MAX_LOCKDEP_KEYS: 8191
    [ 0.257154] ... CLASSHASH_SIZE: 4096
    [ 0.257159] ... MAX_LOCKDEP_ENTRIES: 32768
    [ 0.257163] ... MAX_LOCKDEP_CHAINS: 65536
    [ 0.257168] ... CHAINHASH_SIZE: 32768
    [ 0.257172] memory used by lock dependency info: 4911 kB
    [ 0.257177] per task-struct memory footprint: 2304 bytes
    [ 0.258262] Calibrating delay loop (skipped), value calculated using timer frequency.. 466.66 BogoMIPS (lpj=2333333)
    [ 0.258274] pid_max: default: 32768 minimum: 301
    [ 0.259121] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.259150] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.264170] CPU: Testing write buffer coherency: ok
    [ 0.264300] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [ 0.264680] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 0.266297] /cpus/cpu@0 missing clock-frequency property
    [ 0.373460] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.431791] Setting up static identity map for 0xc0200000 - 0xc0200138
    [ 0.451449] rcu: Hierarchical SRCU implementation.
    [ 0.519184] EFI services will not be available.
    [ 0.552027] smp: Bringing up secondary CPUs ...
    [ 0.556623] smp: Brought up 1 node, 1 CPU
    [ 0.560692] SMP: Total of 1 processors activated (466.66 BogoMIPS).
    [ 0.567155] CPU: All CPU(s) started in SVC mode.
    [ 0.576860] devtmpfs: initialized
    [ 0.685193] random: get_random_u32 called from bucket_table_alloc+0x94/0x198 with crng_init=0
    [ 0.703120] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.714733] workqueue: round-robin CPU selection forced, expect performance impact
    [ 0.922011] DMA-API: preallocated 65536 debug entries
    [ 0.927242] DMA-API: debugging enabled by kernel config
    [ 0.932544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.942779] futex hash table entries: 256 (order: 3, 49152 bytes)
    [ 0.956069] pinctrl core: initialized pinctrl subsystem
    [ 0.971948] regulator-dummy: Failed to create debugfs directory
    [ 0.979779] DMI not present or invalid.
    [ 0.987859] NET: Registered protocol family 16
    [ 1.023538] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 1.051945] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 1.060221] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 1.066252] _warn_unseeded_randomness: 3 callbacks suppressed
    [ 1.066270] random: get_random_bytes called from kcmp_cookies_init+0x1c/0x4c with crng_init=0
    [ 1.174126] irq: type mismatch, failed to map hwirq-152 for interrupt-controller@2561000!
    [ 1.182870] irq: type mismatch, failed to map hwirq-153 for interrupt-controller@2561000!
    [ 1.191539] irq: type mismatch, failed to map hwirq-154 for interrupt-controller@2561000!
    [ 1.200162] irq: type mismatch, failed to map hwirq-155 for interrupt-controller@2561000!
    [ 1.208659] irq: type mismatch, failed to map hwirq-156 for interrupt-controller@2561000!
    [ 1.217124] irq: type mismatch, failed to map hwirq-157 for interrupt-controller@2561000!
    [ 1.225588] irq: type mismatch, failed to map hwirq-158 for interrupt-controller@2561000!
    [ 1.233957] irq: type mismatch, failed to map hwirq-159 for interrupt-controller@2561000!
    [ 1.242466] irq: type mismatch, failed to map hwirq-160 for interrupt-controller@2561000!
    [ 1.250932] irq: type mismatch, failed to map hwirq-161 for interrupt-controller@2561000!
    [ 1.259396] irq: type mismatch, failed to map hwirq-162 for interrupt-controller@2561000!
    [ 1.267859] irq: type mismatch, failed to map hwirq-163 for interrupt-controller@2561000!
    [ 1.276325] irq: type mismatch, failed to map hwirq-164 for interrupt-controller@2561000!
    [ 1.284694] irq: type mismatch, failed to map hwirq-165 for interrupt-controller@2561000!
    [ 1.293204] irq: type mismatch, failed to map hwirq-166 for interrupt-controller@2561000!
    [ 1.301667] irq: type mismatch, failed to map hwirq-167 for interrupt-controller@2561000!
    [ 1.310130] irq: type mismatch, failed to map hwirq-168 for interrupt-controller@2561000!
    [ 1.318596] irq: type mismatch, failed to map hwirq-169 for interrupt-controller@2561000!
    [ 1.327061] irq: type mismatch, failed to map hwirq-170 for interrupt-controller@2561000!
    [ 1.335429] irq: type mismatch, failed to map hwirq-171 for interrupt-controller@2561000!
    [ 1.343946] irq: type mismatch, failed to map hwirq-172 for interrupt-controller@2561000!
    [ 1.352404] irq: type mismatch, failed to map hwirq-173 for interrupt-controller@2561000!
    [ 1.360868] irq: type mismatch, failed to map hwirq-174 for interrupt-controller@2561000!
    [ 1.369335] irq: type mismatch, failed to map hwirq-175 for interrupt-controller@2561000!
    [ 1.377800] irq: type mismatch, failed to map hwirq-176 for interrupt-controller@2561000!
    [ 1.386263] irq: type mismatch, failed to map hwirq-177 for interrupt-controller@2561000!
    [ 1.394633] irq: type mismatch, failed to map hwirq-178 for interrupt-controller@2561000!
    [ 1.403143] irq: type mismatch, failed to map hwirq-179 for interrupt-controller@2561000!
    [ 1.411608] irq: type mismatch, failed to map hwirq-180 for interrupt-controller@2561000!
    [ 1.420074] irq: type mismatch, failed to map hwirq-181 for interrupt-controller@2561000!
    [ 1.428537] irq: type mismatch, failed to map hwirq-182 for interrupt-controller@2561000!
    [ 1.437002] irq: type mismatch, failed to map hwirq-183 for interrupt-controller@2561000!
    [ 1.598261] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 1.681364] irq/29-2530000. (29) used greatest stack depth: 6224 bytes left
    [ 1.722795] media: Linux media interface: v0.10
    [ 1.728522] videodev: Linux video capture interface: v2.00
    [ 1.735460] pps_core: LinuxPPS API ver. 1 registered
    [ 1.740758] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 1.750578] PTP clock support registered
    [ 1.755023] EDAC MC: Ver: 3.0.0
    [ 1.772956] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.788120] random: get_random_u32 called from bucket_table_alloc+0x94/0x198 with crng_init=0
    [ 1.801759] clocksource: Switched to clocksource arch_sys_counter
    [ 2.819522] NET: Registered protocol family 2
    [ 2.824478] _warn_unseeded_randomness: 1 callbacks suppressed
    [ 2.824494] random: get_random_u32 called from neigh_hash_alloc+0x7c/0xbc with crng_init=0
    [ 2.843691] random: get_random_u32 called from rt_genid_init+0x24/0x34 with crng_init=0
    [ 2.852954] tcp_listen_portaddr_hash hash table entries: 512 (order: 4, 67584 bytes)
    [ 2.861106] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 2.868598] TCP bind hash table entries: 8192 (order: 8, 1048576 bytes)
    [ 2.879600] TCP: Hash tables configured (established 8192 bind 8192)
    [ 2.887527] UDP hash table entries: 512 (order: 5, 139264 bytes)
    [ 2.894886] UDP-Lite hash table entries: 512 (order: 5, 139264 bytes)
    [ 2.905824] random: get_random_u32 called from bucket_table_alloc+0x94/0x198 with crng_init=0
    [ 2.914844] NET: Registered protocol family 1
    [ 2.955716] RPC: Registered named UNIX socket transport module.
    [ 2.961967] RPC: Registered udp transport module.
    [ 2.966745] RPC: Registered tcp transport module.
    [ 2.971524] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 6.577379] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 6.623981] Initialise system trusted keyrings
    [ 6.628571] _warn_unseeded_randomness: 1 callbacks suppressed
    [ 6.628586] random: get_random_bytes called from key_alloc+0x274/0x3fc with crng_init=0
    [ 6.644464] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 6.839371] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 6.866207] NFS: Registering the id_resolver key type
    [ 6.871565] Key type id_resolver registered
    [ 6.876175] Key type id_legacy registered
    [ 6.880748] ntfs: driver 2.1.32 [Flags: R/O DEBUG].
    [ 6.892134] pstore: using deflate compression
    [ 6.896787] random: get_random_u32 called from bucket_table_alloc+0x94/0x198 with crng_init=0
    [ 6.909651] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 6.922170] cryptomgr_test (43) used greatest stack depth: 5824 bytes left
    [ 6.940353] Key type asymmetric registered
    [ 6.944914] Asymmetric key parser 'x509' registered
    [ 6.950373] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 6.958592] io scheduler noop registered
    [ 6.963101] io scheduler deadline registered
    [ 6.971642] io scheduler cfq registered (default)
    [ 6.976802] io scheduler mq-deadline registered
    [ 6.981418] io scheduler kyber registered
    [ 6.992088] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [ 7.002584] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [ 7.015170] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [ 7.024921] ti,keystone-serdes 2326000.phy: Unbalanced pm_runtime_enable!
    [ 7.032398] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [ 7.046559] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [ 7.058895] ti,keystone-serdes 232a000.phy: Unbalanced pm_runtime_enable!
    [ 7.069771] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [ 7.120299] keystone-pcie 21020000.pcie: host bridge /soc@0/pcie@21020000 ranges:
    [ 7.128101] keystone-pcie 21020000.pcie: IO 0x60000000..0x600fffff -> 0x00000000
    [ 7.136325] keystone-pcie 21020000.pcie: MEM 0x60100000..0x6fffffff -> 0x60100000
    [ 8.155511] keystone-pcie 21020000.pcie: Phy link never came up
    [ 8.164375] keystone-pcie 21020000.pcie: PCI host bridge to bus 0000:00
    [ 8.171114] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 8.176770] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
    [ 8.183260] pci_bus 0000:00: root bus resource [mem 0x60100000-0x6fffffff]
    [ 8.190536] pci 0000:00:00.0: ignoring class 0x060400 (doesn't match header type 00)
    [ 8.198871] pci 0000:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 8.000 Gb/s with 5 GT/s x2 link)
    [ 8.217460] PCI: bus0: Fast back to back transfers disabled
    [ 8.226147] keystone-pcie 21020000.pcie: Unbalanced pm_runtime_enable!
    [ 8.233213] keystone-pcie 21020000.pcie: host bridge /soc@0/pcie@21020000 ranges:
    [ 8.240893] keystone-pcie 21020000.pcie: IO 0x60000000..0x600fffff -> 0x00000000
    [ 8.248849] keystone-pcie 21020000.pcie: MEM 0x60100000..0x6fffffff -> 0x60100000
    [ 9.259591] keystone-pcie 21020000.pcie: Phy link never came up
    [ 9.268272] keystone-pcie 21020000.pcie: PCI host bridge to bus 0001:00
    [ 9.275137] pci_bus 0001:00: root bus resource [bus 00-ff]
    [ 9.280702] pci_bus 0001:00: root bus resource [io 0x0000-0xfffff]
    [ 9.287204] pci_bus 0001:00: root bus resource [mem 0x60100000-0x6fffffff]
    [ 9.294490] pci 0001:00:00.0: ignoring class 0x060400 (doesn't match header type 00)
    [ 9.302744] pci 0001:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 8.000 Gb/s with 5 GT/s x2 link)
    [ 9.321056] PCI: bus0: Fast back to back transfers disabled
    [ 10.215280] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 10.291269] console [ttyS0] disabled
    [ 10.506551] console [ttyS0] disabled
    [ 10.510602] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 14583333) is a TI DA8xx/66AK2x
    [ 10.521172] console [ttyS0] enabled
    [ 10.521172] console [ttyS0] enabled
    [ 10.528426] bootconsole [earlycon0] disabled
    [ 10.528426] bootconsole [earlycon0] disabled
    [ 10.558887] console [ttyS0] disabled
    [ 10.585874] console [ttyS0] enabled
    [ 10.612058] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 14583333) is a TI DA8xx/66AK2x
    [ 10.665466] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 14583333) is a TI DA8xx/66AK2x
    [ 11.062613] brd: module loaded
    [ 11.205560] loop: module loaded
    [ 11.271448] libphy: Fixed MDIO Bus: probed
    [ 11.361867] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7, bus freq 2500000
    [ 11.369613] libphy: 24200f00.mdio: probed
    [ 11.389369] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 11.398477] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 11.409205] random: get_random_u32 called from get_signal_page+0x38/0x7c with crng_init=0
    [ 11.452333] modprobe (60) used greatest stack depth: 5072 bytes left
    [ 11.495799] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510
    [ 11.504944] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1510
    [ 11.581860] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7, bus freq 2500000
    [ 11.589589] libphy: 24200f00.mdio: probed
    [ 11.628616] modprobe (62) used greatest stack depth: 4920 bytes left
    [ 11.670703] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510
    [ 11.680072] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1510
    [ 11.696081] i2c /dev entries driver
    [ 11.731892] sdhci: Secure Digital Host Controller Interface driver
    [ 11.738124] sdhci: Copyright(c) Pierre Ossman
    [ 11.745499] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 11.800208] NET: Registered protocol family 10
    [ 11.825289] Segment Routing with IPv6
    [ 11.829634] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 11.843866] NET: Registered protocol family 17
    [ 11.850809] Key type dns_resolver registered
    [ 11.862237] Registering SWP/SWPB emulation handler
    [ 11.875430] Loading compiled-in X.509 certificates
    [ 11.991675] hctosys: unable to open rtc device (rtc0)
    [ 12.007848] ALSA device list:
    [ 12.010859] No soundcards found.
    [ 12.014704] Warning: unable to open an initial console.
    [ 12.216739] Freeing unused kernel memory: 18432K
    [ 12.223076] Checked W+X mappings: passed, no W+X pages found
    [ 12.228807] rodata_test: all tests were successful
    [ 12.233696] Run /sbin/init as init process
    [ 12.633156] _warn_unseeded_randomness: 23 callbacks suppressed
    [ 12.633172] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 12.935281] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 12.944371] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 13.652883] _warn_unseeded_randomness: 60 callbacks suppressed
    [ 13.652897] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 13.678444] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 13.687594] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 14.558045] ifconfig (117) used greatest stack depth: 4536 bytes left
    [ 14.679956] _warn_unseeded_randomness: 98 callbacks suppressed
    [ 14.679970] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 14.758515] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 14.767691] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 15.712259] _warn_unseeded_randomness: 55 callbacks suppressed
    [ 15.712273] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 15.800182] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 15.819126] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 16.797409] _warn_unseeded_randomness: 49 callbacks suppressed
    [ 16.797422] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 16.871237] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 16.890195] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 17.804744] _warn_unseeded_randomness: 36 callbacks suppressed
    [ 17.804758] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 17.836724] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 17.851370] random: get_random_u32 called from arch_setup_additional_pages+0x8c/0x138 with crng_init=0
    [ 18.848722] _warn_unseeded_randomness: 46 callbacks suppressed
    [ 18.848735] random: get_random_u32 called from copy_process.part.5+0x1f0/0x1f04 with crng_init=0
    [ 18.919971] random: get_random_u32 called from arch_pick_mmap_layout+0xc0/0xe8 with crng_init=0
    [ 18.938844] random: get_random_u32 called from load_elf_binary+0x3b4/0xdcc with crng_init=0
    [ 52.331877] _warn_unseeded_randomness: 20 callbacks suppressed
    [ 52.331896] random: get_random_bytes called from __prandom_timer+0x2c/0x90 with crng_init=0

    Thank you,

    Best Regards,

    Srt

  • Hello community,

    I reported some different problems about kernel boot. Now i get Arago console successfully.

    I noticed im using cpio file with gzip but kernel not support gzip, So i added 'CONFIG_INITRAMFS_COMPRESSION_GZIP=y' to my tisdk_k2e-evm-rt_defconfig file. And it boots.

    Thank you all,

    Best Regards,

    Srt