ioctl_cmds.h

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ioctl_cmds.h

跳至解决方案
1,571 次查看
AB22
Contributor III

The document iMX8MP_CAMERA_DISPLAY_GUIDE.pdf mentions:

Interface header file: mediacontrol/include_api/ioctl_cmds.h

This header file is referenced by a number of Vivante header files but doesn't get built into the Yocto SDK (I am currently using Scarthgap with the Toradex 7.0.0 BSP). Sometimes this file is built in the /build/tmp/work directory but not with Toradex BSPs. I have to go find this file in a build from a different BSP and add it directly to my Qt project when I update Yocto. Is it possible to force this file to be created and added to the SDK?

Thanks

0 项奖励
回复
1 解答
1,553 次查看
joanxie
NXP TechSupport
NXP TechSupport

this file is built in the isp-imx SDK, you can built standalone isp-imx package, the steps are:

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-xxx.bin

$ chmod +x isp-imx-xxx.bin

$ ./isp-imx-xxx.bin

$ cd isp-imx-xxx

$ ./build-all-isp.sh release partial

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,554 次查看
joanxie
NXP TechSupport
NXP TechSupport

this file is built in the isp-imx SDK, you can built standalone isp-imx package, the steps are:

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-xxx.bin

$ chmod +x isp-imx-xxx.bin

$ ./isp-imx-xxx.bin

$ cd isp-imx-xxx

$ ./build-all-isp.sh release partial

0 项奖励
回复
1,514 次查看
AB22
Contributor III
Thank you! That worked.
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2019782%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3Eioctl_cmds.h%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2019782%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20document%26nbsp%3BiMX8MP_CAMERA_DISPLAY_GUIDE.pdf%20mentions%3A%3C%2FP%3E%3CP%3EInterface%20header%20file%3A%20mediacontrol%2Finclude_api%2Fioctl_cmds.h%3C%2FP%3E%3CP%3EThis%20header%20file%20is%20referenced%20by%20a%20number%20of%20Vivante%20header%20files%20but%20doesn't%20get%20built%20into%20the%20Yocto%20SDK%20(I%20am%20currently%20using%20Scarthgap%20with%20the%20Toradex%207.0.0%20BSP).%20Sometimes%20this%20file%20is%20built%20in%20the%20%2Fbuild%2Ftmp%2Fwork%20directory%20but%20not%20with%20Toradex%20BSPs.%20I%20have%20to%20go%20find%20this%20file%20in%20a%20build%20from%20a%20different%20BSP%20and%20add%20it%20directly%20to%20my%20Qt%20project%20when%20I%20update%20Yocto.%20Is%20it%20possible%20to%20force%20this%20file%20to%20be%20created%20and%20added%20to%20the%20SDK%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2019782%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMultimedia%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYocto%20Project%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2020072%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aioctl_cmds.h%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020072%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%B0%A2%E8%B0%A2%E4%BD%A0%EF%BC%81%E8%BF%99%E6%9C%89%E6%95%88%E3%80%82%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2019847%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aioctl_cmds.h%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2019847%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%AF%A5%E6%96%87%E4%BB%B6%E5%86%85%E7%BD%AE%E4%BA%8Eisp-imx%20SDK%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%9E%84%E5%BB%BA%E7%8B%AC%E7%AB%8B%E7%9A%84isp-imx%E5%8C%85%EF%BC%8C%E6%AD%A5%E9%AA%A4%E5%A6%82%E4%B8%8B%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%24%20wget%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-xxx.bin%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-xxx.bin%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%24%20chmod%20%2Bx%20isp-imx-xxx.bin%3C%2FP%3E%0A%3CP%3E%24%20.%2Fisp-imx-xxx.bin%3C%2FP%3E%0A%3CP%3E%24%20cd%20isp-imx-xxx%3C%2FP%3E%0A%3CP%3E%24%20.%2Fbuild-all-isp.sh%20%E5%8F%91%E5%B8%83%E9%83%A8%E5%88%86%3C%2FP%3E%3C%2FLINGO-BODY%3E