根据步骤运行人脸对齐程序后屏幕还是白的,控制台卡在enable F2K AE,另外控制台输出中有一行显示isp_hdr_mode_cfg, ioctl CNMODULE_SET_HDR_CFG failed(-1),开发板上系统是重新安装的,在重装前也有此问题,控制台具体输出如下:
···
[root@canaan /app/ai/shell ]$ ./face_alignment.sh
case ./face_alignment build Aug 2 2023 01:15:12
drm: Found plane_id: 50 connector_id: 49 crtc_id: 57
drm: 1080x1920 (68mm X 121mm) pixel format NV12
screen resolution: 1080x1920
drm: Found plane_id: 50 connector_id: 49 crtc_id: 57
drm: 1080x1920 (68mm X 121mm) pixel format NV12
----------------drm_setup_buffers ---------------------------------
mediactl_init:auto.conf
dofile_video_cfg:auto.conf
doit_video_cfg:start
doit_video_cfg:video5_pitch 0x1614c0
cJSON_GetObjectItem: type=3, string is video5_pitch, valueint is 320 pitc[ 401.737628] k510-isp 92600000.isp1: __media_entity_setup_link:link->flags(0x3)
h is 320
doit_video_cfg:sensor[ 401.747472] imx219_0 0-0010: imx219_get_fmt:mode->width(1088),mode->height(1928) end
1 cJSON_GetArraySize: size=8
cJ[ 401.758550] imx219_0 0-0010: imx219_set_fmt:start
SON_GetArrayItem: type=4, string[ 401.765257] /n *************mode->width is 1088 mode->height is 1920
is sensor1_name, valuestring is[ 401.776386] [K510_RESET]:k510_reset id = 0x01504f80, offset = 0x00000150 type = 1 done = 31 reset =0
m01_f_imx219_1 3-0010,m01_f_imx[ 401.776405] [K510_RESET]:k510_reset id = 0x01484f80, offset = 0x00000148 type = 1 done = 31 reset =0
219_1 3-0010,8
cJSON_GetArrayIt[ 401.786731] [K510_RESET]:k510_reset id = 0x01344f80, offset = 0x00000134 type = 1 done = 31 reset =0
em: type=4, string is sensor1_cf[ 401.798931] [K510_RESET]:k510_reset id = 0x01384f80, offset = 0x00000138 type = 1 done = 31 reset =0
g_file, valuestring is imx219_1.[ 401.810412] [K510_RESET]:k510_reset id = 0x013c4f80, offset = 0x0000013c type = 1 done = 31 reset =0
conf,imx219_1.conf,8
cJSON_GetObjectItem(sensor1_total_width): type=3, string is sensor1_total_width, valueint is 3476
dofile_csi2:auto.conf
doit_csi2:start
dofile_vi:auto.conf
doit_vi:start
mediactl_init:imx219_0.conf[ 401.822582] [K510_RESET]:k510_reset id = 0x01404f80, offset = 0x00000140 type = 1 done = 31 reset =0
dofile_isp:imx219_0.conf
doit[ 401.850786] k510-isp 92600000.isp1: k510isp_video_streamon:start
_isp:start
cJSON_GetObjectItem: type=3, string is out_img_forma[ 401.876153] imx219_1 2-0010: imx219_get_fmt:mode->width(1920),mode->height(1080) end
t, valueint is 1
mediactl_init:imx219_1.conf
dofile_isp:imx219_1.conf
doit_isp:start
cJSON_GetObjectItem: type=3, string is out_img_format, valueint is 1
media_open:start
media_enum_links:start!entities_count 22
media_reset_links:start
isp_f2k_video_init:entity(0x17ec10)isp->video(0x17ec10)
isp_f2k_video_init:entity(0x17eea0)isp->video(0x17eea0)
isp_f2k_video_link:media_setup_link setup!
isp_hdr_mode_cfg,hdr_mode:0
isp_hdr_mode_cfg, ioctl CNMODULE_SET_HDR_CFG failed(-1)
main block alloc:0x1a3fe000,size:33554432,align 4096
main block alloc:0x197fd000,size:12582912,align 4096
isp_f2k_cfg:1088
isp_f2k_cfg:total_width =3453,total_height =1979
ae ctl v0.2.5
ae_ctl_cfg_select, use 0 param
k510 adaptive v0.3.3
adaptive_sensor_select_init, pipeline 0, use 0 param
k510 adaptive v0.3.3
adaptive_sensor_select_init, pipeline 1, use 0 param
mediactl_init:total_size.width(0xd7d),total_size.height(0x7bb)
v4l2_open: start
v4l2_open: VIDIOC_QUERYCAP 0x84200003
v4l2_open: dev->type 1 dev->fd 12
v4l2_enum_formats: dev->fd 12 start
Device /dev/video3 opened: CANAAN K510 ISP F2K_DS0 output (media).
v4l2_set_format: dev->type 1 dev->fd 12 start
3 buffers requested.
v4l2_alloc_buffers:buf.length(3110400),buf.m.offset (0x0)
Buffer 0 allocated with no memory.
v4l2_alloc_buffers:buf.length(3110400),buf.m.offset (0x0)
Buffer 1 allocated with no memory.
v4l2_alloc_buffers:buf.length(3110400),buf.m.offset (0x0)
Buffer 2 allocated with no memory.
v4l2_stream_on: start
run_all_ae_video ------------------- start 3
enable F2K AE
···