wlyhqm2006

wlyhqm2006

1个粉丝

1

问答

0

专栏

0

资料

wlyhqm2006  发布于  2020-12-20 09:28:01
采纳率 0%
1个问答
2881

Hi3559A冷启动加载ko驱动时报错

[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
usb 1-1.2: new high-speed USB device number 3 using xhci-hcd
[RCS]: /etc/init.d/S80network
usb 1-1.4: new high-speed USB device number 4 using xhci-hcd
usb 1-1.4: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
usb 1-1.4: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
usb 1-1.1: new high-speed USB device number 5 using xhci-hcd
sys_config: loading out-of-tree module taints kernel.
FUNC:parse_sensor_clock line:185  SNS:[bt1120] is not supported !
FUNC:parse_sensor_bus_type line:140  SNS:[bt1120] is not supported !
FUNC:parse_sensor_clock line:185  SNS:[bt1120] is not supported !
FUNC:parse_sensor_bus_type line:140  SNS:[bt1120] is not supported !
Module himedia: init ok
Hisilicon Media Memory Zone Manager
hi_osal 1.0 init success!
hi3559av100_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
SDK version do NOT support this chip!!!
load sys.ko for Hi3559AV100...FAILURE!
hi35xx_sys: probe of 12010000.sys failed with error -1
load tde.ko for Hi3559AV100...OK!
Unable to handle kernel NULL pointer dereference at virtual address 00000018
Mem abort info:
  ESR = 0x96000006
  Exception class = DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
pgd = ffffffc021a6c000
[00000018] *pgd=0000000061a6a003, *pud=0000000061a6a003
, *pmd=0000000000000000
Internal error: Oops: 96000006 [#1] SMP
Modules linked in: hi3559av100_rgn(PO+) hi3559av100_tde(PO) hi3559av100_sys(PO) hi3559av100_base(PO) hi_osal(O) sys_config(O)
CPU: 0 PID: 1278 Comm: insmod Tainted: P           O    4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc021cf0c00 task.stack: ffffffc021a08000
PC is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
LR is at rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
pc : [] lr : [] pstate: 60000005
sp : ffffffc021a0bb80
x29: ffffffc021a0bb80 x28: ffffff8008105ce0
x27: ffffff8008f81000 x26: 0000000000000001
x25: ffffffc0219b1c48 x24: ffffff8008877000
x23: ffffff8000736dd0 x22: ffffff8000736ad0
x21: ffffff8000736ba8 x20: ffffff8000736ba8
x19: 0000000000000000 x18: ffffffc021a3591c
x17: 00000000004e3af8 x16: 0000000000000000
x15: 00000000fffffff8 x14: 0000000000000003
x13: ffffffc021a35165 x12: 0000000000000038
x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
x9 : 0000000000000000 x8 : 0000000000006873
x7 : ffffffc021aaa780 x6 : 0000000000006872
x5 : 0000000000000000 x4 : ffffffbf0086aa80
x3 : ffffff8000699688 x2 : ffffff8000699688
x1 : ffffff8000699688 x0 : 0000000000000000

Process insmod (pid: 1278, stack limit = 0xffffffc021a08020)
Stack: (0xffffffc021a0bb80 to 0xffffffc021a0c000)
bb80: ffffffc021a0bba0 ffffff8000692cc0 ffffff8000699688 ffffff8000736c98
bba0: ffffffc021a0bbc0 ffffff80007328f0 ffffff8000740b90 0000000000000000
bbc0: ffffffc021a0bbf0 ffffff800074a00c ffffff8008877000 ffffffc021a08000
bbe0: ffffff800074a000 0000000000000000 ffffffc021a0bc00 ffffff8008083158
bc00: ffffffc021a0bc90 ffffff800811df78 ffffff8000736d80 ffffff8008888000
bc20: ffffffc0219b1c00 ffffffc021aee080 ffffff8000736dd0 ffffff8008126468
bc40: 0000000000000024 ffffffc021a6ee00 ffffffc021a0bc60 ffffff8008138eb0
bc60: ffffffc021a0bc90 ffffff800811df48 ffffff8000736d80 ffffff8008888000
bc80: ffffffc0219b1c00 0000000000040925 ffffffc021a0bcc0 ffffff8008108e9c
bca0: ffffffc021a0be50 0000000000000001 ffffffc0219b1c00 ffffff8000736d80
bcc0: ffffffc021a0be10 ffffff80081095e0 ffffff8008877000 0000000000000000
bce0: 0000000000000003 000000002757f010 0000000080000000 0000000000000015
bd00: 0000000000000123 0000000000000111 ffffff8008662000 ffffffc021a08000
bd20: ffffffc021a08000 ffffff800875a3a0 ffffff8000000072 0000006421a0be48
bd40: ffffff800000006e ffffffc00000003f ffffff80088885c0 0000000000000000
bd60: ffffff8000000124 ffffff80024000c0 00000000000239a8 ffffffc021a3001c
bd80: 00000000000239a8 0000000000040925 ffffffc021a0bdd0 ffffff8008171174
bda0: 0000000000000000 ffffffc000000000 0000000000000000 ffffffc000000000
bdc0: 0000000000000000 0000000000000000 006c61736f5f6968 0000000000000000
bde0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
be00: 0000000000000000 0000000000040925 0000000000000000 ffffff8008082f40
be20: fffffffffffffeee 000000002757f010 00000000ffffffff 0000007fb0cb9b74
be40: 00000000000239a8 ffffff8008f81000 ffffff8008f81000 00000000000239a8
be60: ffffff8008fa4428 ffffff8008fa4360 ffffff8008f99170 000000000001aba0
be80: 00000000000209a8 0000000000000000 0000000000000000 0000000000008898
bea0: 0000001400000013 000000000000000e 000000000000000b 0000000000040925
bec0: 0000000000000003 000000002757f010 0000000000000000 000000002757f011
bee0: 0000000000000021 0000007fb0d380d0 00000000275a0fff 00000000275a0fff
bf00: 0000000000000111 0000007fb0d389f0 0101010101010101 0000000000000000
bf20: 00000000000003f3 0000000000000000 0000000000000000 000000000000072b
bf40: 0000007fb0cb9b50 00000000004e3af8 0000000000000001 0000007ff79d4f6d
bf60: 000000002757f010 0000000000000003 0000007ff79d4528 0000007ff79d4f6d
bf80: 0000000000000002 0000000000000000 00000000004e3000 0000000000000000
bfa0: 0000000000000000 0000007ff79d43f0 0000000000422e70 0000007ff79d42b0
bfc0: 0000007fb0cb9b74 0000000080000000 0000000000000003 0000000000000111
bfe0: 0000000000000000 0000000000000000 0d6f6e6d48b9b8bb 5e98999aaf272625
Call trace:
Exception stack(0xffffffc021a0b990 to 0xffffffc021a0bac0)
b980:                                   0000000000000000 0000007fffffffff
b9a0: ffffffc021a0bb80 ffffff8000732814 0000000060000005 ffffffc021a35038
b9c0: ffffffc02197f700 0000000000000000 ffffffc021a0ba10 ffffff80080ae430
b9e0: ffffff80088cc000 ffffffc021aaa700 ffffff8008877000 0000000000000000
ba00: ffffff8008883000 0000000000000000 ffffffc021a0ba80 ffffff800833ca38
ba20: 000000000000078c ffffffc021a35000 ffffffc021aaa600 ffffff800878c178
ba40: 0000000000000000 0000000000040925 0000000000000000 ffffff8000699688
ba60: ffffff8000699688 ffffff8000699688 ffffffbf0086aa80 0000000000000000
ba80: 0000000000006872 ffffffc021aaa780 0000000000006873 0000000000000000
baa0: 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000038 ffffffc021a35165
[] rgn_init_register+0x4c/0x98 [hi3559av100_rgn]
[] cmpi_register_module+0xa0/0x170 [hi3559av100_base]
[] region_module_init+0x78/0x208 [hi3559av100_rgn]
[] rgn_mod_init+0xc/0x18 [hi3559av100_rgn]
[] do_one_initcall+0x50/0x168
[] do_init_module+0x5c/0x1a4
[] load_module+0x1abc/0x1f80
[] SyS_finit_module+0xd8/0xf0
[] el0_svc_naked+0x34/0x38
Code: d65f03c0 52800040 b900029f 97fd805a (f9400c00)
---[ end trace 477a6d5dbc440060 ]---
Kernel panic - not syncing: Fatal exception
Kernel Offset: disabled
Memory Limit: 512 MB
---[ end Kernel panic - not syncing: Fatal exception
我来回答
回答5个
时间排序
认可量排序

wlyhqm2006

1个粉丝

1

问答

0

专栏

0

资料

wlyhqm2006 2020-12-20 09:30:03
认可0
请教各位大神,uboot、kernel、rootfs都是默认编译,020、030、031的SDk都试过了,都会有概率的报错

wlyhqm2006

1个粉丝

1

问答

0

专栏

0

资料

wlyhqm2006 2020-12-20 09:32:41
认可0
~ # cat ko/load3559av100_multicore
#!/bin/sh
# Useage: ./load3559av100_multicore [ -r|-i|-a ] [ -sensor0~7 ]
#         -r : rmmod all modules
#         -i : insmod all modules
#    default : rmmod all moules and then insmod them
# e.g: ./load3559av100_multicore -i -sensor0 imx334 -sensor1 imx334 -sensor2 imx334 -sensor3 imx334 -sensor4 imx334 -sensor5 imx334 -sensor6 imx334 -sensor7 imx334


####################Variables Definition##########################


SNS_TYPE0=bt1120;               # sensor0 type
SNS_TYPE1=bt1120;               # sensor1 type
SNS_TYPE2=imx334;               # sensor2 type
SNS_TYPE3=imx334;               # sensor3 type
SNS_TYPE4=imx334;               # sensor4 type
SNS_TYPE5=imx334;               # sensor5 type
SNS_TYPE6=imx334;               # sensor6 type
SNS_TYPE7=imx334;               # sensor7 type

#DDR start:0x40000000,  DSP(64M);  kernel start:0x44000000,  OS(512M); MMZ start:0x64000000
mmz_start=0x64000000;         # mmz start addr
mmz_size=3520M;               # 3520M, mmz size

##################################################################



insert_ko()
{
        insmod sys_config.ko g_online_flag=0 sensors=sns0=$SNS_TYPE0,sns1=$SNS_TYPE1,sns2=$SNS_TYPE2,sns3=$SNS_TYPE3,sns4=$SNS_TYPE4,sns5=$SNS_TYPE5,sns6=$SNS_TYPE6,sns7=$SNS_TYPE7

        # driver load
        insmod hi_osal.ko anony=1 mmz_allocator=hisi mmz=anonymous,0,$mmz_start,$mmz_size || report_error
        insmod hi3559av100_base.ko
        insmod hi3559av100_sys.ko
        insmod hi3559av100_tde.ko
        insmod hi3559av100_rgn.ko
        insmod hi3559av100_gdc.ko
        insmod hi3559av100_vgs.ko
        insmod hi3559av100_dis.ko
        insmod hi3559av100_vi.ko
        insert_isp;
        insmod hi3559av100_vpss.ko
        insmod hi3559av100_avs.ko
        insmod hi3559av100_vo.ko
        insmod hifb.ko video="hifb:vram0_size:32400,vram1_size:16200,vram2_size:256"     # default fb0:4k,fb1:1080p,fb2:256x256

        insmod hi3559av100_chnl.ko
        insmod hi3559av100_vedu.ko
        insmod hi3559av100_rc.ko
        insmod hi3559av100_venc.ko
        insmod hi3559av100_h264e.ko
        insmod hi3559av100_h265e.ko
        insmod hi3559av100_jpege.ko
        #insmod hi3559av100_prores.ko
        insmod hi3559av100_jpegd.ko
        insmod hi3559av100_vfmw.ko
        insmod hi3559av100_vdec.ko

wlyhqm2006

1个粉丝

1

问答

0

专栏

0

资料

wlyhqm2006 2020-12-20 09:33:29
认可0
uboot下的环境参数为:
bootargs=mem=512M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(boot),10M(kernel),96M(rootfs)
bootcmd=mmc read 0 0x44000000 0x800 0x5000;bootm 0x44000000

leo_lan

0个粉丝

0

问答

0

专栏

0

资料

leo_lan 2022-03-29 10:31:25
认可0

请问该问题是否解决了

天性

0个粉丝

0

问答

0

专栏

0

资料

天性 2023-12-15 19:36:03
认可0

大佬,请问这个问题解决了吗,这个问题困扰了许久

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

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区