These days, I have just started learning how to port cameras. I chose an OV5647 camera that is not supported on the Jetson Nano motherboard. Initially, I downloaded the source code of the Raspberry Pi kernel because there is a driver and device tree for OV5647 in the Raspberry Pi kernel for reference. However, the NVIDIA camera head framework is different from the Raspberry Pi, so I first changed the driver based on the OV5693. c supported by the nano, After comparing imx219. c and ov5693. c, the driver for ov5647 was written, and the device tree was also modified based on these two. However, when I tested in rootfs,The first time the driver was successfully inserted, the second time the following error was reported:
The error message indicates that the creation of the debugging file failed. At first, I suspected that the remove driver did not release resources, but in reality, the remove function executed:
Can you tell me what caused the second creation of the debugging file to fail? Thank you