你好帅哥美女工程师们,工作辛苦了:
使用C6638处理器时发现如下几个不明白的问题咨询下
1.在系统启动时0x80000000—-0x9fffffff存放的是操作系统的信息吗
(1).0x80000000—-0x9fffffff在linux系统启动完成后能否操作次区域的地址空间,发现下载.out到此空间报错。linux系统能访问的DDR空间也只有0xa0000000—0xbfffffff,在加载编译好的DSp.out文件时发现.out分配的空间必须在0xa0000000—0xbfffffff中,否则加载失败。可否告知原因。
(2)能否将linux系统启动压缩到0x80000000-0x8fffffff,将linux访问的空间变成0x90000000–0xbfffffff.需要改U-BOOT和内核的什么配置吗。
2.使用ARM启动DSP后发现DSP6出现如下问题,请问工程师们如何定位DSP核6的问题出现在什么地方
root@keystone-evm:~# ./run_dsp.sh
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
[ 92.139685] remoteproc0: powering up 2620040.dsp0
[ 92.156303] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 92.162074] remoteproc0: registered virtio0 (type 7)
run succeeded
[ 92.215606] remoteproc1: powering up 2620044.dsp1
[ 92.230047] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 92.235841] remoteproc1: registered virtio1 (type 7)
run succeeded
[ 92.289682] remoteproc2: powering up 2620048.dsp2
[ 92.305434] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 92.311070] remoteproc2: registered virtio2 (type 7)
run succeeded
[ 92.368358] remoteproc3: powering up 262004c.dsp3
[ 92.382228] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 92.387867] remoteproc3: registered virtio3 (type 7)
run succeeded
[ 92.445594] remoteproc4: powering up 2620050.dsp4
[ 92.459563] virtio_rpmsg_bus virtio4: rpmsg host is online
[ 92.465392] remoteproc4: registered virtio4 (type 7)
run succeeded
[ 92.520673] remoteproc5: powering up 2620054.dsp5
[ 92.534310] virtio_rpmsg_bus virtio5: rpmsg host is online
[ 92.539945] remoteproc5: registered virtio5 (type 7)
run succeeded
[ 92.598687] remoteproc6: powering up 2620058.dsp6
[ 92.612104] Unable to handle kernel paging request at virtual address e0bebffc
[ 92.619384] pgd = dd788d40
[ 92.622281] [e0bebffc] *pgd=80000800007003, *pmd=81d95a003, *pte=00000000
[ 92.629276] Internal error: Oops: a07 [#1] SMP ARM
13 Nov 24 22:3 Modules linked in:20
[ 92.638662] CPU: 0 PID: 1690 Comm: mpmsrv Not tainted 3.10.10 #4
[ 92.644714] task: ddaafb80 ti: dd6f8000 task.ti: dd6f8000
[ 92.650192] PC is at vring_add_inbuf+0xc8/0x340
[ 92.654811] LR is at rpmsg_probe+0x194/0x3e8
[ 92.659136] pc : [<c027f100>] lr : [<c037d3b0>] psr: 600f0013
[ 92.659136] sp : dd6f9ce8 ip : 0000ffff fp : 00800000
[ 92.670654] r10: 00000000 r9 : 00000003 r8 : c0746b40
[ 92.675917] r7 : 0000ffff r6 : de1be480 r5 : dcf51000 r4 : dd6f9d60
[ 92.682483] r3 : dd6f9d70 r2 : 00000000 r1 : 000ffff0 r0 : e0bebff0
[ 92.689058] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 92.696250] Control: 30c5387d Table: 1d788d40 DAC: fffffffd
4:24 keystone-ev[ 92.696274] Process mpmsrv (pid: 1690, stack limit = 0xdd6f8238)
m [ 92.612104][ 92.696302] Stack: (0xdd6f9ce8 to 0xdd6fa000)
Unable to handl[ 92.696344] 9ce0: 00000003 c0018be0 dd6f9d60 00000200 df200200 de1be480
e kernel paging [ 92.696391] 9d00: dd8cc218 00000200 df200200 de1be480 dd8cc218 dd6f9d60 dd8cc210 c0732914
request at virtu[ 92.696462] 9d20: c06fee48 c037d3b0 000000d0 c01208a0 1d6f9d60 00000008 dd738440 00000006
al address e0beb[ 92.696499] 9d40: 00000000 df200000 c037cd3c c037cd20 c0635964 c063cd38 dcf51000 dcf51800
ffc
2013 Nov 24[ 92.696537] 9d60: c0b45002 00000200 00000200 00000000 dd4d0cc0 00000020 c0723d9c dd8cc368
22:34:24 keysto[ 92.696574] 9d80: dd8cc210 dd8cc218 00000001 00000001 00000003 c027e7ac c0755a7c dd8cc218
ne-evm [ 92.61[ 92.696612] 9da0: c02a6ec4 c0723d9c c0755a58 dda3d800 00000000 c02a6c9c c02a6ec4 00000000
9384] pgd = dd78[ 92.696648] 9dc0: dd8cc218 c02a6ec4 dda3d828 c02a5394 de8b2c70 dea6d6b8 dd8cc218 dd8cc24c
8d40
2013 Nov 2[ 92.696684] 9de0: c070f778 c02a6bf0 dd8cc218 dd8cc218 c070f778 c02a6280 dd8cc218 00000000
4 22:34:24 keyst[ 92.696720] 9e00: dd8cc220 c02a4a7c 00000021 00000000 dda3d800 c025c058 dd8cc218 ffffffe0
one-evm [ 92.6[ 92.696755] 9e20: ffffa190 dd8cc210 c037b5e0 dd8cc218 00000048 dda3d800 dda3d800 dda3d828
22281] [e0bebffc[ 92.696790] 9e40: 00000003 c027e8f8 dd8cc200 dda3d828 00000007 c037baa0 dda3d9b8 dd8cc200
] *pgd=800008000[ 92.696828] 9e60: 00000100 dcc0bc48 00000048 c037a0c8 000000a8 00000000 dcc0bc00 dcc0bc44
07003, *pmd=81d9[ 92.696865] 9e80: 000000f0 c0723b48 dda3d828 c0379df4 ffffffff dda3d800 00000000 dd72a600
5a003, *pte=0000[ 92.696901] 9ea0: dda3d828 dd4ada80 dd6f8000 dd922c28 00000001 c0379f68 de9cbac0 000000f0
0000
2013 Nov 2[ 92.696936] 9ec0: dda3d800 00000000 dda3d96c c037a930 40044901 dda3da18 00000001 00000001
4 22:34:24 keyst[ 92.696971] 9ee0: 00000001 c037c8f8 00000000 ddaafb80 00000000 40044901 dd4ada80 00000001
one-evm [ 92.6[ 92.697013] 9f00: 00000001 c030f8b8 c030f898 c00d7e44 00000001 dd4aa248 00000000 00000001
29276] Internal [ 92.697048] 9f20: 00000000 00000000 ffffffff dea83800 00000033 dce841a8 00000002 00000000
error: Oops: a07[ 92.697083] 9f40: dd4aa248 c00ca224 00000020 dd4aa248 dd4aa240 c00c8bd8 00000000 00000000
[#1] SMP ARM
[ 92.697118] 9f60: c0042954 40044901 0000001b 00000001 00000001 dd4ada80 dd6f8000 00000000
[ 92.697154] 9f80: be969a4c c00d83a0 c000dc28 00000001 00000000 be969cc8 00009c41 00000036
[ 92.697189] 9fa0: c000dc28 c000da80 00000000 be969cc8 0000001b 40044901 00000001 0000001b
[ 92.697224] 9fc0: 00000000 be969cc8 00009c41 00000036 00000000 00000000 b6fb7000 be969a4c
[ 92.697261] 9fe0: 0003e5bc be969a24 0000e700 b6eae1bc 60000010 0000001b feffffff fffffff7
[ 92.697349] [<c027f100>] (vring_add_inbuf+0xc8/0x340) from [<c037d3b0>] (rpmsg_probe+0x194/0x3e8)
[ 92.697449] [<c037d3b0>] (rpmsg_probe+0x194/0x3e8) from [<c027e7ac>] (virtio_dev_probe+0xf4/0x174)
[ 92.697532] [<c027e7ac>] (virtio_dev_probe+0xf4/0x174) from [<c02a6c9c>] (driver_probe_device+0x74/0x20c)
[ 92.697597] [<c02a6c9c>] (driver_probe_device+0x74/0x20c) from [<c02a5394>] (bus_for_each_drv+0x44/0x8c)
[ 92.697652] [<c02a5394>] (bus_for_each_drv+0x44/0x8c) from [<c02a6bf0>] (device_attach+0x70/0x88)
[ 92.697706] [<c02a6bf0>] (device_attach+0x70/0x88) from [<c02a6280>] (bus_probe_device+0x84/0xa8)
[ 92.697781] [<c02a6280>] (bus_probe_device+0x84/0xa8) from [<c02a4a7c>] (device_add+0x4b8/0x588)
[ 92.697860] [<c02a4a7c>] (device_add+0x4b8/0x588) from [<c027e8f8>] (register_virtio_device+0x8c/0xd8)
[ 92.697939] [<c027e8f8>] (register_virtio_device+0x8c/0xd8) from [<c037baa0>] (rproc_add_virtio_dev+0x3c/0x98)
[ 92.698010] [<c037baa0>] (rproc_add_virtio_dev+0x3c/0x98) from [<c037a0c8>] (rproc_handle_vdev+0x134/0x204)
[ 92.698085] [<c037a0c8>] (rproc_handle_vdev+0x134/0x204) from [<c0379df4>] (rproc_handle_resources+0x54/0xdc)
[ 92.698155] [<c0379df4>] (rproc_handle_resources+0x54/0xdc) from [<c0379f68>] (rproc_fw_config_virtio+0xec/0x118)
[ 92.698225] [<c0379f68>] (rproc_fw_config_virtio+0xec/0x118) from [<c037a930>] (rproc_boot_ext_download+0xf8/0x130)
[ 92.698302] [<c037a930>] (rproc_boot_ext_download+0xf8/0x130) from [<c037c8f8>] (uproc_ioctl+0x194/0x1b0)
[ 92.698374] [<c037c8f8>] (uproc_ioctl+0x194/0x1b0) from [<c030f8b8>] (uio_ioctl+0x20/0x30)
[ 92.698460] [<c030f8b8>] (uio_ioctl+0x20/0x30) from [<c00d7e44>] (do_vfs_ioctl+0x80/0x5a4)
[ 92.698529] [<c00d7e44>] (do_vfs_ioctl+0x80/0x5a4) from [<c00d83a0>] (SyS_ioctl+0x38/0x60)
[ 92.698622] [<c00d83a0>] (SyS_ioctl+0x38/0x60) from [<c000da80>] (ret_fast_syscall+0x0/0x30)
[ 92.698677] Code: 0a000016 e1a0120c e2522001 e0800001 (e1c090bc)[ 92.698870] —[ end trace 413ecb4e5acff230 ]—
2013 Nov 24 22:34:25 keystone-evm [ 92.696274] Process mpmsrv (pid: 1690, stack limit = 0xdd6f8238)
2013 Nov 24 22:34:25 keystone-evm [ 92.696302] Stack: (0xdd6f9ce8 to 0xdd6fa000)
2013 Nov 24 22:34:25 keystone-evm [ 92.696344] 9ce0: 00000003 c0018be0 dd6f9d60 00000200 df200200 de1be480
2013 Nov 24 22:34:25 keystone-evm [ 92.696391] 9d00: dd8cc218 00000200 df200200 de1be480 dd8cc218 dd6f9d60 dd8cc210 c0732914
2013 Nov 24 22:34:25 keystone-evm [ 92.696462] 9d20: c06fee48 c037d3b0 000000d0 c01208a0 1d6f9d60 00000008 dd738440 00000006
Shine:
请关注下面e2e的帖子。
e2e.ti.com/…/755617