I’m looking to connect the BeaglePlay to a camera in the simplest way possible. I’m planning on buying the Digilent 410-358 (which has the OV5640 sensor) since it’s the only one I’ve found with an ISP + and available linux overlay in the kernel. I’m relatively new to embedded linux, but my understanding is that in order to apply the overlay I need to apply it at U-boot. How do I get to the u-boot terminal on the beagleplay? Or is there a better way to connect a camera? I would be willing to use a PnP USB camera if that would work, although I wouldn’t want to sacrifice on frames per second.
To access the uboot prompt you’ll need to connect an external USB to Serial bridge to the 3 pins next to the USB-C header, but you don’t need to do that.
You can apply the overlay in Linux.
The file you want to change is here: /boot/firmware/extlinux/extlinux.conf
You’ll want to modify the file and add the following line to load the OV5640 DTBO:
Then you can reboot: sudo reboot
Camera should now work, you can use mplayer to test.
sudo apt-get install -y mplayer
// -tv driver=v4l2:device=/dev/video0:width=640:height=480:fps=30:outfmt=yuy2