I’m trying to make my ap1302 camera work on Jetson Nano 4GB.
When I comment out the following line:
priv->otp_flash_instance = tevi_ap1302_otp_flash_init(priv->tc_dev->client);
if(IS_ERR(priv->otp_flash_instance)) {
err = -EINVAL;
dev_err(dev, “otp flash init failed\n”);
//goto err_reg_probe;
}
Assuming you still have an error after switching to the correct kernel version+driver combination, be sure to get a serial console log message during the failure. That serial console runs on a PC and so even error messages can be logged and saved. There’s a good chance that using the right release mix will fix this, but all kernel OOPS and panic will produce a stack dump which is useful in knowing where such an error originates.