[camera drv]工厂模式下测试camera fail

[DESCRIPTION]
1. 工厂模式下测试camera失败,从工厂模式下的android log里面有以下关于M4U的log出现:
E/M4U_L   (   90): Open file failed mFileDescriptor=-1, error=2 :No such file or directory
E/M4U_L   (   90): m4u_reset_mva_release_tlb failed
D/AppFDVT (   90): [allocM4UMemory] virtAddr = 0x41967020, size = 464448
E/M4U_L   (   90): m4u_alloc_mva failed
D/AppFDVT (   90): [freeM4UMemory] m4u_alloc_mva fail
E/M4U_L   (   90): m4u_insert_tlb_range failed
D/AppFDVT (   90): [allocM4UMemory] m4uVa = 0x0
E/M4U_L   (   90): m4u_config_port failed
E/M4U_L   (   90): m4u_config_port failed
E/M4U_L   (   90): m4u_config_port failed
D/AppFDVT (   90): InitialDRAM hw_fd_result_datapa 0x0 hw_tc_result_datapa 0x1000 rs_config_datapa 0x3000 fd_config_datapa 0x3400
D/AppFDVT (   90): InitialDRAM hw_fd_result_datava 0x41967020 hw_tc_result_datava 0x41968020 rs_config_datava 0x4196a020 fd_config_datava 0x4196a420
D/AppFDVT (   90): [allocM4UMemory] virtAddr = 0x96ac0, size = 95456
E/M4U_L   (   90): m4u_alloc_mva failed
D/AppFDVT (   90): [freeM4UMemory] m4u_alloc_mva fail
E/M4U_L   (   90): m4u_insert_tlb_range failed
[SOLUTION]
将mediatek/custom/$project/factory/init.rc文件中的service AcdApiDaemon /system/bin/logwrapper /system/bin/AcdApiDaemon 这句移动到#service hald /system/bin/hald 的前面

你可能感兴趣的:(android,android,android,工厂模式,Camera)