0.7.8 Linux release from ayufan for Rock64
#30
(01-13-2019, 10:06 PM)thewonderer Wrote: Hoping for some new builds soon as the last pre-release (0.7.11) Ubuntu 18.04, crashed after a few hours...  I did note that the performance seemed better and the copying over network via SMB share was much improved (still not getting anywhere near the 100MB/s throughput though)....

Dear Guys,

I bought a new test/final RTC. It is a DS3231+AT24C32 RTCM and working fine at 3.3V!  Smile

root@rock64:/lib/modules/4.4.154-1128-rockchip-ayufan-g61b4b1151f9a/kernel/drivers/rtc# uname -a && modinfo rtc_ds1307
Linux rock64 4.4.154-1128-rockchip-ayufan-g61b4b1151f9a #1 SMP Tue Dec 25 14:31:31 UTC 2018 aarch64 GNU/Linux
filename: /lib/modules/4.4.154-1128-rockchip-ayufan-g61b4b1151f9a/kernel/drivers/rtc/rtc-ds1307.ko
license: GPL
description: RTC driver for DS1307 and similar chips
alias: i2c:rx8025
alias: i2c:pt7c4338
alias: i2c:mcp7941x
alias: i2c:mcp7940x
alias: i2c:m41t00
alias: i2c:ds3231
alias: i2c:ds1340
alias: i2c:ds1388
alias: i2c:ds1339
alias: i2c:ds1338
alias: i2c:ds1337
alias: i2c:ds1307
depends: 
vermagic: 4.4.154-1128-rockchip-ayufan-g61b4b1151f9a SMP mod_unload aarch64

Enable i2c0:
enable_dtoverlay i2c0 i2c@ff150000 okay

Tell the kernel that a DS3231 is using the i2c-0:
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-0/new_device

Read the HW clock:
root@rock64:/lib/modules/4.4.154-1128-rockchip-ayufan-g61b4b1151f9a/kernel/drivers/rtc# hwclock -r -D --rtc /dev/rtc1
hwclock from util-linux 2.29.2
Using the /dev interface to the clock.
Last drift adjustment done at 1549029470 seconds after 1969
Last calibration done at 1549029470 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2019/02/01 14:26:37
Hw clock time : 2019/02/01 14:26:37 = 1549031197 seconds since 1969
Time since last adjustment is 1727 seconds
Calculated Hardware Clock drift is 0.000000 seconds
2019-02-01 15:26:36.139249+0100

Detecting i2c:
root@rock64:/lib/modules/4.4.154-1128-rockchip-ayufan-g61b4b1151f9a/kernel/drivers/rtc# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

So the Rock64 board is working fine!   Big Grin


Messages In This Thread
RE: 0.7.8 Linux release from ayufan for Rock64 - by Ice - 02-01-2019, 09:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,002 11-19-2024, 02:54 PM
Last Post: mara
  Upgrading ancient Rock64 timxjr1300 0 53 11-15-2024, 09:50 AM
Last Post: timxjr1300
  arch rock64 does not boot nemnob 1 959 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 43,539 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 80,999 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,863 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 635 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,077 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,082 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,179 10-12-2023, 05:14 PM
Last Post: tpaul

Forum Jump:


Users browsing this thread: 1 Guest(s)