个别项目发生,稳定复现,但同样的代码有的项目板卡不会,怀疑人生,怀疑是DDR的信号不行,个别地址的数据错误,待定位。
原因暂定定位为uboot MAPSZ配置错误。
Rebooting... Alignment trap: not handling instruction e1932f9f at [<401d5ebc>]
Unhandled fault: alignment exception (0x001) at 0x00030027
Internal error: Oops - BUG: 1 [#1] PREEMPT SMP ARM
Modules linked in: uio_pdrv_genirq cmem(O) ipv6
CPU: 0 PID: 900 Comm: reboot Tainted: G O 3.19.0-1.0.0 #36
Hardware name: Xilinx Zynq Platform
task: 7e198a00 ti: 7d85e000 task.ti: 7d85e000
PC is at kobject_get+0x18/0x30
LR is at get_device+0x14/0x1c
pc : [<401d5ec0>] lr : [<40277aa4>] psr: 200d0013
sp : 7d85fe60 ip : 00000000 fp : 00000000
r10: 7d852c34 r9 : 4072c338 r8 : 407043e0
r7 : 00000000 r6 : 4072c338 r5 : 7e3d5410 r4 : 7e3d541c
r3 : 00030027 r2 : 00000114 r1 : 00000000 r0 : 0003000b
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 18c5387d Table: 3d99c04a DAC: 00000015
Process reboot (pid: 900, stack limit = 0x7d85e238)
Stack: (0x7d85fe60 to 0x7d860000)
fe60: 7e081e00 4027946c 00000000 4321fedc 406cf84c 00000010 fee1dead 7d85e000
fe80: 00000000 400379e4 01234567 40037c58 7d85ff74 400c5538 7d85feac 4005b8b4
fea0: 00000038 4008390c 7efa4480 00000000 7d849c50 7dcfcc38 7e7d2600 200d0013
fec0: 001d21cd 00000003 7d85ff74 7e0ef000 ffffff9c 4000de24 7d85e000 00000000
fee0: 00000000 400c5d14 00000043 7d85ff30 7d849c50 7dcfcc38 7eeacfdd 00000005
ff00: 7e0ef015 00000001 00000000 7dc3b088 7dc093d8 00000103 00000002 00000080
ff20: 00000000 00000000 00000000 00000001 7e0ef000 0000a42c 00000000 400c56a8
ff40: 000a4800 00000001 000a4800 7e0ef000 fffffffe fffffffe 7e0ef000 ffffff9c
ff60: 4000de24 400b8d5c 6f00746f 00000074 00000000 00024800 00000000 00000024
ff80: 00000100 00000003 00000000 00000001 00000001 00000003 00000000 00000058
ffa0: 4000de24 4000dca0 00000001 00000003 fee1dead 28121969 01234567 00000010
ffc0: 00000001 00000003 00000000 00000058 00000000 00000000 00000000 00000000
ffe0: 36ec3410 3ec0fc9c 000090ac 36ec3430 600d0010 fee1dead e1530001 1a000015
[<401d5ec0>] (kobject_get) from [<40277aa4>] (get_device+0x14/0x1c)
[<40277aa4>] (get_device) from [<4027946c>] (device_shutdown+0x3c/0x174)
[<4027946c>] (device_shutdown) from [<400379e4>] (kernel_restart+0xc/0x50)
[<400379e4>] (kernel_restart) from [<40037c58>] (SyS_reboot+0xe4/0x1b4)
[<40037c58>] (SyS_reboot) from [<4000dca0>] (ret_fast_syscall+0x0/0x34)
Code: e280301c f57ff05b f593f000 e1932f9f (e2822001)
---[ end trace 40a549c502a2a9ee ]---
note: reboot[900] exited with preempt_count 1
Segmentation fault