M@riusz 0 Posted October 3, 2023 Hello, I'm having trouble using several dtbo files in overlay in /boot/config.txt I try several config, but not working: #1 - not working overlay="ds1307-overlay","mcp2515-can0" #2 - not working overlay=<ds1307-overlay> <mcp2515-can0> #3 - not working overlay=ds1307-overlay overlay=mcp2515-can0 #4 - not working overlay=ds1307-overlay, mcp2515-can0 Single use of dtbo files in overlay works fine. Please help. System version: Linux linaro-alip 4.4.194 #17 SMP Wed Apr 26 01:45:49 UTC 2023 armv7l Device: Asus Tinker Board S R2.0 Share this post Link to post Share on other sites
tooz 52 Posted October 5, 2023 hello @M@riusz, please copy the dtb files from https://www.asuswebstorage.com/navigate/a/#/s/00E9A5E1D5AC45FFBE5EBC6738DFEFAB4 to /boot/overlay, and modify /boot/config.txt to enable spi2 accordingly. overlay=mcp251x-can0-tinker1 save the /boot/config.txt and then reboot tinker board r2.0 confirm that can0 can be recognized with command: ifconfig can0 Share this post Link to post Share on other sites
M@riusz 0 Posted October 5, 2023 (edited) hello @tooz But the CAN support works without any problems with mcp2515-can0.dts -> Link What about RTC ds1307? How to set RTC and CAN in config.txt Is dts set 8mhz or 12mhz? Please share the dtbo file. Edited October 5, 2023 by M@riusz Share this post Link to post Share on other sites
tooz 52 Posted October 5, 2023 hello @M@riusz, are you connecting it to i2c1? please space it instead of using a comma: overlay=ds1307-overlay mcp2515-can0 Share this post Link to post Share on other sites
M@riusz 0 Posted October 5, 2023 hello @tooz Thank you very much for your help, it actually works with this configuration ? I can not believe it ? Share this post Link to post Share on other sites