• Content count

  • Joined

  • Last visited

  1. Strange: sometime on reboot time and date is right, sometime is reset to 1970. RTC is brand new... but im thinking the battery is dead. Ok people... i need to understand. Ill write after battery. change.......
  2. ....time and date reset..gosh.... [emoji20]
  3. Yes dear Tkaiser. What i want to do is start with a fresh and updated img and repeat the entire "procedure". After that, ill write a clean post with all steps, to post here and in OMV forum. Now i add Solved in the object EDIT BY ME: Is better wait after update try in the (now) updated OMV... Could I thanks everyone to help? Without you do not know how I would have done it!
  4. I can trust my eyes.. I have disconnected router from internet... After that i have shutdown my odroid. At reboot (without internet ndp server cant' update the time, right?) time and date is correct... Do you think we can close the case with a "solved"? If is ok, ill write all in a post with entire procedure. and change the 3d objet with [solved]. Tell me that I'm not deluding.....
  5. After the first reboot..time and date are correct..before for long time was default time and date (1970) Solved case? how i can test? unwiring lan cable?
  6. Il try... thank you very much for your precious infos...
  7. et voilà root@openmediavault:~# grep RTC_HCTOSYS /boot/config-$(uname -r) CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" root@openmediavault:~# dmesg | grep -i rtc [ 3.073994] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 12.946414] rtc-pcf8563 1-0051: chip found, driver version 0.4.3 [ 12.947104] rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
  8. this Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/i2c-1/1-0051/rtc/rtc0': KERNEL=="rtc0" SUBSYSTEM=="rtc" DRIVER=="" ATTR{date}=="2017-11-18" ATTR{name}=="rtc-pcf8563" ATTR{time}=="08:39:22" ATTR{since_epoch}=="1510994362" ATTR{hctosys}=="0" ATTR{max_user_freq}=="64" looking at parent device '/devices/i2c-1/1-0051': KERNELS=="1-0051" SUBSYSTEMS=="i2c" DRIVERS=="rtc-pcf8563" ATTRS{name}=="pcf8563" looking at parent device '/devices/i2c-1': KERNELS=="i2c-1" SUBSYSTEMS=="i2c" DRIVERS=="" ATTRS{name}=="aml_i2c_adap1"
  9. maybe is needed do this as follow? To change the default RTC as e.g. used by hwclock create a file called /etc/udev/rules.d/99-rtc1.rules with e.g. the following contents: KERNEL=="rtc1", SUBSYSTEM=="rtc", DRIVER=="", ATTR{name}=="m41t00", SYMLINK="rtc", MODE="0666"
  10. Good morning Zador this is the output /dev/rtc /dev/rtc0
  11. Ok Armbians... i tried with update of device tree and added the node as suggested... After the mods and meson64_odroidc2.dtb recode from dts i have rebooted Odroid.. When the system time has updated and synch with ntp server time i havedone a hwclock - w to write the current time in hardware rtc. After reboot the time and date was reset to 1970... Grrrr... So... i need to try with a different mode (script at start)... Suggestions? :/ Ah, tnx for help boys...
  12. Yeeeeeh.. i thank you very very much
  13. another "stupid" question... Im not at home now but im thinking about what Chrisf says.. actually in my DT i have this i2c@c1108500 { compatible = "amlogic, meson-i2c"; dev_name = "i2c-A"; status = "okay"; reg = <0x0 0xc1108500 0x0 0x20>; device_id = <0x1>; pinctrl-names = "default"; pinctrl-0 = <0x10>; #address-cells = <0x1>; #size-cells = <0x0>; use_pio = <0x0>; master_i2c_speed = <0x493e0>; clocks = <0xc 0xa>; clock-names = "clk_i2c"; resets = <0xc 0x9>; is enough change the bold parameters like this? 2c@c1108500 { compatible = "nxp,pcf8563"; dev_name = "i2c-A"; status = "okay"; reg = <0x51>; device_id = <0x1>; pinctrl-names = "default"; pinctrl-0 = <0x10>; #address-cells = <0x1>; #size-cells = <0x0>; use_pio = <0x0>; master_i2c_speed = <0x493e0>; clocks = <0xc 0xa>; clock-names = "clk_i2c"; resets = <0xc 0x9>;
  14. this step will be a little bit more difficult... This w.e. i try here. Tnx Chrisf
  15. Great Chrisf...we have great news... rtc is working...the last part i can set the clock to work at boot? Must follow Hard Kernell tutorial? (in the first post).