Hello,
I have been trying to compile the driver for Arducam B0333 IMX462
The host OS is Ubuntu Server 20.04 LTS running on RPi CM4
I am trying to follow the instructions mentioned on this page, but the
patch -p1 -d /lib/modules/$(uname -r)/build -i $(pwd)/../patchs/arducam_device_tree.patch
Is failing and giving this result.
How should the compile be done? What is the correct process? Where should the driver files be in relative to kernel source file and where should the command be executed?
Any comment will be helpful. Thanks!