Would it be possible to get an explanation of what each command does in the init.sh script?
#!/bin/sh
devmem 0x41200004 32 0
devmem 0x41200000 32 1
i2cpick 1 0x36
rc=$?
if [ $rc -eq $((0x36)) ]
then
echo "Rpi Cam 1.3"
#PCB REV01
#rpicam /dev/i2c-1
#PCB REV02
rpicam /dev/i2c-3
devmem 0x41210000 32 1
fi
Hi,
devmem ... enables some interfaces on PL over emio, see PL Design
i2cpick... does not work at the moment, we will fix this in one of the next updates. it will normaly detect which camera is available1.3 or 2.1
after "if" .... --> depending on result RPI will be configured over I2C and stream is enabled
br
John
I see, thank you for that.