[Letux-kernel] MIPS: bug: gettimeofday syscall broken on CI20 board
H. Nikolaus Schaller
hns at goldelico.com
Thu Nov 28 16:10:00 CET 2019
> Am 28.11.2019 um 15:04 schrieb Vincenzo Frascino <vincenzo.frascino at 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 at 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 at 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 at letux:~#
Does that help?
BR,
Nikolaus
More information about the Letux-kernel
mailing list