Skip to content

graysky2/odroid-c2-rtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odroid-c2-rtc

RTC Shield

Use and automate kernel updates for the PCF8563 RTC Shield on the ODROID-C2 running Arch ARM.

Installation

  • Physically install the RTC Shield on the ODROID-C2 as depicted here.
  • Download and install odroid-c2-rtc from the AUR.

Setup post installation

  1. Edit /etc/mkinitcpio.conf and add the following two modules to the MODULES array:
MODULES=( aml_i2c rtc_pcf8563 ... )
  1. Regenerate the kernel image:
# mkinitcpio -p linux-odroid-c2
==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-c2.preset: 'default'
  -> -k 3.16.61-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.16.61-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful

Notes

Currently, the sx865x module needed to use the 3.5" touchscreen breaks the needed module to communicate with RTC shield. I have this code create a blacklist file for sx865x to work-around. A consequence of this is the touch screen won't work with the RTC. If you know what is driving these errors, or have a fix, please let me know. See this forum post for details.

About

Setup RTC shield for C2 on Arch ARM

Resources

Stars

Watchers

Forks

Packages

No packages published