This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: gst-launch to use isp fail!

Part Number: AM62A7

Tool/software:

Dear TI,

When I only use Acore to run gst to use isp, it seems good.

But if I add MCU to load these firmware(c7x dm), the isp test fail.

the test command is as follow

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer,width=3856,height=2176,framerate=30/1,format=rggb12 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_SONY_IMX728" dcc-isp-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_viss_wdr.bin sink_0::dcc-2a-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_2a_wdr.bin format-msb=11 ! video/x-raw,format=NV12,width=3856,height=2176,framerate=30/1 ! tiovxldc dcc-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_ldc_wdr.bin sensor-name=SENSOR_SONY_IMX728 ! videoconvert ! video/x-raw,format=BGRx,width=3840,height=1920 ! videoconvert ! jpegenc ! multifilesink location="/home/root/autobrains/output/frames%d.jpeg"

This is the boot log when MCU start load firmware and uboot

SYSFW Firmware Version 9.2.7--v09.02.07 (Kool Koala) SYSFW Firmware revision 0x9 SYSFW ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : eMMC [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz [BOOTLOADER_PROFILE] Boot Image Size : 245 KB [BOOTLOADER_PROFILE] Cores present : mcu-r5f0-0 r5f0-0 [BOOTLOADER PROFILE] System_init : 24169us [BOOTLOADER PROFILE] Board_init : 0us [BOOTLOADER PROFILE] Drivers_open : 140241us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 10376us [BOOTLOADER PROFILE] App_loadImages : 5995us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 5399us [BOOTLOADER_PROFILE] SBL Total Time Taken : 186184us Image loading done, switching to application ... Starting MCU-r5f and 2nd stage bootloader SYSFW Firmware Version 9.2.7--v09.02.07 (Kool Koala) SYSFW Firmware revision 0x9 SYSFW ABI revision 3.1 [BOOTLOADER_PROFILE] Boot Media : eMMC [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz [BOOTLOADER_PROFILE] Boot Image Size : 5925 KB [BOOTLOADER_PROFILE] Cores present : hsm-m4f0-0 r5f0-0 a530-0 c75ss0 [BOOTLOADER PROFILE] System_init : 1706us [BOOTLOADER PROFILE] Board_init : 0us [BOOTLOADER PROFILE] Drivers_open : 22030us [BOOTLOADER PROFILE] Board_driversOpen : 0us [BOOTLOADER PROFILE] Sciclient Get Version : 10242us [BOOTLOADER PROFILE] App_loadImages : 2484us [BOOTLOADER PROFILE] App_loadSelfcoreImage : 11832us [BOOTLOADER PROFILE] App_loadLinuxImages : 17397us [BOOTLOADER PROFILE] App_loadDSPImages : 94368us [BOOTLOADER_PROFILE] SBL Total Time Taken : 160062us Image loading done, switching to application ... Starting linux and RTOS/Baremetal applications NOTICE: BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty NOTICE: BL31: Built : 09:34:15, Aug 24 2023 U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)') am62a_init: board_init_f done
And this is the fail log
Please check it asap!
Thanks!
  • Hi,

    Could you try to run the below pipeline and let me know if it works:

    gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer,width=3856,height=2176,framerate=30/1,format=rggb12 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_SONY_IMX728" dcc-isp-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_viss_wdr.bin sink_0::dcc-2a-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_2a_wdr.bin format-msb=11 ! video/x-raw,format=NV12,width=3856,height=2176,framerate=30/1 ! tiovxldc dcc-file=/home/root/autobrains/imx728/dcc_3856x2176/dcc_ldc_wdr.bin sensor-name=SENSOR_SONY_IMX728 ! video/x-raw,format=NV12,width=3840,height=1920 ! v4l2jpegenc ! multifilesink location="/home/root/autobrains/output/frames%d.jpeg

    Best Regards,

    Suren

  • Hi,

    It seems v4l2pegenc could not found

  • That was a typo.. Its v4l2jpegenc (Jpeg encoder ). Please  retry and let me know how it goes.

    Best Regards,

    Suren