A log appears when imx8qxp starts:
[2.255817] [VPU Decoder] warning: init rtx channel failed, ret: -517
[2.262752] [VPU Decoder] failed to request mailbox, ret = -517
[2.274588] [VPU Encoder] warning: init rtx channel failed, ret: -517
[2.281264] [VPU Encoder] fail to request mailbox, ret = -517
Through the tracking code, line 6698 of work-shared/imx8qxpmek/kernel-source/drivers/mxc/vpu_malone/vpu_b0.c appears.
I am using bitbake imx-image-multimedia of imx-yocto-L5.4.47_2.2.0 No changes
已解决! 转到解答。
I run:
./mxc_v4l2_vpu_enc.out ifile test.yuv WIDTH 1920 HEIGHT 1080 OWIDTH 1920 OHEIGHT 1080 GOP 3 QP 22 MAXBR 9000 TARBR 7000 MINBR 6000 ofile test.h264
mxc_v4l2_vpu_test.out V2.0
init
--------
(null) frame count : 0
(null) frame count : 0
release
memory : 0
I run:
./mxc_v4l2_vpu_enc.out ifile test.yuv WIDTH 1920 HEIGHT 1080 OWIDTH 1920 OHEIGHT 1080 GOP 3 QP 22 MAXBR 9000 TARBR 7000 MINBR 6000 ofile test.h264
mxc_v4l2_vpu_test.out V2.0
init
--------
(null) frame count : 0
(null) frame count : 0
release
memory : 0