Jump to content

alecunsolo

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Sorry for the delay. Yes, manually using the user-overlay worked, so it is an oversight in the armbian-add-script. I was going to do a simple PR, but I think the issue was already addressed (and in a more elegant way) with this PR Thank you (I just noticed that the author of the PR is you @tparys )
  2. Thank for the reply. I can enable the rtc manually: # i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- # echo pcf8563 0x51 > /sys/class/i2c-adapter/i2c-0/new_device # i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- # ls /dev/rt* /dev/rtc /dev/rtc0 /dev/rtc1 # hwclock --rtc /dev/rtc1 2021-02-08 08:54:57.164679+00:00 I think the overlay is a cleaner solution, so I decompiled the "/boot/dtb/amlogic/meson-sm1-odroid-hc4.dtb" (https://pastebin.com/FHJW3WN9) and try to make an overlay based on this post: /dts-v1/; /plugin/; / { fragment@0 { target-path = "/soc/bus@ffd00000/i2c@1d000"; __overlay__ { pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; }; }; }; }; but when I tried to use the armbian-add-overlay script I got sudo armbian-add-overlay pcf8563.dts Overlays are not supported on Meson64 based boards. So meson boards don't support overlays? Or is the script not up-to-date?
  3. Hi all How can I enable the rtc clock in the Odroid HC4? I know nothing about device tree and overlays, but the Hardkernel Ubuntu image has an overlay to enable: wiki. I didn't find anything similar in the armbian image. Could be related to this this PR for the N2 model? Thanks
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines