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 0 150 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,356 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 334 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 613 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 608 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,361 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 190,418 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 591 07-09-2023, 03:28 AM
Last Post: nemnob
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 1,745 06-02-2023, 07:52 AM
Last Post: diederik
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 650 05-27-2023, 06:11 AM
Last Post: Transportsicherung

Forum Jump:


Users browsing this thread: 2 Guest(s)