Skip to content

ams-OSRAM/mira220_v4l2_driver

Repository files navigation

ams-mira220 Linux driver

Installation

Driver

Compile the driver using the Makefile

make

Place it in the kernel modules folder.

sudo cp mira220.ko /lib/modules/$(uname -r)/updates

Resolve modules dependencies.

sudo depmod -a

Device tree

Compile the device tree overlay matching your platform and plugin board from the dts folder.

cd dts/rpi
sudo dtc mira220-overlay.dts -o /boot/firmware/overlays/mira220.dtbo

Set the device tree overlay in your platform. This may differ from platform to platform. Please refer to your platform documentation.

This is how to set the device tree overlay for Raspberry Pi.

echo "dtoverlay=mira220" | sudo tee -a /boot/firmware/config.txt

alternatively, add the line dtoverlay=mira220 at the end of the file.

There is a device tree argument for a monochrome image sensor.

Use: dtoverlay=mira220,mono instead.

Finally, run sudo reboot to test your changes.

About

mira220 driver module for linux

Resources

License

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors