Toybrick

rk3568 内核开启CONFIG_ROCKCHIP_THUNDER_BOOT后启动异常

zander

新手上路

积分
7
楼主
发表于 2025-8-13 16:46:16    查看: 293|回复: 0 | [复制链接]    打印 | 只看该作者
rk3568开启内核后CONFIG_ROCKCHIP_THUNDER_BOOT  内存初始化报错如下,配置按照瑞芯微官方文档设置的,请教下需要如何修改代码和设备树支持这个THUNDER BOOT特性。



开启内核配置后启动报如下问题:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 4.19.219 (xhgj@swc6293) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05), GNU ld (Linaro_Binutils-2017.05) 2.27.0.20161019) #37 SMP Wed Aug 13 15:10:11 CST 2025
[    0.000000] Machine model: rpdzkj rp-rk3568 base on Rockchip RK3568 EVB1 DDR4 V10 Board
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 16 MiB at 0x00000000eec00000
[    0.000000] Unable to handle kernel paging request at virtual address ffffffbf04000000
[    0.000000] Mem abort info:
[    0.000000]   ESR = 0x96000046
[    0.000000]   Exception class = DABT (current EL), IL = 32 bits
[    0.000000]   SET = 0, FnV = 0
[    0.000000]   EA = 0, S1PTW = 0
[    0.000000] Data abort info:
[    0.000000]   ISV = 0, ISS = 0x00000046
[    0.000000]   CM = 0, WnR = 1
[    0.000000] swapper pgtable: 4k pages, 39-bit VAs, pgdp = (____ptrval____)
[    0.000000] [ffffffbf04000000] pgd=00000001faf4c003, pud=00000001faf4c003, pmd=0000000000000000
[    0.000000] Internal error: Oops: 96000046 [#1] SMP
[    0.000000] Modules linked in:
[    0.000000] Process swapper (pid: 0, stack limit = 0x(____ptrval____))
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.219 #37
[    0.000000] Hardware name: rpdzkj rp-rk3568 base on Rockchip RK3568 EVB1 DDR4 V10 Board (DT)
[    0.000000] pstate: 40000089 (nZcv daIf -PAN -UAO)
[    0.000000] pc : __memset+0x16c/0x188
[    0.000000] lr : memmap_init_zone+0x68/0x130
[    0.000000] sp : ffffff80096a3d90
[    0.000000] x29: ffffff80096a3d90 x28: ffffff8009837b78
[    0.000000] x27: 0000000000100000 x26: 0000000000010000
[    0.000000] x25: 000000000000fc00 x24: 0000000000000000
[    0.000000] x23: 0000000000000000 x22: 0000000000200000
[    0.000000] x21: 0000000000000001 x20: ffffff8009480000
[    0.000000] x19: 0000000000100000 x18: 000000000000000a
[    0.000000] x17: 0000000000000000 x16: 0000000000000000
[    0.000000] x15: 000000000000000f x14: ffffff80098cb658
[    0.000000] x13: ffffffffffffffff x12: 0000000000000020
[    0.000000] x11: 00000000fffffffa x10: ffffff80098cb2a1
[    0.000000] x9 : 0000000000000000 x8 : ffffffbf04000000
[    0.000000] x7 : 0000000000000000 x6 : 000000000000003f
[    0.000000] x5 : 0000000000000040 x4 : 0000000000000000
[    0.000000] x3 : 0000000000000004 x2 : 0000000003ffffc0
[    0.000000] x1 : 0000000000000000 x0 : ffffffbf04000000
[    0.000000]
[    0.000000] PC: 0xffffff8008f9bf2c:
[    0.000000] bf2c  d65f03c0 f100fc5f 54fffb8d f102005f 54fffe2b d53b00e3 3727fde3 52800089
[    0.000000] bf4c  12000c65 1ac52125 720014a9 54fffd41 eb05005f 54fffd0b d10004a6 cb0803e4
[    0.000000] bf6c  ea060084 540001c0 cb040043 f101007f fa45a068 54fffc0b aa0303e2 a9001d07
[    0.000000] bf8c  a9011d07 a9021d07 f1010084 a9031d07 91010108 54ffff4a 8b040108 cb050042
[    0.000000] bfac  d50b7428 8b050108 eb050042 54ffffaa ea060042 54fff6e1 d65f03c0 12001c21
[    0.000000] bfcc  38401402 6b01005f 7a5f1044 54ffffa1 d1000400 6b01005f 9a9f0000 d65f03c0
[    0.000000] bfec  ca010007 b200c3ea f24008ff 540002e1 f2400807 54000141 f8408402 f8408423
[    0.000000] c00c  cb0a0047 b200d848 ca030045 8a2800e4 aa0400a6 b4ffff26 1400003e 927df000
[    0.000000]
[    0.000000] LR: 0xffffff80095678d8:
[    0.000000] 78d8  a8c27bfd d65f03c0 52800013 17fffff0 d2800000 17fffffa a9bb7bfd d0000a61
[    0.000000] 78f8  910003fd a9025bf5 8b000076 a90363f7 aa0203f5 a90153f3 aa0303f3 a9046bf9
[    0.000000] 7918  d10006c2 f9446023 2a0403f7 aa0503f8 eb03005f 54000049 f9046022 b0fff8d4
[    0.000000] 7938  d37ae402 d2dff7e0 52800001 f9431283 f2ffffe0 cb833263 8b031800 97e8d13b
[    0.000000] 7958  b40000d8 f9400300 eb00027f 54000061 f9400700 8b000273 d2dff7fa d34206b5
[    0.000000] 7978  f2fffffa 52800038 12800019 eb16027f 540000e3 a94153f3 a9425bf5 a94363f7
[    0.000000] 7998  a9446bf9 a8c57bfd d65f03c0 34000357 f9431280 710006ff cb803260 d37ae400
[    0.000000] 79b8  8b1a0003 f87a6801 9240f421 aa150021 f83a6801 b9003478 91002060 b9003079
[    0.000000]
[    0.000000] SP: 0xffffff80096a3d10:
[    0.000000] 3d10  00000000 00000000 0000fc00 00000000 00010000 00000000 00100000 00000000
[    0.000000] 3d30  09837b78 ffffff80 096a3d90 ffffff80 09567958 ffffff80 096a3d90 ffffff80
[    0.000000] 3d50  08f9bfac ffffff80 40000089 00000000 096a3da0 ffffff80 ffffffc8 00000000
[    0.000000] 3d70  ffffffff ffffffff 096a3de0 ffffff80 096a3d90 ffffff80 08f9bfac ffffff80
[    0.000000] 3d90  096a3de0 ffffff80 09507bfc ffffff80 08feeb18 ffffff80 00000001 00000000
[    0.000000] 3db0  09837000 ffffff80 00100000 00000000 09913000 ffffff80 0968d000 ffffff80
[    0.000000] 3dd0  0000fc00 00000000 00010000 00000000 096a3e60 ffffff80 094f7128 ffffff80
[    0.000000] 3df0  09480000 ffffff80 00000200 00000000 096ee6f0 ffffff80 00200000 00000000
[    0.000000]
[    0.000000] X0: 0xffffffbf03ffff80:
[    0.000000] ff80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 0000  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0020  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0040  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0060  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000]
[    0.000000] X8: 0xffffffbf03ffff80:
[    0.000000] ff80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 0000  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0020  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0040  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000] 0060  ******** ******** ******** ******** ******** ******** ******** ********
[    0.000000]
[    0.000000] X10: 0xffffff80098cb221:
[    0.000000] b220  00000000 00000000 00000000 00000000 00000000 00000000 00001b40 00000000
[    0.000000] b240  00000004 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b260  00000000 00000000 00000000 00000000 00000000 00000000 30206301 36303230
[    0.000000] b280  00303332 30386666 63383930 31323262 30000a3a 30333178 4155000a 000a294f
[    0.000000] b2a0  6f52206e 68636b63 52207069 3635334b 56452038 44203142 20345244 20303156
[    0.000000] b2c0  72616f42 44282064 000a2954 37313032 2935302e 4e47202c 646c2055 694c2820
[    0.000000] b2e0  6f72616e 6e69425f 6c697475 30322d73 302e3731 32202935 2e37322e 30322e30
[    0.000000] b300  30313631 20293931 20373323 20504d53 20646557 20677541 31203331 30313a35
[    0.000000] b320  2031313a 20545343 35323032 0000000a 00000000 00000000 00000000 00000000
[    0.000000]
[    0.000000] X14: 0xffffff80098cb5d8:
[    0.000000] b5d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b5f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b618  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b638  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b658  00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b678  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b698  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] b6b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000]
[    0.000000] X20: 0xffffff800947ff80:
[    0.000000] ff80  3a746365 6e616320 746f6e20 74657320 6d616e20 72702065 7265706f 0a21796c
[    0.000000] ffa0  25340100 6b203a73 656a626f 615f7463 65206464 726f7272 6425203a 4544000a
[    0.000000] ffc0  54415056 4c4f5f48 73253d44 62696c00 626f6b2f 7463656a 7665755f 2e746e65
[    0.000000] ffe0  73250063 00732540 64613301 65755f64 746e6576 7261765f 6f74203a 616d206f
[    0.000000] 0000  6b20796e 0a737965 61330100 755f6464 6e657665 61765f74 62203a72 65666675
[    0.000000] 0020  69732072 7420657a 73206f6f 6c6c616d 6f6b000a 63656a62 27203a74 20277325
[    0.000000] 0040  29702528 7325203a 7461203a 706d6574 20646574 73206f74 20646e65 65766575
[    0.000000] 0060  7720746e 6f687469 6b207475 21746573 6f6b000a 63656a62 27203a74 20277325
[    0.000000]
[    0.000000] X28: 0xffffff8009837af8:
[    0.000000] 7af8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 7b18  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 7b38  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 7b58  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000] 7b78  098374c0 ffffff80 0968dcb0 ffffff80 00000000 00000000 00100000 00000000
[    0.000000] 7b98  0000fc00 00000000 00100000 00000000 00010000 00000000 0933ef59 ffffff80
[    0.000000] 7bb8  00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000
[    0.000000] 7bd8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.000000]
[    0.000000] X29: 0xffffff80096a3d10:
[    0.000000] 3d10  00000000 00000000 0000fc00 00000000 00010000 00000000 00100000 00000000
[    0.000000] 3d30  09837b78 ffffff80 096a3d90 ffffff80 09567958 ffffff80 096a3d90 ffffff80
[    0.000000] 3d50  08f9bfac ffffff80 40000089 00000000 096a3da0 ffffff80 ffffffc8 00000000
[    0.000000] 3d70  ffffffff ffffffff 096a3de0 ffffff80 096a3d90 ffffff80 08f9bfac ffffff80
[    0.000000] 3d90  096a3de0 ffffff80 09507bfc ffffff80 08feeb18 ffffff80 00000001 00000000
[    0.000000] 3db0  09837000 ffffff80 00100000 00000000 09913000 ffffff80 0968d000 ffffff80
[    0.000000] 3dd0  0000fc00 00000000 00010000 00000000 096a3e60 ffffff80 094f7128 ffffff80
[    0.000000] 3df0  09480000 ffffff80 00000200 00000000 096ee6f0 ffffff80 00200000 00000000
[    0.000000]
[    0.000000] Call trace:
[    0.000000]  __memset+0x16c/0x188
[    0.000000]  free_area_init_node+0x2a8/0x308
[    0.000000]  bootmem_init+0xd0/0x1a0
[    0.000000]  setup_arch+0x290/0x608
[    0.000000]  start_kernel+0x8c/0x510
[    0.000000] Code: 91010108 54ffff4a 8b040108 cb050042 (d50b7428)
[    0.000000] random: random: get_random_bytes called from init_oops_id+0x2c/0x44 with crng_init=0
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---


回复

使用道具 举报

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

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表