lkml.org 
[lkml]   [2019]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: MIPS: bug: gettimeofday syscall broken on CI20 board
From
Date

> Am 28.11.2019 um 15:04 schrieb Vincenzo Frascino <vincenzo.frascino@arm.com>:
>
> On 28/11/2019 12:16, H. Nikolaus Schaller wrote:
>> Ah, good question. How do I find out? Checking defconfig did not show any
>> config with R4K or GIC. So it is likely NONE. CONFIG_RTC_DRV_JZ4740=y if that
>> helps.
>
> Try to check what do you have in /sys/devices/system/clocksource.

Ok, have finished another project and could check:

root@letux:~# ls -l /sys/devices/system/clocksource/clocksource0/
total 0
-r--r--r-- 1 root root 4096 Nov 3 17:18 available_clocksource
-rw-r--r-- 1 root root 4096 Nov 3 17:18 current_clocksource
drwxr-xr-x 2 root root 0 Nov 3 17:18 power
lrwxrwxrwx 1 root root 0 Nov 3 17:16 subsystem -> ../../../../bus/clocksource
-rw-r--r-- 1 root root 4096 Nov 3 17:16 uevent
--w------- 1 root root 4096 Nov 3 17:18 unbind_clocksource
root@letux:~# cat /sys/devices/system/clocksource/clocksource0/*
ingenic-timer
ingenic-timer
cat: /sys/devices/system/clocksource/clocksource0/power: Is a directory
cat: /sys/devices/system/clocksource/clocksource0/subsystem: Is a directory
cat: /sys/devices/system/clocksource/clocksource0/unbind_clocksource: Permission denied
root@letux:~#

Does that help?

BR,
Nikolaus

\
 
 \ /
  Last update: 2019-11-28 16:10    [W:0.064 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site