yzhiju

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju  发布于  2014-10-31 16:49:03
采纳率 0%
12个问答
13240

hi3520d ddr3从256M升级到516M 系统容易崩溃

 
1,修改了 sdk开发包提供的配置表格,
2,修改了 u-boot目录下 include/configs/ 配置文件

还有其它地方需要修改吗?
我来回答
回答17个
时间排序
认可量排序

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-10-31 16:52:30
认可0
Unable to handle kernel paging request at virtual address 80000163
pgd = d3c2c000
[80000163] *pgd=00000000
Internal error: Oops: 805 [#1]
Modules linked in: ad gpioi2c rt3070sta usb_storage gpio hi_ir hi3520D_adec(P) hi3520D_aenc(P) hi3520D_ao(P) hi3520D_ai(P) hi3520D_sio(P)

jpeg(P) hi3520D_hdmi(P) hi3520D_vfmw(P) hi3520D_vdec(P) hifb(P) vcmp(P) hi3520D_region(P) hi3520D_vda(P) hi3520D_ive(P) hi3520D_vpss(P)

hi3520D_vou(P) hi3520D_viu(P) hi3520D_jpege(P) hi3520D_rc(P) hi3520D_h264e(P) hi3520D_chnl(P) hi3520D_group(P) hi3520D_venc(P) hi3520D_dsu

(P) hi3520D_tde(P) hi3520D_sys(P) hi3520D_base(P) hiuser mmz hi_rtc
CPU: 0    Tainted: P             (3.0.8 #14)
PC is at VpssStartOneTask+0x25c/0x9c8 [hi3520D_vpss]
LR is at 0x0
pc : []    lr : [<00000000>]    psr: a0000193
sp : d3c2bdb0  ip : bf01af60  fp : d3c2bdec
r10: d41de9d8  r9 : 80000193  r8 : 00000001
r7 : 00000008  r6 : 00000003  r5 : bf228d90  r4 : d40dc000
r3 : bf02bf18  r2 : 00000001  r1 : d40de0e4  r0 : 00000001
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c53c7d  Table: 93c2c059  DAC: 00000015

SP: 0xd3c2bd30:
bd30  d3c2bd54 d3c2bd40 bf1b36d4 bf01694c d3c2bd94 d3c2bd58 ffffffff d3c2bd9c
bd50  00000003 00000008 d3c2bdec d3c2bd68 c0034e2c c002d274 00000001 d40de0e4
bd70  00000001 bf02bf18 d40dc000 bf228d90 00000003 00000008 00000001 80000193
bd90  d41de9d8 d3c2bdec bf01af60 d3c2bdb0 00000000 bf207f44 a0000193 ffffffff
bdb0  bf228d90 00000000 80000193 00000003 00000000 00000000 60000193 00000000
bdd0  00000003 bf228d90 00000000 d41de9d8 d3c2be64 d3c2bdf0 bf20b0cc bf207cf4
bdf0  d40dc428 d40dc424 d3c2be14 9750e850 d73ae850 00000200 00000001 00000000
be10  00000000 00000000 00000000 00000000 00000001 d40dc5e8 d40dc648 d3c2bdfc

FP: 0xd3c2bd6c:
bd6c  d40de0e4 00000001 bf02bf18 d40dc000 bf228d90 00000003 00000008 00000001
bd8c  80000193 d41de9d8 d3c2bdec bf01af60 d3c2bdb0 00000000 bf207f44 a0000193
bdac  ffffffff bf228d90 00000000 80000193 00000003 00000000 00000000 60000193
bdcc  00000000 00000003 bf228d90 00000000 d41de9d8 d3c2be64 d3c2bdf0 bf20b0cc
bdec  bf207cf4 d40dc428 d40dc424 d3c2be14 9750e850 d73ae850 00000200 00000001
be0c  00000000 00000000 00000000 00000000 00000000 00000001 d40dc5e8 d40dc648
be2c  d3c2bdfc 00000003 00000002 00000014 00000000 bf229d2c 00000000 00000118
be4c  0000023c d3d9c558 00000000 d3c2be7c d3c2be68 bf219008 bf20aeb8 00000000

R1: 0xd40de064:
e064  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e084  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e0a4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e0c4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e0e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e104  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e124  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
e144  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

R4: 0xd40dbf80:
bf80  000002c0 000002c0 00000000 00000000 00000000 00000000 09ca9add 00000000
bfa0  00001c82 00000000 00000000 00000000 00000001 00000000 00000010 00000000
bfc0  00000004 00000000 00000000 00000000 00000001 00000000 ffffffff 00000001
bfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
c000  000002c0 00000240 00000013 00000000 00000000 00000001 00000001 00000001
c020  00000000 00000000 00000001 00000002 00000002 00000002 00000002 00ffffff
c040  00ffffff 00ffffff 00ffffff 00000000 00000001 00000002 00000002 00000002
c060  00000002 00ffffff 00ffffff 00ffffff 00ffffff 00000000 00000001 00000002

R10: 0xd41de958:
e958  3843141b 000973bb 3843141b 00097d10 000002c0 00000240 00000003 00000013
e978  96a35800 96a98800 00000000 d8471800 d84d4800 00000000 000002c0 000002c0
e998  00000000 00000000 00000000 00000000 09dc00e8 00000000 00001cd6 00000000
e9b8  00000000 00000000 00000010 00000000 00100100 00200200 3843141b 000a0fc1
e9d8  3843141b 000a190c 000002c0 00000240 00000003 00000013 96c1d000 96c80000
e9f8  00000000 d8659000 d86bc000 00000000 000002c0 000002c0 00000000 00000000
ea18  00000000 00000000 09d7befc 00000000 00001cc8 00000000 00000000 00000000
ea38  00000010 00000000 d41deab8 d40dc350 3843141b 0005c8b3 3843141b 0005d20a
Process malloc_fork (pid: 964, stack limit = 0xd3c2a268)
Stack: (0xd3c2bdb0 to 0xd3c2c000)
bda0:                                     bf228d90 00000000 80000193 00000003
bdc0: 00000000 00000000 60000193 00000000 00000003 bf228d90 00000000 d41de9d8
bde0: d3c2be64 d3c2bdf0 bf20b0cc bf207cf4 d40dc428 d40dc424 d3c2be14 9750e850
be00: d73ae850 00000200 00000001 00000000 00000000 00000000 00000000 00000000
be20: 00000001 d40dc5e8 d40dc648 d3c2bdfc 00000003 00000002 00000014 00000000
be40: bf229d2c 00000000 00000118 0000023c d3d9c558 00000000 d3c2be7c d3c2be68
be60: bf219008 bf20aeb8 00000000 bf229d2c d3c2bec4 d3c2be80 bf219298 bf218ff4
be80: 00000045 00000000 60000193 00000000 a57eb503 00000001 d3c2bec4 bf229d2c
bea0: 00000000 00012080 bf229d7c 000020f4 c0592cdc d5006a20 d3c2bf0c d3c2bec8
bec0: bf219428 bf21904c c003be20 c0064ff4 c009df00 c009d378 00000000 3843141b
bee0: 000a1908 00000001 d3c2bfb0 d4686680 00000045 00000000 00000000 00000045
bf00: d3c2bf44 d3c2bf10 c0077fa4 bf219330 d3c2bf7c d3c2bf20 c009e458 d5006a20
bf20: 00000045 00000000 00000000 00000000 d3c2a000 40097108 d3c2bf5c d3c2bf48
bf40: c0078120 c0077f58 c085d204 d5006a20 d3c2bf74 d3c2bf60 c007a274 c00780fc
bf60: c007a1fc 00000045 d3c2bf8c d3c2bf78 c0077f30 c007a208 00000080 c053be4c
bf80: d3c2bfac d3c2bf90 c002d040 c0077f0c 20000010 ffffffff fe300100 00000045
bfa0: 00000000 d3c2bfb0 c0035060 c002d00c 02991b68 00000000 000008b0 02993ab8
bfc0: 0000056c beec3f1c 00008438 00000000 00000000 00000000 40097108 beec3cac
bfe0: 00000000 beec1c90 0000860c 401dff98 20000010 ffffffff 7cc64ea5 0323860a
Backtrace:
[] (VpssStartOneTask+0x0/0x9c8 [hi3520D_vpss]) from [] (VpssGrpIsr+0x220/0x1050 [hi3520D_vpss])
[] (VpssGrpIsr+0x0/0x1050 [hi3520D_vpss]) from [] (VPSS_COMM_HalNodeProc+0x20/0x58 [hi3520D_vpss])
[] (VPSS_COMM_HalNodeProc+0x0/0x58 [hi3520D_vpss]) from [] (VPSS_COMM_HalListInt+0x258/0x2e4 [hi3520D_vpss])
[] (VPSS_COMM_HalListInt+0x0/0x2e4 [hi3520D_vpss]) from [] (VPSS_COMM_IrqProc+0x104/0x288 [hi3520D_vpss])
[] (VPSS_COMM_IrqProc+0x0/0x288 [hi3520D_vpss]) from [] (handle_irq_event_percpu+0x58/0x1a4)
r8:00000045 r7:00000000 r6:00000000 r5:00000045 r4:d4686680
[] (handle_irq_event_percpu+0x0/0x1a4) from [] (handle_irq_event+0x30/0x40)
[] (handle_irq_event+0x0/0x40) from [] (handle_fasteoi_irq+0x78/0xd4)
r4:d5006a20 r3:c085d204
[] (handle_fasteoi_irq+0x0/0xd4) from [] (generic_handle_irq+0x30/0x38)
r4:00000045 r3:c007a1fc
[] (generic_handle_irq+0x0/0x38) from [] (asm_do_IRQ+0x40/0x8c)
r4:c053be4c r3:00000080
[] (asm_do_IRQ+0x0/0x8c) from [] (__irq_usr+0x40/0x80)
Exception stack(0xd3c2bfb0 to 0xd3c2bff8)
bfa0:                                     02991b68 00000000 000008b0 02993ab8
bfc0: 0000056c beec3f1c 00008438 00000000 00000000 00000000 40097108 beec3cac
bfe0: 00000000 beec1c90 0000860c 401dff98 20000010 ffffffff
r6:00000045 r5:fe300100 r4:ffffffff r3:20000010
Code: e50b6030 e3a0e000 e3a07008 e50be02c (e5097030)
---[ end trace 6fa72905bf5ffd19 ]---
Kernel panic - not syncing: Fatal exception in interrupt
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
r6:bf207f46 r5:c054ff50 r4:c054ff50 r3:60000113
[] (dump_stack+0x0/0x1c) from [] (panic+0x74/0x188)
[] (panic+0x0/0x188) from [] (die+0x288/0x2e0)
r3:00010000 r2:00010000 r1:d3c2a000 r0:c04cf888
r7:00000001
[] (die+0x0/0x2e0) from [] (__do_kernel_fault+0x7c/0x8c)
[] (__do_kernel_fault+0x0/0x8c) from [] (do_page_fault+0x148/0x1e4)
r8:d3c2bd68 r7:00000805 r6:80000163 r5:80000163 r4:d3d66900
r3:d3c2bd68
[] (do_page_fault+0x0/0x1e4) from [] (do_translation_fault+0xa4/0xa8)
[] (do_translation_fault+0x0/0xa8) from [] (do_DataAbort+0x3c/0xa4)
r7:d3c2bd68 r6:80000163 r5:c0533f78 r4:00000805
[] (do_DataAbort+0x0/0xa4) from [] (__dabt_svc+0x4c/0x60)
Exception stack(0xd3c2bd68 to 0xd3c2bdb0)
bd60:                   00000001 d40de0e4 00000001 bf02bf18 d40dc000 bf228d90
bd80: 00000003 00000008 00000001 80000193 d41de9d8 d3c2bdec bf01af60 d3c2bdb0
bda0: 00000000 bf207f44 a0000193 ffffffff
r7:00000008 r6:00000003 r5:d3c2bd9c r4:ffffffff
[] (VpssStartOneTask+0x0/0x9c8 [hi3520D_vpss]) from [] (VpssGrpIsr+0x220/0x1050 [hi3520D_vpss])
[] (VpssGrpIsr+0x0/0x1050 [hi3520D_vpss]) from [] (VPSS_COMM_HalNodeProc+0x20/0x58 [hi3520D_vpss])
[] (VPSS_COMM_HalNodeProc+0x0/0x58 [hi3520D_vpss]) from [] (VPSS_COMM_HalListInt+0x258/0x2e4 [hi3520D_vpss])
[] (VPSS_COMM_HalListInt+0x0/0x2e4 [hi3520D_vpss]) from [] (VPSS_COMM_IrqProc+0x104/0x288 [hi3520D_vpss])
[] (VPSS_COMM_IrqProc+0x0/0x288 [hi3520D_vpss]) from [] (handle_irq_event_percpu+0x58/0x1a4)
r8:00000045 r7:00000000 r6:00000000 r5:00000045 r4:d4686680
[] (handle_irq_event_percpu+0x0/0x1a4) from [] (handle_irq_event+0x30/0x40)
[] (handle_irq_event+0x0/0x40) from [] (handle_fasteoi_irq+0x78/0xd4)
r4:d5006a20 r3:c085d204
[] (handle_fasteoi_irq+0x0/0xd4) from [] (generic_handle_irq+0x30/0x38)
r4:00000045 r3:c007a1fc
[] (generic_handle_irq+0x0/0x38) from [] (asm_do_IRQ+0x40/0x8c)
r4:c053be4c r3:00000080
[] (asm_do_IRQ+0x0/0x8c) from [] (__irq_usr+0x40/0x80)
Exception stack(0xd3c2bfb0 to 0xd3c2bff8)
bfa0:                                     02991b68 00000000 000008b0 02993ab8
bfc0: 0000056c beec3f1c 00008438 00000000 00000000 00000000 40097108 beec3cac
bfe0: 00000000 beec1c90 0000860c 401dff98 20000010 ffffffff
r6:00000045 r5:fe300100 r4:ffffffff r3:20000010

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-10-31 16:53:55
认可0
每次“Unable to handle kernel paging request at virtual address 80000163” virtual address 都不一样

cdxionghang

0个粉丝

15

问答

0

专栏

0

资料

cdxionghang 2014-11-05 10:47:12
认可0
加载驱动的那个脚本下MMZ分配有个地址需要更改,我的是做的IPC,应该NVR也一样吧

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-05 17:29:45
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8831&ptid=4100]cdxionghang 发表于 2014-11-5 10:47[/url]
加载驱动的那个脚本下MMZ分配有个地址需要更改,我的是做的IPC,应该NVR也一样吧[/quote]

谢谢你!终于有人回复我了。能告诉我具体修改拿吗?我没发现哪里要更改

cdxionghang

0个粉丝

15

问答

0

专栏

0

资料

cdxionghang 2014-11-05 17:40:37
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8838&ptid=4100]yzhiju 发表于 2014-11-5 17:29[/url]
谢谢你!终于有人回复我了。能告诉我具体修改拿吗?我没发现哪里要更改[/quote]

在驱动文件夹下不是有一个脚本加载所有驱动么,类似insmod /etc/ko/mmz.ko mmz=anonymous,0,0x82A00000,22M anony=1 || report_error,红色的要根据你分配去修改

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-06 14:39:34
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8839&ptid=4100]cdxionghang 发表于 2014-11-5 17:40[/url]
在驱动文件夹下不是有一个脚本加载所有驱动么,类似insmod /etc/ko/mmz.ko mmz=anonymous,0,0x82A00000,2 ...[/quote]

谢谢,改了之后好多了,但还是会有崩溃现象:(

hilinux

0个粉丝

17

问答

0

专栏

0

资料

hilinux 2014-11-06 20:25:53
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8847&ptid=4100]yzhiju 发表于 2014-11-6 14:39[/url]
谢谢,改了之后好多了,但还是会有崩溃现象[/quote]

需要修改boot下的ddr配置参数,查一下内存对应的line、row的规格

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-07 09:03:01
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8858&ptid=4100]hilinux 发表于 2014-11-6 20:25[/url]
需要修改boot下的ddr配置参数,查一下内存对应的line、row的规格[/quote]

这个修改了,,如果只刷boot kernel root 海思提供的模块没insmod 我开11进程一直malloc free 开了一天都没问题,如果整体都刷进去,模块都挂上去一般1个小时就崩溃,我也修改了mmz 配置了,是不是还有其他地方需要配置?

hilinux

0个粉丝

17

问答

0

专栏

0

资料

hilinux 2014-11-09 18:09:19
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8863&ptid=4100]yzhiju 发表于 2014-11-7 09:03[/url]
这个修改了,,如果只刷boot kernel root 海思提供的模块没insmod 我开11进程一直malloc free 开了一天都 ...[/quote]

1、可能是你的PCB板有问题,试着将主频降低一下
2、内存的时序还需要调整,使用海思提供的内存检测工具修改内存时序

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-10 09:50:18
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8932&ptid=4100]hilinux 发表于 2014-11-9 18:09[/url]
1、可能是你的PCB板有问题,试着将主频降低一下
2、内存的时序还需要调整,使用海思提供的内存检测工具 ...[/quote]

pcb问题可以排除,因为以前用256M是好的,海思提供的内存检测工具在SDK开发包里吗?

hilinux

0个粉丝

17

问答

0

专栏

0

资料

hilinux 2014-11-12 23:32:32
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8935&ptid=4100]yzhiju 发表于 2014-11-10 09:50[/url]
pcb问题可以排除,因为以前用256M是好的,海思提供的内存检测工具在SDK开发包里吗?[/quote]

需要找海思技术支持要

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-26 09:15:55
认可0
发现分配的内存跟MMZ的内存有冲突,分配的内存可能越界了,
修改了 sdk开发包提供的配置表格,DDRC_RNKCFG=0x142,ddr3 型号K4B4G1646C-HCK0 其它都是默认的
修改了 u-boot目录下 include/configs/ 配置文件,#define CFG_DDR_SIZE        (512*1024*1024)
配置MMZ 地址向后移了2M就正常了 具体越界多少没去试
这可能是什么问题?

至尊宝

0个粉丝

5

问答

0

专栏

0

资料

至尊宝 2015-05-23 19:38:26
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=8932&ptid=4100]hilinux 发表于 2014-11-9 18:09[/url]
1、可能是你的PCB板有问题,试着将主频降低一下
2、内存的时序还需要调整,使用海思提供的内存检测工具 ...[/quote]

主频怎么降低呢?

Jacky

0个粉丝

8

问答

0

专栏

0

资料

Jacky 2016-03-25 15:51:21
认可0
请问楼主,我也将3520D的内存型号改为:  K4B4G1646D-BIK0,更改了DDRC_RNKCFG ,DDRC_TIMING1,其他用默认的,单FASTBOOT烧写不成功,能否发一份你的默认表给我,谢谢。email:pengqh@chinajst.com

Jacky

0个粉丝

8

问答

0

专栏

0

资料

Jacky 2016-03-26 16:44:52
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=9682&ptid=4100]yzhiju 发表于 2014-11-26 09:15[/url]
发现分配的内存跟MMZ的内存有冲突,分配的内存可能越界了,
修改了 sdk开发包提供的配置表格,DDRC_RNKCFG ...[/quote]

楼主,你好,我的3520D也是采用了K4B4G1646D这个片子,但是采用默认的boot配置参数根本跑不起来,你的SDK版本是多少,能否给一份相关的XLS文档发给我,我email: [email]pengqh@chinajst.com[/email],谢谢。

Benz

0个粉丝

29

问答

0

专栏

0

资料

Benz 2016-12-28 12:01:31
认可0
请问楼主,  关于那个xls表格的配置, 要怎么配置?

yzhiju

0个粉丝

12

问答

0

专栏

0

资料

yzhiju 2014-11-05 10:39:39
认可0
:'(:'(:'(。。。。。。。。。。
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区