Toybrick

Rock-X_SDK android Demo的所有例子都闪退

mymagicpower

新手上路

积分
24
楼主
发表于 2019-7-28 16:29:24    查看: 9230|回复: 7 | [复制链接]    打印 | 只看该作者

所有例子都报了下面的错误,然后app闪退。 我用的是firefly的3399Pro。RockX_SDK用的是Rock-X AI组件库1.0.0 SDK
是版本不兼容吗? 如何下载到兼容版本的Rock-X SDK。



2019-07-27 22:54:24.783 7385-7385/? I/zygote64: Late-enabling -Xcheck:jni
2019-07-27 22:54:24.955 7385-7385/com.rockchip.gpadc.rockx.carplate W/ActivityThread: Application com.rockchip.gpadc.rockx.carplate is waiting for the debugger on port 8100...
2019-07-27 22:54:24.957 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: Sending WAIT chunk
2019-07-27 22:54:29.232 7385-7392/com.rockchip.gpadc.rockx.carplate I/zygote64: Debugger is active
2019-07-27 22:54:29.510 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: Debugger has connected
2019-07-27 22:54:29.511 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:29.712 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:29.914 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:30.518 7385-7385/com.rockchip.gpadc.rockx.carplate I/chatty: uid=10067(com.rockchip.gpadc.rockx.carplate) identical 3 lines
2019-07-27 22:54:30.720 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:30.922 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: debugger has settled (1395)
2019-07-27 22:54:31.151 7385-7385/com.rockchip.gpadc.rockx.carplate I/InstantRun: starting instant run server: is main process
2019-07-27 22:54:31.268 7385-7392/com.rockchip.gpadc.rockx.carplate I/zygote64: NOTE: SuspendByPolicy not suspending JDWP thread
2019-07-27 22:54:31.428 7385-7385/com.rockchip.gpadc.rockx.carplate W/zygote64: Verification of void com.rockchip.gpadc.demo.MainActivity.<init>() took 201.841ms
2019-07-27 22:54:33.298 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:783): avc: denied { read write } for name="rga" dev="tmpfs" ino=10254 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:33.298 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:784): avc: denied { open } for path="/dev/rga" dev="tmpfs" ino=10254 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:33.319 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: onResume
2019-07-27 22:54:33.352 7385-7443/com.rockchip.gpadc.rockx.carplate D/OpenGLRenderer: HWUI GL Pipeline
2019-07-27 22:54:33.435 7385-7443/com.rockchip.gpadc.rockx.carplate I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
    arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '8@0'.
2019-07-27 22:54:33.435 7385-7443/com.rockchip.gpadc.rockx.carplate D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
    current process is NOT sf, to bail out.
2019-07-27 22:54:33.848 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: surfaceCreated
2019-07-27 22:54:33.922 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: mCameraId = 0
2019-07-27 22:54:34.286 7385-7385/com.rockchip.gpadc.rockx.carplate E/Camera-JNI: Unexpected camera orientation 6!
2019-07-27 22:54:34.286 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: mCamera0 = android.hardware.Camera@e74ad66
2019-07-27 22:54:34.289 7385-7443/com.rockchip.gpadc.rockx.carplate I/com.rockchip.gpadc.rockx.carplate: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-07-27 22:54:34.289 7385-7443/com.rockchip.gpadc.rockx.carplate I/OpenGLRenderer: Initialized EGL, version 1.4
2019-07-27 22:54:34.290 7385-7443/com.rockchip.gpadc.rockx.carplate D/OpenGLRenderer: Swap behavior 2
2019-07-27 22:54:34.296 7385-7443/com.rockchip.gpadc.rockx.carplate D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 640x480
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 1280x720
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 320x240
2019-07-27 22:54:34.302 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 800x600
2019-07-27 22:54:34.327 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: surfaceChanged
2019-07-27 22:54:34.329 7385-7385/com.rockchip.gpadc.rockx.carplate I/Choreographer: Skipped 56 frames!  The application may be doing too much work on its main thread.
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 1 for fd 70
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 1920, h : 1017, format : 0x1,internal_format : 0x1, usage : 0xb00. size=7810560,pixel_stride=1920,byte_stride=7680
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=70,share_attr_fd=71
2019-07-27 22:54:34.513 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 2 for fd 75
2019-07-27 22:54:34.514 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 1920, h : 1017, format : 0x1,internal_format : 0x1, usage : 0xb00. size=7810560,pixel_stride=1920,byte_stride=7680
2019-07-27 22:54:34.514 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=75,share_attr_fd=76
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 3 for fd 68
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=68,share_attr_fd=69
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 4 for fd 78
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.250 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=78,share_attr_fd=79
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 5 for fd 81
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=81,share_attr_fd=82
2019-07-27 22:54:35.261 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 6 for fd 84
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=84,share_attr_fd=85
2019-07-27 22:54:35.638 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:785): avc: denied { ioctl } for path="/dev/rga" dev="tmpfs" ino=10254 ioctlcmd=5017 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:786): avc: denied { read } for name="nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:787): avc: denied { open } for path="/sys/devices/platform/ff690000.efuse/rockchip-efuse0/nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:788): avc: denied { getattr } for path="/sys/devices/platform/ff690000.efuse/rockchip-efuse0/nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:789): avc: denied { read } for name="compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.891 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init,  msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:39.892 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:39.893 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(10) error -1
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:799): avc: denied { read } for name="compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:800): avc: denied { open } for path="/sys/firmware/devicetree/base/compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:801): avc: denied { getattr } for path="/sys/firmware/devicetree/base/compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:40.062 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init,  msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:40.063 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:40.066 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(11) error -1
2019-07-27 22:54:40.241 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init,  msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:40.242 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:40.242 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(12) error -1
2019-07-27 22:54:41.792 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:802): avc: denied { ioctl } for path="/dev/rga" dev="tmpfs" ino=10254 ioctlcmd=5017 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rga_device:s0 tclass=chr_f
2019-07-27 23:03:30.605 7385-7468/com.rockchip.gpadc.rockx.carplate A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7468 (Thread-4), pid 7385 (.rockx.carplate)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

troy

版主

积分
2374
沙发
发表于 2019-7-29 08:31:22 | 只看该作者
目前官方只支持Toybrick的RK3399Pro开发板。
回复

使用道具 举报

mymagicpower

新手上路

积分
24
板凳
 楼主| 发表于 2019-7-29 09:44:59 | 只看该作者
troy 发表于 2019-7-29 08:31
目前官方只支持Toybrick的RK3399Pro开发板。

官方的开发板有配套的外壳吗? 我想要直接商用。
回复

使用道具 举报

troy

版主

积分
2374
地板
发表于 2019-7-29 09:48:24 | 只看该作者
mymagicpower 发表于 2019-7-29 09:44
官方的开发板有配套的外壳吗? 我想要直接商用。

直接拿开发板商用?官方开发板只有亚克力壳
回复

使用道具 举报

mymagicpower

新手上路

积分
24
5#
 楼主| 发表于 2019-7-29 09:53:02 | 只看该作者
troy 发表于 2019-7-29 09:48
直接拿开发板商用?官方开发板只有亚克力壳

对啊,我们只做软件开发,不做硬件。需要现成的,你有推荐吗?市场上除了你们,只看到firefly一家提供3399Pro的板子,但是却不支持rock-x SDK.
回复

使用道具 举报

troy

版主

积分
2374
6#
发表于 2019-7-29 10:28:31 | 只看该作者
mymagicpower 发表于 2019-7-29 09:53
对啊,我们只做软件开发,不做硬件。需要现成的,你有推荐吗?市场上除了你们,只看到firefly一家提供339 ...

你们是需要封闭式外壳吗,现有的亚克力外壳可以吧
回复

使用道具 举报

mymagicpower

新手上路

积分
24
7#
 楼主| 发表于 2019-7-29 13:44:24 | 只看该作者
troy 发表于 2019-7-29 10:28
你们是需要封闭式外壳吗,现有的亚克力外壳可以吧

那可拿不出手。
回复

使用道具 举报

troy

版主

积分
2374
8#
发表于 2019-7-29 14:34:24 | 只看该作者

量有多少,量少的话,完全可以淘宝找人做外壳啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表