Rtc shield (Hardkernell) on Openmediavault Erasmus

Moderators: mdrjr, odroid

Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Tue Nov 07, 2017 6:15 am

Hi :)
Im very proud with my little odroid c2 Openmediavault nas and now is time to add a real time clock to automatize rsync works. I have the rtc shield but in HK internet site the instructions are for Ubuntu.
I have tried to follow the instructions but a system error stopped me. Anyone can help me to do the work ? Im near to the total noob with linux. I assume that there is a different way to install rtc shield and i know that Ubuntu is different to Debian (openmediavault)... please, help me!
Marcello
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Tue Nov 07, 2017 10:19 am

What errors did you meet when you followed this WiKi page?
https://wiki.odroid.com/accessory/add-o ... rtc_shield
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Tue Nov 07, 2017 2:56 pm

Hi Odroid, tnx for prompt answer... this evening when ill be at home ill take a picture of the error code... if i remember well Debian dont like this argument "/i2c@c1108500/pcf8563@5" in second line of the code and give me an error code.
I will be more precise later.. tnx ahain :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Tue Nov 07, 2017 3:14 pm

I've no experience of OMV on C2.
But I guess the dtb file could exist in /boot directory not /media/boot directory in OMV image.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Tue Nov 07, 2017 4:05 pm

Right...ive changed the link before try...but after i the run the comand i have an error like the argument /i2c@c1108500/pcf8563@51 status "okay"
is not good for debian...
I cant be more clear.. im total noob... a photo maybe will give you more details :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Wed Nov 08, 2017 2:24 am

This is "my error"... see the picture attached... Image
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Wed Nov 08, 2017 5:51 pm

I have found a solution in this forum...
viewtopic.php?t=22387

But the job works with Ubuntu upgrading the kernell with "dist-upgrade"...
Sob! Any suggestion? :/ OMV run with Debian kernell...
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Thu Nov 09, 2017 9:17 am

Since OMV is based on Armbian OS, you might need to post a request on Armbian forum.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Thu Nov 09, 2017 2:46 pm

Ok, ill try....tnx
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Fri Nov 10, 2017 6:17 am

A simple question... is needed install the PCF8563 driver before start with your tutorial? If yes... how? :) tnx
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Fri Nov 10, 2017 9:47 am

Try to run below two commands to check whether OMV kernel has the driver modules or not.
Code: Select all
sudo modprobe aml_i2c
sudo modprobe rtc_pcf8563
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Fri Nov 10, 2017 2:04 pm

odroid wrote:Try to run below two commands to check whether OMV kernel has the driver modules or not.
Code: Select all
sudo modprobe aml_i2c
sudo modprobe rtc_pcf8563
Tnx Odroid, ill do :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Fri Nov 10, 2017 11:05 pm

Seems that is not present... right? Image
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Sat Nov 11, 2017 3:37 pm

Hi, someone could post a link to download the driver for rtc shield? Omv is now a Debian distro and the driver seems not available...
Sorry for trouble.. have a little patience...
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Sun Nov 12, 2017 11:10 am

Armbian seems to have "aml_i2c" driver as a built-in.
After probing the "rtc_pcf8563" module, try "hwclock" commands to check the functionality.
http://www.thegeekstuff.com/2013/08/hwclock-examples/
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Sun Nov 12, 2017 4:10 pm

Thanks Odroid :) today is a test day :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Sun Nov 12, 2017 5:01 pm

Im really unlucky...
Image
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Mon Nov 13, 2017 9:23 am

Ask to Armbian dev people aboout "aml_i2c" driver.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Mon Nov 13, 2017 3:44 pm

yes :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Thu Nov 23, 2017 5:35 pm

Just to update this topic.
After several attempts and tests, seems that ODROID RTC shield dont works in Omv 3 or 4.
The problem might be a bug in Debian kernell.
But this is too big for me....I uninstalled it and put it in a drawer.
Its a pity... i'll wait for better times.
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby odroid » Thu Nov 23, 2017 7:03 pm

It is a bad news. :(

BTW, why do you need an RTC?
OMV is designed for NAS. NAS should be attached to a network.
So you can always keep the correct time.
Any other special reason for using the RTC?
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Rtc shield (Hardkernell) on Openmediavault Erasmus

Unread postby marcellom » Thu Nov 23, 2017 7:55 pm

odroid wrote:It is a bad news. :(

BTW, why do you need an RTC?
OMV is designed for NAS. NAS should be attached to a network.
So you can always keep the correct time.
Any other special reason for using the RTC?
One day... i think.. will works.
I use omv to rsync weekly my music between two discs.
But my odroid is not under ups so... if the current is missing, on reboot for an half an hour data be reset to 1970. If this append at the time of synchronization, it is not done..
I've changed settings now... rsync starts every time a file is added...
Rtc would have been like icing on the cake... but it is not essential :)
marcellom
 
Posts: 18
Joined: Fri Sep 09, 2016 9:23 pm


Return to Hardware and peripherals

Who is online

Users browsing this forum: joshua.yang and 1 guest