本帖最后由 jtt083 于 2019-6-25 09:12 编辑
各位大大 先进们好
这次项目需要在RK3399J加上一个能侦测VAD和DOA的MIC ARRAY
选用的是FM1388这颗IC
在移植到ANDROID 7.1.2 BSP版本中遇到一些问题,
原厂提供的driver code中,
与系统主板是透过I2C控制,
但会透过SPI接口来从系统Firmware(system/etc/firmware)文件夹来下载
firmware 及 config file,
目前执行安装driver的时候遇到的问题LOG如下,
[ 154.310625]fm1388_i2c_probe: FM1388 Driver Version 0.0.1
[ 154.310648]fm1388_i2c_probe: device_create_file - dev_attr_fm1388_reg.
[ 154.310663]fm1388_i2c_probe: device_create_file - dev_attr_index_reg.
[ 154.310675]fm1388_i2c_probe: device_create_file - dev_attr_fm1388_addr.
[ 154.310688]fm1388_i2c_probe: fm1388_reset.
[ 154.311298]fm1388_i2c_probe: misc_register.
[ 154.311536]fm1388 4-002c: Direct firmware load for fm1388_fw failed with error -2
[ 154.311550]fm1388 4-002c: Falling back to user helper
[ 154.315611]fm1388_fw_loaded: entering...
[ 154.315640]load_fm1388_init_vec: file /system/etc/firmware/FM1388_init.vec
[ 154.315968]File /system/etc/firmware/FM1388_init.vec opened!...
[ 154.315983]Read file fail return
[ 154.315991]load_fm1388_init_vec: processed_argv = NULL...
[ 154.419309]fm1388_dsp_load_fw: with SPI T1
[ 154.419396]fm1388_dsp_load_fw: start time T2: 2013-0-18 8:59:0
[ 154.419417]fm1388_dsp_load_fw: SPi_Loadfw_start
[ 154.419618]fm1388 4-002c: Direct firmware load for FM1388_50000000.dat failed with error -2
[ 154.419649]fm1388 4-002c: Falling back to user helper
从system/etc/fimware读取配置文件及firmware一直读不到值,
这是跟文件夹档案权限或用户权力有关吗
请问要改的话要从哪边修改
请有经验的大大不吝赐教
谢谢各位 |