Jump to content

marcellom

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by marcellom

  1. Just to update this 3d: with OMV4 Arrakis the problem is the same...witH a little fun difference: date reset to 2016 and not to 1970... I think is better... no? LOL
  2. Nothing strange in the boot log Working and searching internet around this problem drivers/rtc/hctosys.c: unable to open rtc device (rtc0) and reset date at boot I understand (but maybe i wrong) that is a kernel problem fixed in some newer distributions and not present in olders. Read this So I think I have to wait to be solved in the new Debian distributions. I hope I'm wrong... but the fact that we do not find functional solutions supports my thesis.. Is hard to admit...but maybe actually i cant mount Odroid RTC in OMV.
  3. Now i can say that, after battery change...the problem remains. Randomly the data reset to 1970 after reboot. I need to try a new approach... As soon I find something that works I will write for others...or il give up if not. Someone need a RTC brand new? LOL
  4. 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.......
  5. 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!
  6. 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.....
  7. 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?
  8. 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
  9. 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"
  10. 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"
  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. 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>;
  13. this step will be a little bit more difficult... This w.e. i try and...report here. Tnx Chrisf
  14. Great Chrisf...we have great news... rtc is working...the last part is...how i can set the clock to work at boot? Must follow Hard Kernell tutorial? (in the first post).
  15. Wow Chrisf...i cant wait go home after work... This evening ill try and..i hope to have good news again!! I Thank you very much
  16. Maybe with a different name will works? I must serch in config file RTC name?
  17. ...and in /dev ....see the following picture But with modprobe i2c-dev i have not answers...
  18. Good news...following this https://www.abelectronics.co.uk/kb/article/1036/odroid-c2-running-ubuntu-i2c-setup i have this as the attached picture.. Is a good news i think.. So...whats my next step?
  19. Tnx Armbians, this evening ill test with modprobe and ill report my experience...
  20. i quote myself >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .. im really a noob so apologize for what i say... is possible that the directory /dev does not exist? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> was, obviously, a stupid question... /dev directory does exist....i2c file... not! a pastebin of my config-3.14.29-51 file....inside /boot This can help? https://pastebin.com/kgVznbPj
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines