Starting the camera in i.MX8M Mini after kernel bootup is complete to reduce camera startup time

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

Starting the camera in i.MX8M Mini after kernel bootup is complete to reduce camera startup time

533 Views
shubham_sharmaa
Contributor I

I am trying to run the camera (MIPI-CSI or USB web cam) on i.MX8 Mini and display the footage on MIPI-DSI display during init process starts.

camera is working well on yocto zeus full image and displaying the footage on display. We are using gstreamer command to run the camera via shell script. Now I want to reduce the camera startup time. After some research it's found that if we can start the camera just after kernel boots up and init process starts it save huge time for starting the camera.

In the logs i found that /sbin/init starting the systemd as a intializer manager.

How can I build and run my custom script that can start the camera directly during init process starts at these point of logs?

[ 4.146597] Freeing unused kernel memory: 5952K
[ 4.151196] Run /sbin/init as init process

logs file is attached below

Labels (1)
0 Kudos
1 Reply