Open main menu

Changes

X635-Software

381 bytes added, 16:14, 25 April 2023
no edit summary
<big>1. ==Installing the Operating System</big>==
Please refer to [https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system Official installation tutorial]
<big>2. ==Preconfigure X635 Device for CM4</big>==
If you attempt to boot now you will not have working USB ports, ssh, or any wireless configuration.
<big>Enable SSH</big>
It’s It's very useful to have SSH enabled when working with the Compute Module 4. It is enabled simply by creating an empty file named:
ssh
}
</pre>
1. To use When this file is created in the base of the HDMI to CSI-2 bridge, you “boot” volume it will need automatically be applied to enable '''[[How to enable camera support in Raspberry the Pi OS|Enable legacy camera support]]'''upon the next startup. Make sure to adjust your country=US line to your own country as this can impact what channels and functionality are available from your WiFi card!
Then you can insert your micro sd card into the X635 & power on it. ==Enable legacy camera support==After you power on the x635, to use the HDMI to CSI-2bridge, you will need to [[How to enable camera support in Raspberry Pi OS|Enable legacy camera support]]  ==Download dt-blob. Again open a terminal window and type bin File==Run the following command:
sudo wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/dt-blob.bin
#Download the required file /boot/dt-blob.bin
3. Reboot Then reboot for the dt-blob.bin file to be read.
sudo reboot
4. ==Check HDMI to CSI-2 bridge==Open the Terminal and run the command to check if the HDMI to CSI-2 bridge is being seen by the operating system.
[[File:X635-software-15.png|700px]]
Note: You should get back <big>supported=1, detected=1</big>, indicating that the CSI-2 bridge is detected and supported by the operating system. If you get detected=0, then the CSI-2 bridge is not being seen by the operating system.
 5. ==Connect the HDMI in device to x635 carrier board.==
connection sample diagram
6. ==Test x635 shield via command line=====Picture test===6.1). Record a sample picture: open a terminal window and run the following command to take a still picture and save it to the Desktop:
raspistill -o Desktop/image.jpg
When the command runs, you can see the camera preview open for five seconds before a still picture is taken.
6.2). ===Video test===Record a sample video using the following raspivid command:
raspivid -o Desktop/video.h264
[[File:X635-software-18.png|700px]]
In order to play the video file, double-click the video.h264 file icon on the Desktop to open it in VLC Media Player.
==Advanced application==7. * Install GStreamer on CM4 - <big>For advanced programmers and advanced applicaitons</big> 7.1) * Check out this link - https://qengineering.eu/install-gstreamer-1.18-on-raspberry-pi-4.html 7.2) * GStreamer official website: https://gstreamer.freedesktop.org/