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