Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
The error message you’re encountering, rtc-ds1307: probe of 17-0068 failed with error -110, suggests a communication issue with the RTC device at address 0x68 on the I2C bus. Error -110 corresponds to a timeout, indicating that the kernel did not receive an acknowledgment from the device. This could be due to several reasons, such as incorrect wiring, the device not being powered, or an incorrect I2C bus address in the device tree.
Here are some steps to troubleshoot and potentially resolve the issue:
Verify Hardware Connections: Ensure that the RTC module is correctly connected to the I2C-2 bus and that it is powered correctly. Double-check the SDA and SCL lines for proper connection and pull-up resistors.
Check I2C Bus Number: The command sudo i2cdetect -y 17 suggests you are trying to detect devices on I2C bus number 17, which seems unusual. Typically, I2C bus numbers are lower. Use i2cdetect -l to list all I2C adapters and identify the correct bus number for I2C-2. Then, use i2cdetect -y <bus_number> with the correct bus number to scan for devices.
Device Tree Configuration: Ensure that the device tree changes are correctly applied. You might need to recompile the device tree and ensure that the updated device tree is used by the system. Verify that the I2C bus (i2c2) is enabled and correctly configured in the device tree.
Check for Conflicts: Ensure there are no conflicts with other devices on the same I2C bus. If there are other devices connected, temporarily disconnect them to isolate the issue.
Kernel Configuration: Ensure that the kernel is configured with support for the M41T0 RTC device. The driver for the M41T0 (CONFIG_RTC_DRV_M41T80) should be enabled in the kernel configuration.
Software Versions: Ensure that you are using a compatible version of the Linux kernel and device tree with your hardware. Sometimes, specific versions of hardware require particular kernel versions or patches for full compatibility.
Debugging: Increase the kernel log level for I2C and RTC subsystems to get more detailed logs that might provide further insight into the issue. This can be done by modifying the kernel boot parameters (e.g., `dmesg -
Please, also check if these links can help you solve your problem:
Your i2cdetect dump looks like you have some I2C memory on the same address like RTC, perhaps some memory chip with lots of addresses occupied. Could you try booting with RTC not connected. You should see – dashes instead of 68 in i2cdetect dump. If you still get 68 without RTC, then its address is already used for some other device, won’t work until you resolve address space issue.