IMX415 camera porting imx8mplus

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

IMX415 camera porting imx8mplus

2,459 Views
venom
Contributor II

Hi,

I’m working on porting the Sony IMX415 camera sensor to an NXP i.MX8M Plus (IMX8MP) platform.
During the porting process, several references mention generating XML files through ISP tuning tools.

My question is:

  • Do I really need to generate XML files to make IMX415 work on IMX8M Plus?

  • Are these XML files mandatory for basic sensor bring-up (streaming through V4L2 / ISI)?

  • Is there any workaround or minimal-configuration method that avoids XML generation?
    IMX8MPLUS 

Tags (1)
0 Kudos
Reply
7 Replies

2,410 Views
malik_cisse
Senior Contributor I

They removed xml files from recent isp-imx projects but you can get them from earlier projects:
replace xx with previous versions in: isp-imx-4.2.2.xx.0.bin
Check for example:
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.18.0.bin
https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.20.0.bin
etc...

0 Kudos
Reply

2,391 Views
venom
Contributor II
Thanks for the reply but what do u mean xml files are removed from recent isp-imx projects? Are they no longer needed while porting new camera sensor?
0 Kudos
Reply

2,362 Views
malik_cisse
Senior Contributor I

This is a good question.
the xml config/calibration file is still needed as can be seen here:
-AN13712: 8MP ISP OS08A20 Sensor
-AN13713: 8MP ISP New Camera Porting
I don't know why NXP removed this recently though.

0 Kudos
Reply

2,335 Views
venom
Contributor II

Hi,
I have another doubt regarding that XML file.
For now i have xml files for camera sensor OS08A20, can i use the same XML file for imx415 sensor?

Tags (1)
0 Kudos
Reply

2,424 Views
malik_cisse
Senior Contributor I

IMHO you need the xml file. You can use one with same resolution to start with and fine tune later.
Also see:
https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-ISP/m-p/2220156/emcs_t/S2h8ZW1haWx8dG9waWNfc...

0 Kudos
Reply

2,416 Views
venom
Contributor II
How can i get the XML file? If u have any idea please let me know. And for OS08A20 i saw a file with name "Sensor0_Entry_os08a20.cfg" and inside the file it contains:
name="os08a20"
drv = "os08a20.drv"
mode= 0

[mode.0]
xml = "OS08a20_8M_10_1080p_linear.xml"
dwe = "dewarp_config/sensor_dwe_bypass_1080P_config.json"

[mode.1]
xml = "OS08a20_8M_10_1080p_hdr.xml"
dwe = "dewarp_config/sensor_dwe_bypass_1080P_config.json"

[mode.2]
xml = "OS08a20_8M_10_4k_linear.xml"
dwe = "dewarp_config/sensor_dwe_bypass_4K_config.json"

[mode.3]
xml = "OS08a20_8M_10_4k_hdr.xml"
dwe = "dewarp_config/sensor_dwe_bypass_4K_config.json
My doubt is that are these json files are neeeded?
0 Kudos
Reply

2,409 Views
malik_cisse
Senior Contributor I

PS: The corresponding json files are also needed as Dewarp module needs to be configured anyways even in case you set it to bypass.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2249401%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2249401%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%E2%80%99m%20working%20on%20porting%20the%20Sony%20IMX415%20camera%20sensor%20to%20an%20NXP%20i.MX8M%20Plus%20(IMX8MP)%20platform.%3CBR%20%2F%3EDuring%20the%20porting%20process%2C%20several%20references%20mention%20generating%20%3CSTRONG%3EXML%20files%3C%2FSTRONG%3E%26nbsp%3Bthrough%20ISP%20tuning%20tools.%3C%2FP%3E%3CP%3EMy%20question%20is%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EDo%20I%20really%20need%20to%20generate%20XML%20files%20to%20make%20IMX415%20work%20on%20IMX8M%20Plus%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EAre%20these%20XML%20files%20mandatory%20for%20basic%20sensor%20bring-up%20(streaming%20through%20V4L2%20%2F%20ISI)%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EIs%20there%20any%20workaround%20or%20minimal-configuration%20method%20that%20avoids%20XML%20generation%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FIMX8MPLUS%2Fpd-p%2FIMX8MPLUS%22%20class%3D%22lia-product-mention%22%20data-product%3D%2221-1%22%20target%3D%22_blank%22%3EIMX8MPLUS%3C%2FA%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250462%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250462%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20is%20a%20good%20question.%3CBR%20%2F%3Ethe%20xml%20config%2Fcalibration%20file%20is%20still%20needed%20as%20can%20be%20seen%20here%3A%3CBR%20%2F%3E-AN13712%3A%208MP%20ISP%20OS08A20%20Sensor%3CBR%20%2F%3E-AN13713%3A%208MP%20ISP%20New%20Camera%20Porting%3CBR%20%2F%3EI%20don't%20know%20why%20NXP%20removed%20this%20recently%20though.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250237%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250237%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIMHO%20you%20need%20the%20xml%20file.%20You%20can%20use%20one%20with%20same%20resolution%20to%20start%20with%20and%20fine%20tune%20later.%3CBR%20%2F%3EAlso%20see%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FIMX8M-Plus-ISP%2Fm-p%2F2220156%2Femcs_t%2FS2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1JN0JJTUJFRVZXMTA2fDIyMjAxNTZ8U1VCU0NSSVBUSU9OU3xoSw%23M242307%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FIMX8M-Plus-ISP%2Fm-p%2F2220156%2Femcs_t%2FS2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1JN0JJTUJFRVZXMTA2fDIyMjAxNTZ8U1VCU0NSSVBUSU9OU3xoSw%23M242307%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250782%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250782%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3EI%20have%20another%20doubt%20regarding%20that%20XML%20file.%3CBR%20%2F%3EFor%20now%20i%20have%20xml%20files%20for%20camera%20sensor%20OS08A20%2C%20can%20i%20use%20the%20same%20XML%20file%20for%20imx415%20sensor%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThanks%20for%20the%20reply%20but%20what%20do%20u%20mean%20xml%20files%20are%20removed%20from%20recent%20isp-imx%20projects%3F%20Are%20they%20no%20longer%20needed%20while%20porting%20new%20camera%20sensor%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20can%20i%20get%20the%20XML%20file%3F%20If%20u%20have%20any%20idea%20please%20let%20me%20know.%20And%20for%20OS08A20%20i%20saw%20a%20file%20with%20name%20%22Sensor0_Entry_os08a20.cfg%22%20and%20inside%20the%20file%20it%20contains%3A%3CBR%20%2F%3Ename%3D%22os08a20%22%3CBR%20%2F%3Edrv%20%3D%20%22os08a20.drv%22%3CBR%20%2F%3Emode%3D%200%3CBR%20%2F%3E%3CBR%20%2F%3E%5Bmode.0%5D%3CBR%20%2F%3Exml%20%3D%20%22OS08a20_8M_10_1080p_linear.xml%22%3CBR%20%2F%3Edwe%20%3D%20%22dewarp_config%2Fsensor_dwe_bypass_1080P_config.json%22%3CBR%20%2F%3E%3CBR%20%2F%3E%5Bmode.1%5D%3CBR%20%2F%3Exml%20%3D%20%22OS08a20_8M_10_1080p_hdr.xml%22%3CBR%20%2F%3Edwe%20%3D%20%22dewarp_config%2Fsensor_dwe_bypass_1080P_config.json%22%3CBR%20%2F%3E%3CBR%20%2F%3E%5Bmode.2%5D%3CBR%20%2F%3Exml%20%3D%20%22OS08a20_8M_10_4k_linear.xml%22%3CBR%20%2F%3Edwe%20%3D%20%22dewarp_config%2Fsensor_dwe_bypass_4K_config.json%22%3CBR%20%2F%3E%3CBR%20%2F%3E%5Bmode.3%5D%3CBR%20%2F%3Exml%20%3D%20%22OS08a20_8M_10_4k_hdr.xml%22%3CBR%20%2F%3Edwe%20%3D%20%22dewarp_config%2Fsensor_dwe_bypass_4K_config.json%3CBR%20%2F%3EMy%20doubt%20is%20that%20are%20these%20json%20files%20are%20neeeded%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThey%20removed%20xml%20files%20from%20recent%20isp-imx%20projects%20but%20you%20can%20get%20them%20from%20earlier%20projects%3A%3CBR%20%2F%3Ereplace%20xx%20with%20previous%20versions%20in%3A%26nbsp%3Bisp-imx-4.2.2.xx.0.bin%3CBR%20%2F%3ECheck%20for%20example%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-4.2.2.18.0.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-4.2.2.18.0.bin%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-4.2.2.20.0.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-4.2.2.20.0.bin%3C%2FA%3E%3CBR%20%2F%3Eetc...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX415%20camera%20porting%20imx8mplus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250370%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPS%3A%20The%20corresponding%20json%20files%20are%20also%20needed%20as%20Dewarp%20module%20needs%20to%20be%20configured%20anyways%20even%20in%20case%20you%20set%20it%20to%20bypass.%3C%2FP%3E%3C%2FLINGO-BODY%3E