This is a cache of https://discuss.96boards.org/t/getting-kernel-panic-on-hikey620-board-by-compile-the-source-by-self-build-toochain/4778. It is a snapshot of the page at 2024-11-01T08:30:33.005+0000.
Getting kernel panic on hikey620 board by compile the source by self build toochain - HiKey 960 - 96Boards Forum

Getting kernel panic on hikey620 board by compile the source by self build toochain

I’ve build the hikey_linux_master kernel using toolchain created by m.
Getting below error, kindly help me resolve the issue please

[ 8.925611] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 8.938742] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.1.15 #1
[ 8.945875] Hardware name: HiKey Development Board (DT)
[ 8.951096] Call trace:
[ 8.953550] [] dump_backtrace+0x0/0x12c
[ 8.958949] [] show_stack+0x14/0x1c
[ 8.964003] [] dump_stack+0x7c/0xc4
[ 8.969053] [] panic+0xe8/0x230
[ 8.973757] [] create_mapping.constprop.12+0x0/0x6c
[ 8.980198] CPU5: stopping
[ 8.982909] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G W 4.1.15 #1
[ 8.990041] Hardware name: HiKey Development Board (DT)
[ 8.995261] Call trace:
[ 8.997708] [] dump_backtrace+0x0/0x12c
[ 9.003106] [] show_stack+0x14/0x1c
[ 9.008157] [] dump_stack+0x7c/0xc4
[ 9.013209] [] handle_IPI+0x170/0x17c
[ 9.018432] [] gic_handle_irq+0x7c/0x80
[ 9.023828] Exception stack(0xffffffc03440be00 to 0xffffffc03440bf20)
[ 9.030270] be00: 00c3b000 ffffffc0 0094d000 ffffffc0 3440bf40 ffffffc0 00085fd4 ffffffc0
[ 9.038448] be20: 00000000 00000000 3440bf50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.046625] be40: 00000000 00000000 00000000 00000000 05fcada8 ffffffc0 39f851b0 ffffffc0
[ 9.054803] be60: 05ffa870 ffffffc0 3440be90 ffffffc0 ffff8e4c 00000000 0094ea70 ffffffc0
[ 9.062981] be80: 01010101 01010101 00000018 00000000 fffffffe 0fffffff 0000000c 00000000
[ 9.071159] bea0: 0008a0c0 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.079336] bec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.087514] bee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.095692] bf00: 00c3b000 ffffffc0 3440bf40 ffffffc0 00085fd0 ffffffc0 3440bf40 ffffffc0
[ 9.103869] [] el1_irq+0x68/0xd8
[ 9.108660] [] cpu_startup_entry+0x23c/0x30c
[ 9.114491] [] secondary_start_kernel+0x114/0x138
[ 9.120754] CPU7: stopping
[ 9.123461] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G W 4.1.15 #1
[ 9.130593] Hardware name: HiKey Development Board (DT)
[ 9.135813] Call trace:
[ 9.138258] [] dump_backtrace+0x0/0x12c
[ 9.143656] [] show_stack+0x14/0x1c
[ 9.148707] [] dump_stack+0x7c/0xc4
[ 9.153757] [] handle_IPI+0x170/0x17c
[ 9.158979] [] gic_handle_irq+0x7c/0x80
[ 9.164375] Exception stack(0xffffffc034417e00 to 0xffffffc034417f20)
[ 9.170816] 7e00: 00c3b000 ffffffc0 0094d000 ffffffc0 34417f40 ffffffc0 00085fd4 ffffffc0
[ 9.178993] 7e20: 00000000 00000000 34417f50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.187171] 7e40: 00000000 00000000 00000010 00000000 2888f980 00000002 39fa31b0 ffffffc0
[ 9.195348] 7e60: 3440c8b0 ffffffc0 34417e90 ffffffc0 ffff8e4a 00000000 0094ea70 ffffffc0
[ 9.203526] 7e80: 00008868 00000000 ffffffff 00000000 00000000 00000000 0000000c 00000000
[ 9.211704] 7ea0: 0007b840 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.219881] 7ec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.228059] 7ee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.236237] 7f00: 00c3b000 ffffffc0 34417f40 ffffffc0 00085fd0 ffffffc0 34417f40 ffffffc0
[ 9.244413] [] el1_irq+0x68/0xd8
[ 9.249202] [] cpu_startup_entry+0x23c/0x30c
[ 9.255033] [] secondary_start_kernel+0x114/0x138
[ 9.261296] CPU4: stopping
[ 9.264003] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G W 4.1.15 #1
[ 9.271134] Hardware name: HiKey Development Board (DT)
[ 9.276354] Call trace:
[ 9.278800] [] dump_backtrace+0x0/0x12c
[ 9.284197] [] show_stack+0x14/0x1c
[ 9.289248] [] dump_stack+0x7c/0xc4
[ 9.294298] [] handle_IPI+0x170/0x17c
[ 9.299522] [] gic_handle_irq+0x7c/0x80
[ 9.304917] Exception stack(0xffffffc034403e00 to 0xffffffc034403f20)
[ 9.311358] 3e00: 00c3b000 ffffffc0 0094d000 ffffffc0 34403f40 ffffffc0 00085fd4 ffffffc0
[ 9.319536] 3e20: 00000000 00000000 34403f50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.327714] 3e40: 00000000 00000000 00000010 00000000 1313cf80 00000002 39f761b0 ffffffc0
[ 9.335892] 3e60: 05ffb4b0 ffffffc0 34403e90 ffffffc0 ffff8e4b 00000000 0094ea70 ffffffc0
[ 9.344070] 3e80: 000ea600 00000000 ffffffff 00000000 ffffffff 00000000 0000000c 00000000
[ 9.352247] 3ea0: 000e6140 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.360426] 3ec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.368603] 3ee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.376781] 3f00: 00c3b000 ffffffc0 34403f40 ffffffc0 00085fd0 ffffffc0 34403f40 ffffffc0
[ 9.384957] [] el1_irq+0x68/0xd8
[ 9.389746] [] cpu_startup_entry+0x23c/0x30c
[ 9.395577] [] secondary_start_kernel+0x114/0x138
[ 9.401841] CPU6: stopping
[ 9.404548] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G W 4.1.15 #1
[ 9.411680] Hardware name: HiKey Development Board (DT)
[ 9.416900] Call trace:
[ 9.419345] [] dump_backtrace+0x0/0x12c
[ 9.424743] [] show_stack+0x14/0x1c
[ 9.429793] [] dump_stack+0x7c/0xc4
[ 9.434843] [] handle_IPI+0x170/0x17c
[ 9.440066] [] gic_handle_irq+0x7c/0x80
[ 9.445461] Exception stack(0xffffffc034413e00 to 0xffffffc034413f20)
[ 9.451902] 3e00: 00c3b000 ffffffc0 0094d000 ffffffc0 34413f40 ffffffc0 00085fd4 ffffffc0
[ 9.460079] 3e20: 00000000 00000000 34413f50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.468257] 3e40: 00000000 00000000 00000010 00000000 4b1b1280 00000002 39f941b0 ffffffc0
[ 9.476435] 3e60: 3440d4f0 ffffffc0 34413e90 ffffffc0 ffff8e49 00000000 ffffffff ffffffff
[ 9.484612] 3e80: 00000cd9 00000000 00000cd9 00000000 000c8000 00000000 0000000c 00000000
[ 9.492790] 3ea0: 000eaec0 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.500967] 3ec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.509145] 3ee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.517323] 3f00: 00c3b000 ffffffc0 34413f40 ffffffc0 00085fd0 ffffffc0 34413f40 ffffffc0
[ 9.525499] [] el1_irq+0x68/0xd8
[ 9.530288] [] cpu_startup_entry+0x23c/0x30c
[ 9.536119] [] secondary_start_kernel+0x114/0x138
[ 9.542384] CPU2: stopping
[ 9.545093] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G W 4.1.15 #1
[ 9.552225] Hardware name: HiKey Development Board (DT)
[ 9.557445] Call trace:
[ 9.559890] [] dump_backtrace+0x0/0x12c
[ 9.565288] [] show_stack+0x14/0x1c
[ 9.570339] [] dump_stack+0x7c/0xc4
[ 9.575388] [] handle_IPI+0x170/0x17c
[ 9.580611] [] gic_handle_irq+0x7c/0x80
[ 9.586007] Exception stack(0xffffffc005ff7e00 to 0xffffffc005ff7f20)
[ 9.592448] 7e00: 00c3b000 ffffffc0 0094d000 ffffffc0 05ff7f40 ffffffc0 00085fd4 ffffffc0
[ 9.600626] 7e20: 00000000 00000000 05ff7f50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.608803] 7e40: 00000000 00000000 00000000 00000000 3461c768 ffffffc0 00000000 00000000
[ 9.616981] 7e60: 05feb470 ffffffc0 05ff7e90 ffffffc0 00000003 00000000 aaaaaaab aaaaaaaa
[ 9.625159] 7e80: 00001f40 00000000 ffffffff 00000000 00000000 00000000 0000000c 00000000
[ 9.633336] 7ea0: 0003c8c0 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.641514] 7ec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.649692] 7ee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.657870] 7f00: 00c3b000 ffffffc0 05ff7f40 ffffffc0 00085fd0 ffffffc0 05ff7f40 ffffffc0
[ 9.666046] [] el1_irq+0x68/0xd8
[ 9.670835] [] cpu_startup_entry+0x23c/0x30c
[ 9.676666] [] secondary_start_kernel+0x114/0x138
[ 9.682929] CPU3: stopping
[ 9.685636] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G W 4.1.15 #1
[ 9.692768] Hardware name: HiKey Development Board (DT)
[ 9.697988] Call trace:
[ 9.700434] [] dump_backtrace+0x0/0x12c
[ 9.705832] [] show_stack+0x14/0x1c
[ 9.710882] [] dump_stack+0x7c/0xc4
[ 9.715932] [] handle_IPI+0x170/0x17c
[ 9.721155] [] gic_handle_irq+0x7c/0x80
[ 9.726550] Exception stack(0xffffffc005fffe00 to 0xffffffc005ffff20)
[ 9.732991] fe00: 00c3b000 ffffffc0 0094d000 ffffffc0 05ffff40 ffffffc0 00085fd4 ffffffc0
[ 9.741169] fe20: 00000000 00000000 05ffff50 ffffffc0 00000000 00000000 00000001 00000000
[ 9.749347] fe40: 00000000 00000000 00000000 00000000 33dbd128 ffffffc0 00000001 00000000
[ 9.757524] fe60: 05fea830 ffffffc0 05fffe90 ffffffc0 00000155 00000000 aaaaaaab aaaaaaaa
[ 9.765702] fe80: 00015cc0 00000000 ffffffff 00000000 00000000 00000000 0000000c 00000000
[ 9.773879] fea0: 00015cc0 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 9.782057] fec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 9.790235] fee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 9.798413] ff00: 00c3b000 ffffffc0 05ffff40 ffffffc0 00085fd0 ffffffc0 05ffff40 ffffffc0
[ 9.806589] [] el1_irq+0x68/0xd8
[ 9.811378] [] cpu_startup_entry+0x23c/0x30c
[ 9.813528] SMP: failed to stop secondary CPUs
[ 9.813533] drm_kms_helper: panic occurred, switching back to text console
[ 9.813601] ------------[ cut here ]------------
[ 9.813611] WARNING: CPU: 0 PID: 0 at kernel/workqueue.c:818 wq_worker_waking_up+0x7c/0x8c()
[ 9.841551] [] secondary_start_kernel+0x114/0x138
[ 9.847815] CPU1: stopping
[ 9.847819] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.15 #1
[ 9.847825] Hardware name: HiKey Development Board (DT)
[ 9.847828] Call trace:
[ 9.847834] [] dump_backtrace+0x0/0x12c
[ 9.847840] [] show_stack+0x14/0x1c
[ 9.847846] [] dump_stack+0x7c/0xc4
[ 9.847853] [] warn_slowpath_common+0x90/0xc8
[ 9.847858] [] warn_slowpath_null+0x18/0x20
[ 9.847862] [] wq_worker_waking_up+0x7c/0x8c
[ 9.847870] [] ttwu_do_activate.constprop.76+0x54/0x70
[ 9.847877] [] try_to_wake_up+0x27c/0x30c
[ 9.847883] [] default_wake_function+0x10/0x18
[ 9.847890] [] __wake_up_common+0x60/0xa0
[ 9.847896] [] __wake_up_locked+0x14/0x1c
[ 9.847900] [] complete+0x40/0x5c
[ 9.847909] [] tx_tick+0x70/0x80
[ 9.847914] [] mbox_chan_txdone+0x14/0x34
[ 9.847920] [] hisi_mbox_interrupt+0x154/0x1dc
[ 9.847928] [] handle_irq_event_percpu+0x58/0x144
[ 9.847935] [] handle_irq_event+0x4c/0x78
[ 9.847941] [] handle_fasteoi_irq+0xe4/0x198
[ 9.847947] [] generic_handle_irq+0x34/0x4c
[ 9.847953] [] __handle_domain_irq+0x88/0xf0
[ 9.847958] [] gic_handle_irq+0x34/0x80
[ 9.847962] Exception stack(0xffffffc000c37a80 to 0xffffffc000c37ba0)
[ 9.847970] 7a80: 00000000 00000000 00c3a000 ffffffc0 00c37bc0 ffffffc0 000b3584 ffffffc0
[ 9.847977] 7aa0: 00000000 00000000 00cbf880 ffffffc0 00b3d668 ffffffc0 00c34000 ffffffc0
[ 9.847985] 7ac0: 00000102 00000000 fffffff0 ffffffff 45253180 00000002 00cc1288 ffffffc0
[ 9.847992] 7ae0: 00000020 00000000 00c37e40 ffffffc0 0094ea74 ffffffc0 0094ea70 ffffffc0
[ 9.847998] 7b00: 000002ee 000002d5 000002da 000002ee 00000000 00000000 00000000 00000000
[ 9.848005] 7b20: 0001aa40 00000000 00000007 00000000 0000000e 00000000 00000000 00000000
[ 9.848011] 7b40: 00c3a000 ffffffc0 00b2fed8 ffffffc0 00c24af8 ffffffc0 00000000 00000000
[ 9.848018] 7b60: 00cbf000 ffffffc0 05f0c000 ffffffc0 ffff8e4c 00000000 00000282 00000000
[ 9.848025] 7b80: 00b303c8 ffffffc0 00c37bc0 ffffffc0 000b3574 ffffffc0 00c37bc0 ffffffc0
[ 9.848030] [] el1_irq+0x68/0xd8
[ 9.848036] [] irq_exit+0x98/0xc8
[ 9.848042] [] __handle_domain_irq+0x8c/0xf0
[ 9.848046] [] gic_handle_irq+0x34/0x80
[ 9.848049] Exception stack(0xffffffc000c37cd0 to 0xffffffc000c37df0)
[ 9.848054] 7cc0: 00000000 00000000 39f3cfc0 ffffffc0
[ 9.848061] 7ce0: 00c37e10 ffffffc0 0093d618 ffffffc0 39f3cfc0 ffffffc0 000018da 00000000
[ 9.848068] 7d00: 00c37e20 ffffffc0 05f9aca8 ffffffc0 00000002 00000000 00009424 00000000
[ 9.848074] 7d20: 00000000 00000000 0000000e 00000000 00c4b4e0 ffffffc0 00c37e40 ffffffc0
[ 9.848081] 7d40: 00000000 00000000 00000000 00000000 000002ee 000002d5 000002da 000002ee
[ 9.848088] 7d60: 00000000 00000000 00000000 00000000 0001aa40 00000000 00000007 00000000
[ 9.848095] 7d80: 0000000e 00000000 00000000 00000000 39f3cfc0 ffffffc0 39f3cfc0 ffffffc0
[ 9.848102] 7da0: 00c5b090 ffffffc0 05f9ac80 ffffffc0 00000002 00000000 00c24b40 ffffffc0
[ 9.848109] 7dc0: 00bc7000 ffffffc0 00000000 00000000 00c3b000 ffffffc0 00c37e10 ffffffc0
[ 9.848114] 7de0: 000cf500 ffffffc0 00c37e10 ffffffc0
[ 9.848119] [] el1_irq+0x68/0xd8
[ 9.848126] [] finish_task_switch+0x70/0x1d4
[ 9.848132] [] __schedule+0x2dc/0x764
[ 9.848137] [] schedule+0x34/0x8c
[ 9.848142] [] schedule_preempt_disabled+0x14/0x24
[ 9.848147] [] cpu_startup_entry+0x108/0x30c
[ 9.848152] [] rest_init+0x84/0x8c
[ 9.848161] [] start_kernel+0x398/0x3ac
[ 9.848165] —[ end trace 28c80d474d3b1a43 ]—
[ 9.848318] ------------[ cut here ]------------
[ 9.848327] WARNING: CPU: 0 PID: 508 at kernel/workqueue.c:854 wq_worker_sleeping+0xc8/0xd4()
[ 9.848332] CPU: 0 PID: 508 Comm: kworker/3:1 Tainted: G W 4.1.15 #1
[ 9.848335] Hardware name: HiKey Development Board (DT)
[ 9.848347] Workqueue: events od_dbs_timer
[ 9.848348] Call trace:
[ 9.848354] [] dump_backtrace+0x0/0x12c
[ 9.848360] [] show_stack+0x14/0x1c
[ 9.848366] [] dump_stack+0x7c/0xc4
[ 9.848371] [] warn_slowpath_common+0x90/0xc8
[ 9.848376] [] warn_slowpath_null+0x18/0x20
[ 9.848381] [] wq_worker_sleeping+0xc8/0xd4
[ 9.848385] [] __schedule+0x4ac/0x764
[ 9.848389] [] schedule+0x34/0x8c
[ 9.848395] [] schedule_timeout+0x114/0x1d8
[ 9.848399] [] wait_for_common+0xbc/0x148
[ 9.848404] [] wait_for_completion_timeout+0x10/0x18
[ 9.848410] [] mbox_send_message+0xac/0x13c
[ 9.848416] [] hi6220_stub_clk_set_rate+0x58/0x94
[ 9.848421] [] clk_change_rate+0x11c/0x170
[ 9.848426] [] clk_core_set_rate_nolock+0x68/0xd4
[ 9.848432] [] clk_set_rate+0x28/0x3c
[ 9.848438] [] set_target+0x1fc/0x260
[ 9.848445] [] __cpufreq_driver_target+0x150/0x288
[ 9.848449] [] od_check_cpu+0xc8/0xd4
[ 9.848454] [] dbs_check_cpu+0x18c/0x1d8
[ 9.848466] [] od_dbs_timer+0x88/0x150
[ 9.848493] [] process_one_work+0x13c/0x32c
[ 9.848519] [] worker_thread+0x138/0x458
[ 9.848552] [] kthread+0xd8/0xec
[ 9.848567] —[ end trace 28c80d474d3b1a44 ]—
[ 9.848780] ------------[ cut here ]------------
[ 9.848787] WARNING: CPU: 0 PID: 508 at kernel/workqueue.c:1570 worker_enter_idle+0xf8/0x164()
[ 9.848792] CPU: 0 PID: 508 Comm: kworker/3:1 Tainted: G W 4.1.15 #1
[ 9.848794] Hardware name: HiKey Development Board (DT)
[ 9.848802] Call trace:
[ 9.848807] [] dump_backtrace+0x0/0x12c
[ 9.848812] [] show_stack+0x14/0x1c
[ 9.848817] [] dump_stack+0x7c/0xc4
[ 9.848821] [] warn_slowpath_common+0x90/0xc8
[ 9.848825] [] warn_slowpath_null+0x18/0x20
[ 9.848829] [] worker_enter_idle+0xf8/0x164
[ 9.848833] [] worker_thread+0x1a8/0x458
[ 9.848837] [] kthread+0xd8/0xec
[ 9.848839] —[ end trace 28c80d474d3b1a45 ]—
[ 10.463518] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G W 4.1.15 #1
[ 10.470649] Hardware name: HiKey Development Board (DT)
[ 10.475868] Call trace:
[ 10.478311] [] dump_backtrace+0x0/0x12c
[ 10.483707] [] show_stack+0x14/0x1c
[ 10.488755] [] dump_stack+0x7c/0xc4
[ 10.493802] [] handle_IPI+0x170/0x17c
[ 10.499023] [] gic_handle_irq+0x7c/0x80
[ 10.504417] Exception stack(0xffffffc005ff3e00 to 0xffffffc005ff3f20)
[ 10.510856] 3e00: 00c3b000 ffffffc0 0094d000 ffffffc0 05ff3f40 ffffffc0 00085fd4 ffffffc0
[ 10.519031] 3e20: 00000000 00000000 05ff3f50 ffffffc0 00000000 00000000 00000001 00000000
[ 10.527207] 3e40: 00000000 00000000 00000010 00000000 0a6fc900 00000003 39f491b0 ffffffc0
[ 10.535382] 3e60: 00000000 00000000 00000080 00000000 ffff8e39 00000000 0094ea70 ffffffc0
[ 10.543557] 3e80: 00000cd9 00000000 00000cd9 00000000 000c8000 00000000 0000000c 00000000
[ 10.551733] 3ea0: 0000c1c0 00000000 00000007 00000000 0000000e 00000000 00c3b000 ffffffc0
[ 10.559908] 3ec0: 0094d000 ffffffc0 00000000 00000000 00000000 00000000 00c291a0 ffffffc0
[ 10.568084] 3ee0: 00c29fc0 ffffffc0 00c24b40 ffffffc0 00bc7000 ffffffc0 00000000 00000000
[ 10.576259] 3f00: 00c3b000 ffffffc0 05ff3f40 ffffffc0 00085fd0 ffffffc0 05ff3f40 ffffffc0
[ 10.584433] [] el1_irq+0x68/0xd8
[ 10.589220] [] cpu_startup_entry+0x23c/0x30c
[ 10.595050] [] secondary_start_kernel+0x114/0x138
[ 12.962299] random: nonblocking pool is initialized

Seems like the kernel doesn’t find ‘init’ program in file system. So please check if you have mount root fs from MMC or you are using proper ramdisk image.

Thank you leo-yan… :slight_smile:
Let me try

That is rather difficult because you’ve deleted the top half of the log. Please share full logs using a pastebin or github gist.

Actually It is not allowing me to attached below log.
Today I tried with ubuntu root fs and getting below error

[ 8.830778] No soundcards found.
[ 8.844771] uart-pl011 f7113000.uart: no DMA platform data
[ 8.850528] RAMDISK: Couldn’t find valid RAM disk image starting at 0.
[ 8.960997] EXT4-fs (mmcblk1p2): recovery complete
[ 8.972970] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 8.981114] VFS: Mounted root (ext4 filesystem) on device 179:194.
[ 8.987517] Freeing unused kernel memory: 348K (ffffffc000bd5000 - ffffffc000c2c000)
[ 8.995301] Freeing alternatives memory: 12K (ffffffc000c2c000 - ffffffc000c2f000)
[!!!] Failed to early mount API filesystems, freezing.
[ 9.264103] random: nonblocking pool is initialized
[ 9.342983] (stk) :ldisc installation timeout
[ 9.347199] (stk) :ldisc_install = 0[ 9.353581] cfg80211: Calling CRDA to update world regulatory domain
[ 10.343074] (stk) : timed out waiting for ldisc to be un-installed
[ 10.456144] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 11.455969] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 12.503329] cfg80211: Calling CRDA to update world regulatory domain
[ 12.564795] (stk) :ldisc_install = 1
[ 13.103148] (hci_tty): called dumb_hci_callback
[ 13.563078] (stk) :ldisc installation timeout
[ 13.567292] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 14.674816] (stk) :ldisc_install = 1[ 15.653390] cfg80211: Calling CRDA to update world regulatory domain
[ 15.673013] (stk) :ldisc installation timeout
[ 15.677235] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 16.784805] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 17.785972] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 18.803316] cfg80211: Calling CRDA to update world regulatory domain
[ 18.894810] (stk) :ldisc_install = 1
[ 19.893070] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
[ 20.893108] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
[ 21.953196] cfg80211: Calling CRDA to update world regulatory domain
[ 22.003042] (stk) :ldisc installation timeout
[ 22.007258] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 23.114818] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 24.115976] (stk) :ldisc_install = 0[ 25.103186] cfg80211: Calling CRDA to update world regulatory domain
[ 25.113071] (stk) : timed out waiting for ldisc to be un-installed
[ 25.226094] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 26.225977] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 27.229808] Bluetooth: st_register failed -22
[ 28.253183] cfg80211: Calling CRDA to update world regulatory domain
[ 31.403168] cfg80211: Calling CRDA to update world regulatory domain
[ 34.553183] cfg80211: Calling CRDA to update world regulatory domain
[ 37.703173] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 68.723796] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 68.734640] wl18xx_driver wl18xx.0.auto: Falling back to user helper

I found it only can enclose pictures but not log file.

The root FS mounting device node is a bit suspicious for me. Usually, I use ‘system’ partition in UFS to flash Debian root FS, so its device node should be ‘/dev/sdd13’. Are you using SD card as root fs?

Another thing is: could you confirm what’s your building method for boot.img?

For a reference, you could check the prebuilt boot.img + Debian rootFS for Hikey960 [1][2], they can work well at my side. After that I think you could replace with your built kernel in Debian system.

[1] http://snapshots.linaro.org/96boards/hikey/linaro/debian/latest/boot-linaro-stretch-developer-hikey-20180212-17.img.gz
[2] http://snapshots.linaro.org/96boards/hikey/linaro/debian/latest/rootfs-linaro-stretch-developer-hikey-20180212-17.img.gz

Yes I am using SD card…
I will try to bring up the machine with below links

Once I download the rootfs from the link…
After extracting the file it creates the img file…from img file gain I tried to compress but not generating the actual file system in (like /bin /usr /tmp etc way)
Kindly help how to extract the file

Usually I use below command to use the the image:

gunzip rootfs-linaro-stretch-developer-hikey-20180212-17.img.gz
fastboot flash system rootfs-linaro-stretch-developer-hikey-20180212-17.img

I also tried the same to extract the file but getting the same error

Is this image worked with u-boot or uefi?
Here I’m using the u-boot

Can you please help me out how to setup pastebin or github gist to share the full logs?

The following command for bootargs from u-boot

setenv bootargs ‘console=ttyAMA3,115200 earlycon=pl011,0xf7113000 root=/dev/mmcblk1p2 rw rootfstype=ext4’

setenv bootcmd ‘fatload mmc 1:1 0x10008000 Image; fatload mmc 1:1 0x13000000 hi6220-hikey.dtb;booti 0x10008000 - 0x13000000’

#boot

I use UEFI; I even don’t know there have u-boot support for Hikey960 :slight_smile: Please note, the linkage I shared http://snapshots.linaro.org/96boards/hikey/linaro/debian/latest/boot-linaro-stretch-developer-hikey-20180212-17.img.gz which is verified with UEFI but I don’t think uboot can support it.

You could use webpage https://pastebin.com/ to copy log, or I think you could use the commands in ubuntu to send logs to pastebin.com:

sudo apt-get install pastebinit
pastebinit -i shared.log -b http://pastebin.com

Yeah, please share your log, we will see if can find any clue.

Thanks Leo////I will share the log…

I’d uploaded the log file on github gist.
Kindly help me to find the clue to resolve the issue plz

console=ttyAMA3,115200

Should be “console=ttyAMA6,115200”?