2,853
社区成员




在hdk8450开发板上运行android apk, 这个apk会调用dsp的库,在dsp初始化的时候会调用unsigned pd的接口,这时候就会出错,但是如果只运行dsp的单元测试,是没问题的,不会出错,有人知道是为什么吗?
unsigned pd代码
****************************************************************
if (remote_session_control) {
struct remote_rpc_control_unsigned_module data;
data.enable = 1;
data.domain = CDSP_DOMAIN_ID;
err = remote_session_control(DSPRPC_CONTROL_UNSIGNED_MODULE, (void*)&data, sizeof(data));
if (err) {
LOGI("ERROR 0x%x: remote_session_control fail to set thread params. Falling back to sign pd.\n", err);
}
}
********************************************************************
log
07-13 02:45:34.985 7297 7770 I dsplog : dsp_init
07-13 02:45:34.985 7297 7770 E vendor.qti.camera.provider@2.7-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2237: Error 0xe: set_unsigned_pd_attribute failed for domain 3
07-13 02:45:34.985 7297 7770 E vendor.qti.camera.provider@2.7-service_64: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2487: Error 0xe: remote_session_control failed for request ID 2 (errno Success)
07-13 02:45:34.985 7297 7770 I dsplog : ERROR 0xe: remote_session_control fail to set thread params. Falling back to sign pd.