hello,
i solved my problem , by removing the blue plastic piece of my cable and bending in backward, my problem was that my cable was not reversed so i caused the raspberry to turn off instantly.
then i ran those command and it worked fo me:
sudo apt install -y libcamera-dev libcamera-apps
sudo nano /boot/firmware/config.txt
#For more options and information see
#http://rptl.io/configtxt
#Some settings may impact device functionality. See link above for details
#Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
#Enable audio (loads snd_bcm2835)
dtparam=audio=on
#Automatically load overlays for detected cameras
camera_auto_detect=0
#Automatically load overlays for detected DSI displays
display_auto_detect=1
#Automatically load initramfs files, if found
auto_initramfs=1
#Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
#Don’t have the firmware create an initial video= setting in cmdline.txt.
#Use the kernel’s default instead.
disable_fw_kms_setup=1
#Run in 64-bit mode
arm_64bit=1
#Disable compensation for displays with overscan
disable_overscan=1
#Run as fast as firmware / board allows
arm_boost=1
[cm4]
#Enable host mode on the 2711 built-in XHCI USB controller.
#This line should be removed if the legacy DWC2 controller is required
#(e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
dtoverlay=imx708,cam0
dtparam=pciex1_gen=3
Install Arducam Pivariety driver
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera
./install_pivariety_pkgs.sh -p imx708_b0311_kernel_driver
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p imx708_b0311_kernel_driver
Reboot the Raspberry Pi
sudo reboot
#Verify I2C devices
i2cdetect -y 6
Test the camera
libcamera-still -t 10000
i hope it will solve your issues ![:grinning: :grinning:](https://forum.arducam.com/images/emoji/twitter/grinning.png?v=12)