Go to previous topic
Go to next topic
Last Post 16 Jul 2014 08:44 AM by  Adam Ford
rtc0 device is missing
 2 Replies
Author Messages
Rajesh Tirumala
New Member
New Member
Posts:10


--
16 Jul 2014 08:33 AM

    Hi

    I've configured the kernel (using ltib -c) and added support for real time clock , selected 

    [*]   Set system time from RTC on startup and resume             │ │  
        (rtc0)  RTC used to set the system time                          │ │  
       [*]   RTC debug support                                          │ │  
      │ │          *** RTC interfaces ***                                     │ │  
      │ │    [*]   /sys/class/rtc/rtcN (sysfs)                                │ │  
      │ │    [*]   /proc/driver/rtc (procfs for rtc0)                         │ │  
      │ │    [*]   /dev/rtcN (character devices) 

     

    The board and u-boot details are 

    U-Boot 2011.06-svn31188 BSP-dm37x-2.0-trunk (Sep 27 2013 - 14:13:02)
    OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-166MHz, Max CPU Clock 1 Ghz
    Logic DM37x/OMAP35x reference board + LPDDR/NAND

    But I don't see the rtc devices in the dev or dev/misc/

    When I ran hwclock, its complaining that the dev/misc/rtc0 is missing.

    Is there any other way of adding the device..?

    Thanks in advance...

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    16 Jul 2014 08:41 AM
    The latest DM37x Linux BSP v2.4-2 [1] has rtc0 device present.

    DM-37x# cat /proc/version
    Linux version 3.0.0-BSP-dm37x-2.4-2 (ericn@eps-lnx-edn-01) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 Tue Jun 18 14:34:02 CDT 2013

    DM-37x# ls /dev/rtc*
    /dev/rtc /dev/rtc0

    Note: You may need to log into the Logic PD support site and register a kit/module before you can access the link provided.

    [1] http://support.logicpd.co...id=0&EntryId=853
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Jul 2014 08:44 AM
    There is an App Note for setting and maintaining accurate time on the DM3730. It should work with the latest BSP is you have logged in a registered.

    http://support.logicpd.co...talid=0&EntryId=2765

    -adam


    ---