Firefly开源社区

打印 上一主题 下一主题

【已解决】Android5.1官网最新代码编译出来的ROM在RK3288板子上循环重启

89

积分

0

威望

0

贡献

技术小白

积分
89

【已解决】Android5.1官网最新代码编译出来的ROM在RK3288板子上循环重启

发表于 2016-9-14 00:06:26      浏览:5243 | 回复:3        打印      只看该作者   [复制链接] 楼主
本帖最后由 guoke5 于 2016-9-14 11:44 编辑

最近买了一块RK3288板子,下载了Android5.1的源码,编译的教程都是按照官网介绍的来的,以下是官网源码编译教程
http://wiki.t-firefly.com/index. ... ld_android_lollipop
源码可以成功编译,只是烧ROM后,板子一直不断重启。Bootloader和parameter都是OK的
想问 一下,有人遇到这个问题吗?
以下是内核日志 :
  1. [    0.764588] Unable to handle kernel NULL pointer dereference at virtual address 00000032
  2. [    1.612321] pgd = c0004000
  3. [    1.615006] [00000032] *pgd=00000000
  4. [    1.618570] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
  5. [    1.623813] Modules linked in:
  6. [    1.626863] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W    3.10.0 #1
  7. [    1.633649] task: ee090000 ti: ee072000 task.ti: ee072000
  8. [    1.638986] PC is at __clk_unprepare+0x10/0x78
  9. [    1.643380] LR is at clk_unprepare+0x14/0x1c
  10. [    1.647610] pc : [<c0603b4c>]    lr : [<c0603bc8>]    psr: a0000113
  11. [    1.647610] sp : ee073e28  ip : 00000000  fp : 00000000
  12. [    1.658929] r10: 00241330  r9 : ee2ba210  r8 : f0118000
  13. [    1.664092] r7 : ee2ba578  r6 : b105f00d  r5 : fffffffe  r4 : fffffffe
  14. [    1.670532] r3 : 00000000  r2 : c0e8dd98  r1 : ee073e20  r0 : fffffffe
  15. [    1.676977] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
  16. [    1.684187] Control: 10c5387d  Table: 0000406a  DAC: 00000015
  17. [    1.689855]
  18. [    1.689855] PC: 0xc0603acc:
  19. [    1.694084] 3acc  e5934030 e3540000 1a000006 e59f0050 e3a01c06 e59f204c e59f304c ebe8cbce
  20. [    1.702285] 3aec  e1a00004 e8bd8038 e5950008 e12fff34 e5953014 e3530000 e1a04000 1a000004
  21. [    1.710479] 3b0c  e5d50018 e30810d0 e1a00100 ebebf125 e5850014 e1a00005 e1a01004 e8bd4038
  22. [    1.718672] 3b2c  eaffffba c0acf64b c0acf781 c08c1a6c e92d4010 e1a04000 e3540000 08bd8010
  23. [    1.726864] 3b4c  e5943034 e3530000 1a000003 e59f0050 e30012ef e8bd4010 eae8cb9a e2433001
  24. [    1.735057] 3b6c  e5843034 e3530000 18bd8010 e5943030 e3530000 0a000002 e59f0024 e30012f5
  25. [    1.743250] 3b8c  ebe8cb90 e5943004 e5933004 e3530000 0a000001 e5940008 e12fff33 e594400c
  26. [    1.751443] 3bac  eaffffe4 c0acf64b e92d4010 e1a04000 ebfffa36 e1a00004 ebffffdc e8bd4010
  27. [    1.759640]
  28. [    1.759640] LR: 0xc0603b48:
  29. [    1.763867] 3b48  08bd8010 e5943034 e3530000 1a000003 e59f0050 e30012ef e8bd4010 eae8cb9a
  30. [    1.772062] 3b68  e2433001 e5843034 e3530000 18bd8010 e5943030 e3530000 0a000002 e59f0024
  31. [    1.780255] 3b88  e30012f5 ebe8cb90 e5943004 e5933004 e3530000 0a000001 e5940008 e12fff33
  32. [    1.788447] 3ba8  e594400c eaffffe4 c0acf64b e92d4010 e1a04000 ebfffa36 e1a00004 ebffffdc
  33. [    1.796640] 3bc8  e8bd4010 eafffb37 e92d4038 e2504000 01a05004 0a000015 e5943034 e3530000
  34. [    1.804831] 3be8  1a00000e e594000c ebfffff6 e2505000 1a00000e e5943004 e5933000 e3530000
  35. [    1.813024] 3c08  0a000006 e5940008 e12fff33 e2505000 0a000002 e594000c ebffffc5 ea000003
  36. [    1.821216] 3c28  e5943034 e3a05000 e2833001 e5843034 e1a00005 e8bd8038 e92d41f0 e1a04000
  37. [    1.829403]
  38. [    1.829403] SP: 0xee073da8:
  39. [    1.833630] 3da8  ee073e24 f0118000 ee2ba210 00241330 0000001d 00000000 c0bf1484 ee073e24
  40. [    1.841824] 3dc8  f0118000 c0603b4c a0000113 ffffffff ee073e14 c000d598 fffffffe ee073e20
  41. [    1.850018] 3de8  c0e8dd98 00000000 fffffffe fffffffe b105f00d ee2ba578 f0118000 ee2ba210
  42. [    1.858209] 3e08  00241330 00000000 00000000 ee073e28 c0603bc8 c0603b4c a0000113 ffffffff
  43. [    1.866400] 3e28  fffffffe c0603bc8 ee2ba400 c02e0f44 00000000 c1ed9a98 ee2ba400 00000000
  44. [    1.874592] 3e48  c1ed9ae8 ee2ba210 00000000 c05f4740 ee2ba210 c1ed9a98 00000001 00000000
  45. [    1.882783] 3e68  00000001 c08c08b4 00000000 c05f4a48 c08c09b8 c08c09b8 c560f9a4 c05f2188
  46. [    1.890975] 3e88  c1ed98f8 0000000d c08c0978 00000001 c1ed98f8 c05f2250 c0e758a8 c1ed98f8
  47. [    1.899171]
  48. [    1.899171] R1: 0xee073da0:
  49. [    1.903397] 3da0  00000000 c0bf1484 ee073e24 f0118000 ee2ba210 00241330 0000001d 00000000
  50. [    1.911590] 3dc0  c0bf1484 ee073e24 f0118000 c0603b4c a0000113 ffffffff ee073e14 c000d598
  51. [    1.919782] 3de0  fffffffe ee073e20 c0e8dd98 00000000 fffffffe fffffffe b105f00d ee2ba578
  52. [    1.927975] 3e00  f0118000 ee2ba210 00241330 00000000 00000000 ee073e28 c0603bc8 c0603b4c
  53. [    1.936168] 3e20  a0000113 ffffffff fffffffe c0603bc8 ee2ba400 c02e0f44 00000000 c1ed9a98
  54. [    1.944360] 3e40  ee2ba400 00000000 c1ed9ae8 ee2ba210 00000000 c05f4740 ee2ba210 c1ed9a98
  55. [    1.952552] 3e60  00000001 00000000 00000001 c08c08b4 00000000 c05f4a48 c08c09b8 c08c09b8
  56. [    1.960743] 3e80  c560f9a4 c05f2188 c1ed98f8 0000000d c08c0978 00000001 c1ed98f8 c05f2250
  57. [    1.968938]
  58. [    1.968938] R2: 0xc0e8dd18:
  59. [    1.973165] dd18  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  60. [    1.981354] dd38  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  61. [    1.989543] dd58  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  62. [    1.997730] dd78  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  63. [    2.005917] dd98  00000000 ee025d3c ee090000 00000001 00660066 00000000 00000000 00000000
  64. [    2.014107] ddb8  00000000 ee02573c 00000000 004b004b fed00000 fed10000 00000000 c1ebb1bc
  65. [    2.022299] ddd8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  66. [    2.030486] ddf8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  67. [    2.038678]
  68. [    2.038678] R7: 0xee2ba4f8:
  69. [    2.042905] a4f8  00000000 00000000 ffff8ae6 00000000 00000000 00000000 00000000 ee2ba598
  70. [    2.051094] a518  ffffffff ffffffff 00000000 ee2ba524 ee2ba524 00000000 00000000 00000000
  71. [    2.059286] a538  00000000 c1ed9a98 00000000 00000000 00000000 ee2ba54c ee2ba54c 00000000
  72. [    2.067476] a558  00000000 00000000 00000000 00000000 00000000 c02e0d1c 00000000 00000000
  73. [    2.075664] a578  ffb20000 ffb23fff c1ed9af0 00000200 c0c0c4e8 00000000 00000000 fffffffe
  74. [    2.083858] a598  ffffffff ffffffff 00000000 00000020 00000021 00000000 00000000 00000000
  75. [    2.092046] a5b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  76. [    2.100234] a5d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  77. [    2.108423]
  78. [    2.108423] R8: 0xf0117f80:
  79. [    2.112650] 7f80  ******** ******** ******** ******** ******** ******** ******** ********
  80. [    2.120850] 7fa0  ******** ******** ******** ******** ******** ******** ******** ********
  81. [    2.129041] 7fc0  ******** ******** ******** ******** ******** ******** ******** ********
  82. [    2.137233] 7fe0  ******** ******** ******** ******** ******** ******** ******** ********
  83. [    2.145426] 8000  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  84. [    2.153615] 8020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  85. [    2.161804] 8040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  86. [    2.169985] 8060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  87. [    2.178177]
  88. [    2.178177] R9: 0xee2ba190:
  89. [    2.182404] a190  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  90. [    2.190591] a1b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  91. [    2.198777] a1d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  92. [    2.206962] a1f0  00000000 00000000 00000000 00000000 ee1b3180 ffffffff 00000000 00000000
  93. [    2.215151] a210  00000000 ee1c2c80 ee1b3140 ee070900 ee2ba01c ee07090c ee070900 c0caa818
  94. [    2.223334] a230  ee1b3200 00000002 00000007 00000000 00000000 00000001 00000000 ee2ba24c
  95. [    2.231514] a250  ee2ba24c 00000000 00000000 c0caa978 00000000 00000000 00000000 00000020
  96. [    2.239703] a270  00010001 c0caaf40 ee2ba074 7fffffff 00010001 ee2ba284 ee2ba284 00000000
  97. [    2.247905] Process swapper/0 (pid: 1, stack limit = 0xee072238)
  98. [    2.253833] Stack: (0xee073e28 to 0xee074000)
  99. [    2.258154] 3e20:                   fffffffe c0603bc8 ee2ba400 c02e0f44 00000000 c1ed9a98
  100. [    2.266230] 3e40: ee2ba400 00000000 c1ed9ae8 ee2ba210 00000000 c05f4740 ee2ba210 c1ed9a98
  101. [    2.274303] 3e60: 00000001 00000000 00000001 c08c08b4 00000000 c05f4a48 c08c09b8 c08c09b8
  102. [    2.282378] 3e80: c560f9a4 c05f2188 c1ed98f8 0000000d c08c0978 00000001 c1ed98f8 c05f2250
  103. [    2.290452] 3ea0: c0e758a8 c1ed98f8 c1ed9a98 00000000 00000001 c08c08b4 c08c0978 ee2ba210
  104. [    2.298525] 3ec0: 00000000 c05f4aa4 00000001 ee005800 00000002 c0304de4 ee005810 ee005800
  105. [    2.306598] 3ee0: 00000002 00000038 00000002 c0309950 00000000 c1ed98f8 c1ea415c 00000000
  106. [    2.314671] 3f00: 00000000 c08c08b4 c0be20dc 00000001 00000000 c05f4b4c 00000001 c08c08b4
  107. [    2.322744] 3f20: 00000000 00000003 c0b90a24 ee072000 00000000 c0d7a000 c0b8e5f0 c0b90a54
  108. [    2.330818] 3f40: 00000000 c00086a4 c0b90a24 00000000 00000003 c0bdbaec c0bdbacc c0d7a000
  109. [    2.338891] 3f60: 000001fc c0b8eb28 00000003 00000003 c0b8e5f0 00000000 c0be1ffc c0be1ffc
  110. [    2.346963] 3f80: 00000000 00000000 00000000 00000000 00000000 c0b8ebe8 ee072000 00000000
  111. [    2.355035] 3fa0: c082cf44 c082cf4c 00000000 c000da98 00000000 00000000 00000000 00000000
  112. [    2.363105] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  113. [    2.371177] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
  114. [    2.379263] [<c0603b4c>] (__clk_unprepare+0x10/0x78) from [<c0603bc8>] (clk_unprepare+0x14/0x1c)
  115. [    2.387945] [<c0603bc8>] (clk_unprepare+0x14/0x1c) from [<c02e0f44>] (amba_device_add+0x104/0x1cc)
  116. [    2.396803] [<c02e0f44>] (amba_device_add+0x104/0x1cc) from [<c05f4740>] (of_amba_device_create+0x10c/0x148)
  117. [    2.406510] [<c05f4740>] (of_amba_device_create+0x10c/0x148) from [<c05f4a48>] (of_platform_bus_create+0xd8/0x180)
  118. [    2.416728] [<c05f4a48>] (of_platform_bus_create+0xd8/0x180) from [<c05f4aa4>] (of_platform_bus_create+0x134/0x180)
  119. [    2.427030] [<c05f4aa4>] (of_platform_bus_create+0x134/0x180) from [<c05f4b4c>] (of_platform_populate+0x5c/0x88)
  120. [    2.437079] [<c05f4b4c>] (of_platform_populate+0x5c/0x88) from [<c0b90a54>] (customize_machine+0x30/0x40)
  121. [    2.446530] [<c0b90a54>] (customize_machine+0x30/0x40) from [<c00086a4>] (do_one_initcall+0x34/0xc8)
  122. [    2.455550] [<c00086a4>] (do_one_initcall+0x34/0xc8) from [<c0b8eb28>] (do_initcalls+0x70/0xa0)
  123. [    2.464145] [<c0b8eb28>] (do_initcalls+0x70/0xa0) from [<c0b8ebe8>] (kernel_init_freeable+0x90/0x130)
  124. [    2.473252] [<c0b8ebe8>] (kernel_init_freeable+0x90/0x130) from [<c082cf4c>] (kernel_init+0x8/0xe4)
  125. [    2.482182] [<c082cf4c>] (kernel_init+0x8/0xe4) from [<c000da98>] (ret_from_fork+0x14/0x3c)
  126. [    2.490429] Code: e92d4010 e1a04000 e3540000 08bd8010 (e5943034)
  127. [    2.496486] ---[ end trace 1b75b31a2719ed1d ]---
  128. [    2.501121] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
  129. [    2.501121]
  130. [    2.510148] CPU3: stopping
复制代码
回复

使用道具 举报

89

积分

0

威望

0

贡献

技术小白

积分
89
发表于 2016-9-14 00:07:52        只看该作者  沙发
我自己还尝试将代码回滚到前面一些commit, 不过重新编译刷ROM还是一直不行,一直反复重启,急死人了,有人遇到吗?
回复

使用道具 举报

发表于 2016-9-14 09:23:06        只看该作者  板凳
这种log是内核 kernel出问题
暴走的创客!
回复

使用道具 举报

89

积分

0

威望

0

贡献

技术小白

积分
89
发表于 2016-9-14 11:02:59        只看该作者  地板
暴走的阿Sai 发表于 2016-9-14 09:23
这种log是内核 kernel出问题

已经找到原因,编译出来的kernel镜像中,还有一个resource.img, 这个也要打包到update.img中,否则就会出现 以上问题。Android4.4的SDK好像不需要打包resource.img,不过还是谢谢了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表