0

yocto build 2.23 成功并启动了我的 Renesas h3ulcb ,使用构建系统上的 sdk 交叉编译了一个 opencv 应用程序(2.4.13.7),当尝试在 Renesas 上执行交叉编译的二进制文件时,出现以下错误。

但是,交叉编译和应用程序在 ubuntu 16.04 上运行良好时没有错误,但是在运行 poky 2.1.3 的 h3ulcb 中出现以下错误

root@h3ulcb:/media/2.4.13_algo_target_# ./main_ 
Error! /media/2.[  617.588072] main_[3025]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x92000006
4.13_algo_target[  617.599298] pgd = ffff8006f8d2a000
_/img/%04d.jpg N[  617.605155] [00000008] *pgd=00000007374cd003ot Found!
[  617.610668] , *pud=0000000737ad3003
, *pmd=0000000000000000[  617.618244] 
[  617.620895] 
[  617.623581] CPU: 0 PID: 3025 Comm: main_ Tainted: G           O    4.9.0-yocto-standard #1
[  617.633050] Hardware name: Renesas H3ULCB board based on r8a7795 (DT)
[  617.640712] task: ffff8006f77f7080 task.stack: ffff8006fab38000
[  617.647859] PC is at 0xffff9fb846c8
[  617.652572] LR is at 0x40498c
[  617.656751] pc : [<0000ffff9fb846c8>] lr : [<000000000040498c>] pstate: 80000000
[  617.665400] sp : 0000fffff3319350
[  617.669956] x29: 0000fffff3319360 x28: 0000000000000000 
[  617.676556] x27: 0000000000000000 x26: 0000000000000000 
[  617.683147] x25: 0000000000000000 x24: 0000000000000000 
[  617.689717] x23: 0000000000000000 x22: 0000000000000000 
[  617.696241] x21: 0000000000000000 x20: 0000000000000000 
[  617.702709] x19: 0000fffff3319630 x18: 0000000000000010 
[  617.709151] x17: 000000000041b510 x16: 0000ffff9fb846a8 
[  617.715568] x15: 0000000032e5d35c x14: 0000ffff9fb2bcb4 
[  617.721960] x13: 0000ffffa02f7000 x12: efeeedecebeae9e8 
[  617.728337] x11: 0000000000000008 x10: 0101010101010101 
[  617.734709] x9 : d7d6d5d4d3d2d1d0 x8 : 0000000000000040 
[  617.741077] x7 : c7c6c5c4c3c2c1c0 x6 : 0000ffff9f290681 
[  617.747419] x5 : 0000000000000000 x4 : 0000000000000000 
[  617.753747] x3 : 0000000000000000 x2 : 0000000000000000 
[  617.760057] x1 : 0000fffff3319750 x0 : 0000ffff9fb83df0 

[  617.766367] 
[  617.768849] audit: type=1701 audit(1562349970.364:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3025 comm="main_" exe="/media/2.4.13_algo_tar1
Segmentation fault (core dumped)

main_ 是交叉编译的可执行文件

谁能帮我调试这个问题?提前致谢

4

0 回答 0