MA_NONG

MA_NONG

5个粉丝

8

问答

2

专栏

0

资料

MA_NONG  发布于  2024-06-01 11:16:39
采纳率 38%
8个问答
623

HI3516CV610 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

hi3516cv610_20s + 8M flash:

uboot 环境变量设置如下:

printenv

arch=arm
baudrate=115200
board=hi3516cv610
board_name=hi3516cv610
bootargs=mem=32m earlycon=pl011,0x11040000 console=ttyAMA0,115200 clk_ignore_unused initcall_debug rw root=/dev/mtdblock3 rootfstype=jffs2 mtdparts=sfc:512K(boot),512K(env),2M(kernel),5M(rootfs)
bootcmd=sf probe 0; sf read 0x41000000 0x100000 0x200000; bootm 0x41000000
bootdelay=2
cpu=armv7
ethact=eth0
fdt_high=0xffffffff
soc=hi3516cv610
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n

Environment size: 474/262140 bytes

加载内核报错如下:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
[00000000] *pgd=00000000
Internal error: Oops - BUG: 5 [#1] SMP THUMB2
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0 #1
Hardware name: Generic DT based system
PC is at 0xc02476e0
LR is at 0xc02491a9
pc : [] lr : [] psr: 60000033
sp : c2825da8 ip : c0a25fc0 fp : 00000000
r10: c09e6e10 r9 : c09e6e10 r8 : c0a25fc0
r7 : 00000000 r6 : c2825df8 r5 : c09e6e10 r4 : c0970c40
r3 : 00000000 r2 : c0248d0d r1 : c033db3e r0 : c0970c40
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
Control: 50c5387d Table: 4000406a DAC: 55555555
Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
Stack: (0xc2825da8 to 0xc2826000)
5da0: c2825dd0 c1fb41a0 c0a25fc0 c025fa3f 00000001 c0a25fc4
5dc0: 00000000 c096aac0 c0970c40 00000000 c1fb41a0 c0a25fc0 c09e6e10 c09e6e10
5de0: 00000000 c02491a9 00000000 c0a7f948 c0a76bb0 c09e6e10 0007019b 3e09cfe7
5e00: c0515708 c09e6e10 c0515708 c052acdc 00000000 c052ace0 c0515708 c0372ff4
5e20: 00000000 c0238295 c0238275 c09e6e10 00000000 c02371cd 00000000 c09e6e10
5e40: c0515708 0d571417 00000000 c051e000 c0a25f38 c0372ff4 00000000 c0237391
5e60: c0515708 c09e6e10 00000000 c09e6e10 c0515708 c0514c78 c051e000 c0237513
5e80: c09e6e10 c0515708 00000000 c0237591 00000000 c09e6e10 c0515708 c0237525
5ea0: c0514c78 c02361a1 c0514c78 c0818358 c0a25b34 3e09cfe7 c0515708 c0a25f00
5ec0: 00000000 c0236a59 c033e7cc c033e7cd 00000062 c0515708 0000005e c0838000
5ee0: 00000000 c051e000 c051e000 c0237987 c0237ec3 c040dd09 0000005e c0102791
5f00: 0000001a 00000000 000001d6 c080b900 c034066c c011f1b3 c0400549 000001d6
5f20: 00000006 00000006 00000000 000001d1 00000000 c080b982 c080b98b 3e09cfe7
5f40: c0509828 00000007 0000005e 3e09cfe7 00000007 0000005e c080b900 c041d834
5f60: c041d854 c0400c51 00000006 00000006 00000000 c0400549 00000000 c04262b4
5f80: 00000000 00000000 c02ef2c5 00000000 00000000 00000000 00000000 00000000
5fa0: 00000000 c02ef2cb 00000000 c0100165 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Exception stack(0xc2825fb0 to 0xc2825ff8)
5fa0: 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Code: e9c4 33a8 2300 4936 (f8d3) 8000
—-[ end trace aa322c6705ea1b0c ]—-
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 5.10.0 #1
Hardware name: Generic DT based system
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Exception stack(0xc2859f78 to 0xc2859fc0)

有遇到同样问题的么?

我来回答
回答4个
时间排序
认可量排序

Stranger

9个粉丝

0

问答

5

专栏

6

资料

Stranger 2024-06-01 14:15:08
认可0
易百纳技术社区该回答已被题主采纳为最佳答案

Unable to handle kernel NULL pointer dereference at virtual address 00000000
什么版本的SDK?

MA_NONG
MA_NONG   回复   Stranger  2024-06-01 16:47:37
0

使用的是 Hi3516CV610_SDK_V1.0.0.2 SDK.

找到原因了,应该是没找到nor flash,但从打印上看,貌似跑到NAND 那边去了。

workingset: timestamp_bits=30 max_order=14 bucket_order=0
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
bsp_nand: Failed to locate of_node [id: 0]
8<—- cut here —-
Unable to handle kernel NULL pointer dereference at virtual address 00000000
[00000000] *pgd=00000000
Internal error: Oops - BUG: 5 [#1] SMP THUMB2
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0 #1
Hardware name: Generic DT based system
PC is at 0xc02476e0
LR is at 0xc02491a9
pc : [] lr : [] psr: 60000033
sp : c3825da8 ip : c0a25fc0 fp : 00000000
r10: c09e6e10 r9 : c09e6e10 r8 : c0a25fc0
r7 : 00000000 r6 : c3825df8 r5 : c09e6e10 r4 : c0970c40
r3 : 00000000 r2 : c0248d0d r1 : c033dcbe r0 : c0970c40
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
Control: 50c5387d Table: 4000406a DAC: 55555555

Stranger
Stranger   回复   MA_NONG  2024-06-03 11:51:27
0

OK

MA_NONG

5个粉丝

8

问答

2

专栏

0

资料

MA_NONG 2024-06-04 15:01:16
认可1

结帖,flash 驱动的问题。使用原生SDK没有任何改动的就可以了。

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区