Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trying to port for RK3562 but kernel panicked

Featured Replies

Starting kernel ...

[   11.131621] Kernel panic - not syncing: panic_on_set_idle set ...
[   11.132177] CPU: 1 PID: 47 Comm: kworker/u8:3 Not tainted 6.1.115-vendor-rk35xx #1
[   11.132851] Hardware name: PinusCore RK3562 (DT)
[   11.133272] Workqueue: events_unbound async_run_entry_fn
[   11.133760] Call trace:
[   11.133986]  dump_backtrace+0xe8/0x124
[   11.134332]  show_stack+0x20/0x30
[   11.134641]  dump_stack_lvl+0x6c/0x88
[   11.134975]  dump_stack+0x18/0x34
[   11.135283]  panic+0x138/0x310
[   11.135573]  rockchip_pmu_set_idle_request+0x114/0x1d8
[   11.136043]  rockchip_pd_power+0x424/0x480
[   11.136419]  rockchip_pd_power_on+0x24/0x38
[   11.136798]  _genpd_power_on+0xbc/0x150
[   11.137154]  genpd_power_on+0x5c/0x14c
[   11.137500]  __genpd_dev_pm_attach+0x1ac/0x280
[   11.137903]  genpd_dev_pm_attach+0x68/0x6c
[   11.138281]  dev_pm_domain_attach+0x20/0x3c
[   11.138660]  platform_probe+0x58/0xc0
[   11.138992]  really_probe+0x1cc/0x390
[   11.139326]  __driver_probe_device+0x140/0x158
[   11.139729]  driver_probe_device+0x44/0x100
[   11.140108]  __device_attach_driver+0x110/0x124
[   11.140520]  bus_for_each_drv+0xa8/0xd4
[   11.140876]  __device_attach_async_helper+0x7c/0xf8
[   11.141322]  async_run_entry_fn+0x6c/0x14c
[   11.141698]  process_one_work+0x1b8/0x268
[   11.142065]  worker_thread+0x1e8/0x254
[   11.142409]  kthread+0xc0/0xd0
[   11.142697]  ret_from_fork+0x10/0x20
[   11.143029] SMP: stopping secondary CPUs
[   11.143382] CPU2: stopping
[   11.143382] CPU3: stopping
[ 3382] CPU0: stopping
[   11.143385] CPU: 2 PID: 9 Comm: kworker/u8:0 Not tainted 6.1.115-vendor-rk35xx #1
[   11.143390] Hardware name: PinusCore RK3562 (DT)
[   11.143393] Workqueue: events_unbound deferred_probe_work_func
[   11.143401] Call trace:
[   11.143402]  dump_backtrace+0xe8/0x124
[   11.143408]  show_stack+0x20/0x30
[   11.143413]  dump_stack_lvl+0x6c/0x88
[   11.143418]  dump_stack+0x18/0x34
[   11.143423]  local_cpu_stop+0x4c/0x6c
[   11.143428]  ipi_handler+0xe0/0x1d0
[   11.143433]  handle_percpu_devid_irq+0x70/0x128
[   11.143441]  harq+0x24/0x30
[   11.143450]  gic_handle_irq+0x8c/0xa8
[   11.143455]  call_on_irq_stack+0x24/0x4c
[   11.143460]  do_interrupt_handler+0x78/0xc4
[   11.143467]  el1_interrupt+0x90/0xa0
[   11.143472]  el1h_64_irq_handler+0x18/0x24
[   11.143478]  el1h_64_irq+0x74/0x78
[   11.143483]  rcu_all_qs+0x1c/0x84
[   11.143489]  __cond_resched+0x54/0x5c
[   11.143495]  rockchip_dmcfreq_opp_set_rate+0x2a0/0x46c
[   11.143502]  rockchip_dmcx1c8
[   11.143513]  devfreq_update_target+0x98/0xd8
[   11.143517]  update_devfreq+0x1c/0x28
[   11.143521]  rockchip_dmcfreq_system_status_notifier+0x1c4/0x200
[   11.143527]  notifier_call_chain+0x74/0x94
[   11.143534]  blocking_notifier_call_chain+0x4c/0x78
[   11.143541]  rockchip_system_status_notifier_call_chain.isra.0+0x28/0x34
[   11.143547]  rockchip_set_system_status+0x68/0xc4
[   11.143552]  rockchip_dmcfreq_probe+0xe34/0xe6c
[   11.143557]  platform_probe+0x70/0xc0
[   11.143562]  really_probe+0x1cc/0x390
[   11.143568]  __driver_probe_device+0x140/0x158
[   11.143575]  driver_probe_device+0x44/0x100
   11.143581]  __device_attach_driver+0x110/0x124
[   11.143588]  bus_for_each_drv+0xa8/0xd4
[   11.143593]  __device_attach+0xf0/0x174
[   11.143600]  device_initial_probe+0x1c/0x28
[   11.143606]  bus_probe_device+0x38/0x9c
[   11.143612]  deferred_probe_work_func+0xd8/0xec
[   11.143618]  process_one_work
                                [   11.143631]  worker_thread+0x1fc/0x254
[   11.143636]  kthread+0xc0/0xd0
[   11.143642]  ret_from_fork+0x10/0x20
[   11.143647] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.115-vendor-rk35xx #1
[   11.143652] Hardware name: PinusCore RK3562 ()
[   11.143655] Call trace:
[   11.143656]  dump_backtrace+0xe8/0x124
[   11.143663]  show_stack+0x20/0x30
[   11.143667]  dump_stack_lvl+0x6c/0x88
[   11.143672]  dump_stack+0x18/0x34
[   11.143677]  local_cpu_stop+0x4c/0x6c
[   11.143681]  ipi_handler+0xe0/0x1d0
[   11.143686]  handle_percpu_devid_irq+0x70/0x128
[   11.143692]  handle_irq_desc+0x28/0x40
[   11.143697]  generic_handle_domain_irq+0x24/0x30
[   11.143702]  gix4c
[   11.143711]  do_interrupt_handler+0x78/0xc4
[   11.143717]  el1_interrupt+0x90/0xa0
[   11.143723]  el1h_64_irq_handler+0x18/0x24
[   11.143728]  el1h_64_irq+0x74/0x78
[   11.143732]  arch_local_irq_enable+0xc/0x28
[   11.143739]  cpuidle_enter+0x40/0x58
[   11.143744]  do_idle+0x21c/0x240
[   11.143749]  cpu_startup_entry+0x3c/0x40
[   11.143754]  kernel_init+0x0/0x138
[   11.143760]  arch_post_acpi_subsys_init+0x0/0x28
[   11.143768]  start_kernel+0x710/0x754
[   11.143774]  __primary_switched+0xbc/0xc4
[   11.143782] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.1.115-vendor-rk35xx #1
[   11.143787] Hardware name: PinusCore RK3562 (DT)
[   11.143790] Call trace:
[   11.143791]  dump_backtrace+0xe8/0x124
[   11.143797]  show_stack+0x20/0x30
[   11.143802]  dump_stack_lvl+0x6c/0x88
[   11.143807]  dump_stack+0x18/0x34
[   11.143812]  local_cpu_stop+0x4c/0x6c
[   11.143816]  ipi_handler+0xe0/0x1d0
[   11.143820]  handle_percpu_devid_irq+0x70/0x128
[   11.143827]  handle_irq_desc+0x28/0x40
[   11.143831]  generic_handle_domain_irq+0x24/0x30
[   11.143836]  gic_handle_irq+0x8c/0xa8
[   11.143840]  call_on_irq_stack+0x24/0x4c
[   11.143845]  do_interrupt_handler+0x78/0xc4
[   11.143851]  el1_interrupt+0x90/0xa0
[   11.143856]  el1h_64_irq_handler+0x18/0x24
[   11.143862]  el128
[   11.143872]  cpuidle_enter+0x40/0x58
[   11.143877]  do_idle+0x21c/0x240
[   11.143881]  cpu_startup_entry+0x3c/0x40
[   11.143885]  secondary_start_kernel+0x190/0x198
[   11.143890]  __secondary_switched+0xb0/0xb4

1824628179_.png.fc0b2346be2074b1c7a3510109cc7483.png.thumb.png.e9d831d9c17ac07edebdaae3559880bc.png1059283111_.png.82cb544baf8d0f529a78736cafabf953.png.thumb.png.6fafcf69b752861aacbf8a14372f159c.png

 

I am trying to port Armbian to a custom RK3562 development board. I have applied some patches in the kernel and U-Boot to support RK3562, but the system experiences a kernel crash during boot, with error logs as described above.

I have already tried using the device tree file from the Toybrick RK3562 development board, but the problem persists.

Can anyone please suggest where the problem might be? I am willing to provide any additional information to assist with troubleshooting.

pinuscore-rk3562.dts pinuscore-rk3562.dtsi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.