Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] My Firefly-RK3288 device does not boot with kernel panic.

99

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
99

【Linux】 My Firefly-RK3288 device does not boot with kernel panic.

Posted at 6/22/2018 09:05:38      View:5292 | Replies:2        Print      Only Author   [Copy Link] 1#
Last edited by ueue In 6/24/2018 11:26 Editor

Hi,
I'm newbee and trying to build and flash the my linux images. I have followed to this two Rockchip document [Linux user guide] and [Boot option].
I succeeded in building images, but my RK3288 board does not boot.

This is my images.
  1. ~/linux/rockdev$ tree
  2. .
  3. ├── boot.img -> /home/userName/linux/kernel/zboot.img
  4. ├── MiniLoaderAll.bin -> /home/userName/linux/u-boot/rk3288_loader_v1.06.236.bin
  5. ├── misc.img -> /home/userName/linux/device/rockchip/rk3288/rockdev/wipe_all-misc.img
  6. ├── oem.img -> /home/userName/linux/device/rockchip/rk3288/rockdev/oem.img
  7. ├── parameter.txt -> /home/userName/linux/device/rockchip/rk3288/rockdev/parameter.txt
  8. ├── recovery.img -> /home/userName/linux/buildroot/output/rockchip_rk3288_recovery/images/recovery.img
  9. ├── rootfs.img -> /home/userName/linux/buildroot/output/rockchip_rk3288/images/rootfs.ext4
  10. ├── trust.img -> /home/userName/linux/u-boot/trust.img
  11. ├── uboot.img -> /home/userName/linux/u-boot/uboot.img
  12. └── userdata.img -> /home/userName/linux/device/rockchip/rk3288/rockdev/userdata.img
Copy the code

and parameter.txt
  1. CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x00010000@0x0001a000(recovery),0x00010000@0x0002a000(backup),0x00020000@0x0003a000(oem),0x00700000@0x0005a000(rootfs),-@0x0075a000(userdata:grow)
Copy the code

This is my AndroidTool settings. Flash is succeeded.


It's Brinking underbar on Display, and shining OTG Green LED.


Please help someone. Thank you.
Reply

Use props Report

99

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
99
Posted at 6/23/2018 11:59:04        Only Author  2#
Last edited by ueue In 6/23/2018 12:05 Editor

I edited the parameter.txt, but the same result.
  1. CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00010000@0x00008000(boot),0x00700000@0x00040000(rootfs)
Copy the code


Reply

Use props Report

99

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
99
Posted at 6/24/2018 11:22:02        Only Author  3#
Last edited by ueue In 6/24/2018 23:35 Editor
ueue Posted at 6/23/2018 11:59
I edited the parameter.txt, but the same result.

I tried logging by serial connector. It seems that kernel panic.

  1. [   10.641492] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
  2. [   36.308449] ------------[ cut here ]------------
  3. [   36.313071] WARNING: CPU: 2 PID: 1 at kernel/watchdog.c:352 watchdog_timer_fn+0x164/0x340()
  4. [   36.321404] Watchdog detected hard LOCKUP on cpu 3
  5. [   36.326018] Modules linked in:
  6. [   36.329264] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.132 #1
  7. [   36.335262] Hardware name: Generic DT based system
  8. [   36.340057] [<c0110014>] (unwind_backtrace) from [<c010bcbc>] (show_stack+0x20/0x24)
  9. [   36.347790] [<c010bcbc>] (show_stack) from [<c040824c>] (dump_stack+0x84/0xa0)
  10. [   36.355003] [<c040824c>] (dump_stack) from [<c011d9ac>] (warn_slowpath_common+0x98/0xc4)
  11. [   36.363084] [<c011d9ac>] (warn_slowpath_common) from [<c011da18>] (warn_slowpath_fmt+0x40/0x48)
  12. [   36.371776] [<c011da18>] (warn_slowpath_fmt) from [<c01b201c>] (watchdog_timer_fn+0x164/0x340)
  13. [   36.380377] [<c01b201c>] (watchdog_timer_fn) from [<c01894d4>] (__hrtimer_run_queues+0x1bc/0x31c)
  14. [   36.389243] [<c01894d4>] (__hrtimer_run_queues) from [<c0189ca8>] (hrtimer_interrupt+0xac/0x1f8)
  15. [   36.398019] [<c0189ca8>] (hrtimer_interrupt) from [<c078aa14>] (arch_timer_handler_phys+0x38/0x48)
  16. [   36.406969] [<c078aa14>] (arch_timer_handler_phys) from [<c017a2ec>] (handle_percpu_devid_irq+0xd4/0x1a8)
  17. [   36.416523] [<c017a2ec>] (handle_percpu_devid_irq) from [<c0175bd0>] (generic_handle_irq+0x28/0x38)
  18. [   36.425563] [<c0175bd0>] (generic_handle_irq) from [<c0175f2c>] (__handle_domain_irq+0xb0/0xc4)
  19. [   36.434254] [<c0175f2c>] (__handle_domain_irq) from [<c0101474>] (gic_handle_irq+0x60/0xa4)
  20. [   36.442596] [<c0101474>] (gic_handle_irq) from [<c010c6d4>] (__irq_svc+0x54/0x70)
  21. [   36.450062] Exception stack(0xee941ec0 to 0xee941f08)
  22. [   36.455110] 1ec0: ee941f3c 00000000 fd640800 c10a2ac0 ee941f3c 00005dbf 00006400 000064c8
  23. [   36.463276] 1ee0: 00000033 c1054cd4 066665b0 ee941f1c ee941f20 ee941f10 c0406100 c010f3c4
  24. [   36.471439] 1f00: a0000013 ffffffff
  25. [   36.474931] [<c010c6d4>] (__irq_svc) from [<c010f3c4>] (arch_timer_read_counter_long+0x18/0x28)
  26. [   36.483622] [<c010f3c4>] (arch_timer_read_counter_long) from [<c0406100>] (read_current_timer+0x30/0x48)
  27. [   36.493093] [<c0406100>] (read_current_timer) from [<c0406150>] (__timer_delay+0x38/0x5c)
  28. [   36.501259] [<c0406150>] (__timer_delay) from [<c04061a0>] (__timer_const_udelay+0x2c/0x34)
  29. [   36.509602] [<c04061a0>] (__timer_const_udelay) from [<c01e9a5c>] (panic+0x1cc/0x200)
  30. [   36.517422] [<c01e9a5c>] (panic) from [<c0a95b60>] (kernel_init+0xe4/0x118)
  31. [   36.524380] [<c0a95b60>] (kernel_init) from [<c0107590>] (ret_from_fork+0x14/0x24)
  32. [   36.531939] ---[ end trace fafe7db505aa2fdd ]---
Copy the code

Does not rockchip official image support Firefly-RK3288?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list