Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Hardware] RK 3328cc and rtc ds3231

21

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
21

【Hardware】 RK 3328cc and rtc ds3231

Posted at 3/20/2019 23:47:41      View:5678 | Replies:7        Print      Only Author   [Copy Link] 1#
Hello, i use 3328cc and i need use module rtc ds3231.
I connect rtc to pin SCL1, SDA1, 5V, GND.
The RTC module is already present on the board. And is registered rk808-rtc as rtc0.
My module rtc ds3231 shulde be registered as /dev/rtc1, But this does not happen.
If I use "i2cdetect -y -r 1", then the module is determined by the address "0x68"
To setup device i use command
"echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device"
But nothing happens. Device is not defined as /dev/rtc1
And the address "0x68" has not changed to "UU"

Question. Will the board 3328cc work with this module ds3231?
What do i need to do? Install additional drivers?
Thank you.
Reply

Use props Report

1428

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1428
Posted at 3/21/2019 16:00:30        Only Author  2#
ds3231 is a simple i2c device, and it should be okay to work with the roc-rk3328-cc board.

The kernel driver is drivers/rtc/rtc-ds1307.c.
So you need to enable CONFIG_RTC_DRV_DS1307 in kernel config,
and add the corresponding i2c node in the device tree.

Have you done that and reflashed the kernel?
Reply

Use props Report

21

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
21
Posted at 3/21/2019 18:43:31        Only Author  3#
Thanks for the answer.
I did not reflash the kernel. And I need help on this.
I installed the original image ROC-RK3328-CC_Ubuntu16.04_Arch64_20180514.img.xz and work with a sd card.
I found the .config file in the /usr/src/linux-headers-4.4.114-00003-g78cbf59-dirty folder
How do I properly add information about the RTS module and update the kernel?
Thank you.
Reply

Use props Report

1428

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1428
Posted at 3/25/2019 16:27:39        Only Author  4#
Hi @SergeyTkachev

You need to checkout this guide:

   http://wiki.t-firefly.com/en/Fir ... ux_compile_gpt.html

Download the sdk, and compile the kernel.
Reply

Use props Report

134

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
134
Posted at 1/10/2026 03:50:07        Only Author  5#
你是否正在為通過SAP C_ACDET_2506認證考試而奮鬥?想早點實現通過SAP C_ACDET_2506認證考試的目標嗎?你可以選擇我們的NewDumps為你提供的培訓資料。如果你選擇了NewDumps,通過SAP C_ACDET_2506認證考試不再是一個夢想。
Reply

Use props Report

132

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
132
Posted at 1/11/2026 13:54:46        Only Author  6#
After reading this article, I feel that I’ve made progress in both thinking and actions. Take advantage of AP-221 formal test, full of valuable content, available for free.
Reply

Use props Report

128

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
128
Posted at 1/11/2026 14:18:24        Only Author  7#
It was such a valuable learning experience. Enhance your IT skills with free Exam Salesforce-Media-Cloud Cost. Best wishes for your exams!
Reply

Use props Report

136

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
136
Posted at yesterday 09:40        Only Author  8#
This article is absolutely enlightening, thank you for sharing! CSCP authorized certification test questions now available for free. Good luck with your exams!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list