ioctl_cmds.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ioctl_cmds.h

Jump to solution
1,170 Views
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 Kudos
Reply
1 Solution
1,152 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,153 Views
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 Kudos
Reply
1,113 Views
AB22
Contributor III
Thank you! That worked.
0 Kudos
Reply
%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%20iMX8MP_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%3ERe%3A%20ioctl_cmds.h%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020072%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you!%20That%20worked.%3C%2FLINGO-BODY%3E