ArduCAM / MIPI_Camera

230 stars 107 forks source link

IMX477 drivers not working on Jetson Xavier NX when booted from ssd #79

Open mikprin opened 3 years ago

mikprin commented 3 years ago

We were using IMX477 camera with Xavier NX and when it is booted from SD card drivers working and the camera also works as intended. However, when root booted on SSD and I install drivers there the same way, this time dmesg | grep imx477 shows no logs indicating that apparently that drivers are not working. I don't know if other people claiming their camera drivers are not working, dealing with the same issue, but is it possible to check this? I think it will help me and others a lot. We can provide any extra information relating my hardware and software configuration and any logs that are required.

Booting from SSD was performed by this script from jetsonhacks

glddiv commented 3 years ago

Hi @mikprin

if you install or uninstall the driver after booting from the SSD, it will not take effect, because the driver is installed in the SSD, but the system is still loaded from the SD Card when booting(Jetson Xavier NX does not support booting directly from SSD), so if you install the driver in the SSD, you need to manually replace the following files in the SD card:

  1. /boot/arducam/
  2. /boot/extlinux/extlinux.conf
mikprin commented 3 years ago

Hi @mikprin

if you install or uninstall the driver after booting from the SSD, it will not take effect, because the driver is installed in the SSD, but the system is still loaded from the SD Card when booting(Jetson Xavier NX does not support booting directly from SSD), so if you install the driver in the SSD, you need to manually replace the following files in the SD card:

1. /boot/arducam/

2. /boot/extlinux/extlinux.conf

Thank you very much! I will try this solution soon and update bug status! Solution seems logical, I just didn't know about drivers location in boot folder.

luvwinnie commented 3 years ago

@mikprin Hi, are you able to run the camera with root from SSD?

mikprin commented 3 years ago

Hi there @luvwinnie ! Yes it was really helpful solution! I hope opened issue will help others who face the same problem.12.03.2021, 08:30, "Leow Chee Siang" @.***>: @mikprin Hi, are you able to run the camera with root from SSD?

luvwinnie commented 3 years ago

@mikprin Thank you so much! could you provide some instructions that how to do this?

luvwinnie commented 3 years ago

@mikprin Thank you so much! could you provide some instructions that how to do this?

Thank you! I have been able to replace the file in my SD Card to make the camera to work.