The default application that the reference image starts is the Camera MUX 2x2 application (camera_mux2x2). The Camera MUX 2x2 application shows a 2x2 grid of the image buffers or video streams from four cameras.
You may want to change the system configuration so that it starts a custom application instead (e.g., an application that shows video feeds from six cameras), or run the application later. In the latter case, in the /etc/slm-config-platform.xml file, remove the camera_mux2x2 component, and then delete the <SLM:depend>camera</SLM:depend> dependency from all the other components in the file.
... ... <SLM:component name="camera_mux2x2"> <SLM:command>/base/usr/bin/camera_mux2x2</SLM:command> </SLM:component> ... ...
... ... <SLM:component name="camera_mux2x2"> <SLM:command>/base/usr/bin/myowncameramuxapp</SLM:command> </SLM:component> ... ...
... ... <SLM:component name="camera"> <SLM:command launch="builtin">no_op</SLM:command> <SLM:waitfor wait="pathname">/dev/shmem/camera4-start.run</SLM:waitfor> </SLM:component> ... ...Because the maximum enumerator for the camera unit number is CAMERA_UNIT_8, if you specified camera9-start.run, that camera won't run, and you'll need to wait until the startup timeout occurs, which is approximately 10 seconds. The number that you specify as part of the filename indicates the files to put in the /dev/camera directory, which maps to the camera's unit number that's specified in your camera configuration file.
For example, if the cameras in your camera configuration are configured as CAMERA_UNIT_1, CAMERA_UNIT_2, CAMERA_UNIT_5, and CAMERA_UNIT_7, that's four cameras, but you would set the camera component to /dev/shmem/camera7-start.run to indicate the unit number of the last camera to come up is CAMERA_UNIT_7. As mentioned earlier, as each camera starts, you should see a file representing that camera that came up in the /dev/camera directory. So in this example, you should see unit1, unit2, unit5, and unit7 as files in the /dev/camera directory. The components that have a dependency (i.e., <SLM:depend> specified) on the camera component only start after the camera component has started and begun capturing image buffers. For example, networking (iopkt) won't start until the camera component starts (or a time-out occurs).
... ... <SLM:component name="iopkt"> <SLM:command>io-pkt-v6-hc</SLM:command> <SLM:args>-d dm814x-j6 -p tcpip</SLM:args> <SLM:waitfor wait="pathname">/dev/socket</SLM:waitfor> <SLM:depend>camera</SLM:depend> <SLM:stop stop="signal">SIGTERM</SLM:stop> </SLM:component>