0.7.8 Linux release from ayufan for Rock64
#28
Hi Guys, my RTC PCF8523(https://www.adafruit.com/product/3386) is not working on the Rock64.
It is working on the RPI3B:

root@rpi3b01:~# uname -a
Linux rpi3b01 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
root@rpi3b01:~# modinfo rtc-pcf8523
filename:       /lib/modules/4.14.79-v7+/kernel/drivers/rtc/rtc-pcf8523.ko
license:        GPL v2
description:    NXP PCF8523 RTC driver
author:         Thierry Reding <thierry.reding@avionic-design.de>
srcversion:     88403DCB7B29428A4B359BE
alias:          i2c:pcf8523
alias:          of:N*T*Cnxp,pcf8523C*
alias:          of:N*T*Cnxp,pcf8523
depends:        
intree:         Y
name:           rtc_pcf8523
vermagic:       4.14.79-v7+ SMP mod_unload modversions ARMv7 p2v8 
root@rpi3b01:~# i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 

It works and being used.

root@rock64:~# uname -a                                                                                                                                                                                                                      
Linux rock64 4.4.154-1128-rockchip-ayufan-g61b4b1151f9a #1 SMP Tue Dec 25 14:31:31 UTC 2018 aarch64 GNU/Linux                                                                                                                                
root@rock64:~# modinfo rtc-pcf8523                                                                                                                                                                                                           
filename:       /lib/modules/4.4.154-1128-rockchip-ayufan-g61b4b1151f9a/kernel/drivers/rtc/rtc-pcf8523.ko                                                                                                                                    
license:        GPL v2                                                                                                                                                                                                                       
description:    NXP PCF8523 RTC driver                                                                                                                                                                                                       
author:         Thierry Reding <thierry.reding@avionic-design.de>                                                                                                                                                                            
alias:          i2c:pcf8523                                                                                                                                                                                                                  
alias:          of:N*T*Cnxp,pcf8523*                                                                                                                                                                                                         
depends:        
vermagic:       4.4.154-1128-rockchip-ayufan-g61b4b1151f9a SMP mod_unload aarch64

Enabling i2c0:

root@rock64:~# enable_dtoverlay i2c0 i2c@ff150000 okay
Applying...
/dts-v1/;
/ {
        fragment@0 {
                target-path = "/i2c@ff150000";
                __overlay__ {
                        status="okay";
                };
        };
};
Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
Applied!

Right now it the RTC module is not plugged in:

root@rock64:~# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 
30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 
70: 70 71 72 73 74 75 76 77

If I add the RTC PCF8523. It does not pop at 0x68 as on my RPI3B.

What else should be done in order to get the RTC module working?

Thnx for your help!


Messages In This Thread
RE: 0.7.8 Linux release from ayufan for Rock64 - by Ice - 01-27-2019, 03:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 55 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 244 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 512 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 514 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,971 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,533 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 513 07-09-2023, 03:28 AM
Last Post: nemnob
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 1,632 06-02-2023, 07:52 AM
Last Post: diederik
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 566 05-27-2023, 06:11 AM
Last Post: Transportsicherung

Forum Jump:


Users browsing this thread: 1 Guest(s)