Arch Linux Arm - external RTC problem
#2
if anyone would be interested I managed to make it all work.

- i've modified, recompiled and overwrite to original one (in /boot/dtb) rk3328-rock64.dts, adding this fragment of code

Code:
  &i2c0 {
      status = "okay";
      ds1307: ds1307@68 {
        compatible = "maxim,ds1307";
        reg = <0x68>;
        status = "okay";
      };
      ds3231: ds3231@68 {
        compatible = "maxim,ds3231";
        reg = <0x68>;
        status = "okay";
      };
};

to enable i2c0 bus and to let automatically discovered the rtc device by the kernel at boot time.

- blacklisted rock64 rtc module (rtc_rk808)

- added rtc_ds1307 module to automatic module loading system


After reboot rtc device will be created and the rtc module enabled
  Reply


Messages In This Thread
Arch Linux Arm - external RTC problem - by max - 08-13-2020, 05:50 AM
RE: Arch Linux Arm - external RTC problem - by max - 08-17-2020, 10:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 137 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,292 10-12-2023, 05:14 PM
Last Post: tpaul
  arch rock64 does not boot nemnob 0 584 07-09-2023, 03:28 AM
Last Post: nemnob
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 1,725 06-02-2023, 07:52 AM
Last Post: diederik
  Looking for guidance on setting up with external RTC Ditchmagnet 0 862 05-13-2022, 05:22 PM
Last Post: Ditchmagnet
  Linux 5.15 Kernel - openSuse mark1250 0 1,281 12-02-2021, 04:36 PM
Last Post: mark1250
  Alpine Linux isndw 12 17,773 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,351 07-29-2021, 07:19 AM
Last Post: shivarj89
Information Linux Mainline ayufan 63 92,033 05-14-2021, 10:41 AM
Last Post: Wizzard
  External hard drive problem k8Va 17 22,512 03-09-2021, 02:31 PM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)