Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-27 Thread John Crispin
On 21/10/2016 10:31, Petr Štetiar wrote: > Daniel Dickinson [2016-10-20 16:47:09]: > >> On Wed, 19 Oct 2016 22:05:43 +0200 >> Petr Štetiar wrote: >> >>> Felix Fietkau [2016-10-19 21:44:06]: >>> I'd like to know why you need to use local time for the RTC, I think that's rather uncomm

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-21 Thread Petr Štetiar
Daniel Dickinson [2016-10-20 16:47:09]: > On Wed, 19 Oct 2016 22:05:43 +0200 > Petr Štetiar wrote: > > > Felix Fietkau [2016-10-19 21:44:06]: > > > > > I'd like to know why you need to use local time for the RTC, I think > > > that's rather uncommon. > > > > You mean system time in local t

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-21 Thread Petr Štetiar
Daniel Dickinson [2016-10-20 16:49:48]: Hi, > I don't see wanting an embedded system to be like a desktop to be a > reasonable justification. we're talking here about quadcore i.MX6, 2GB RAM and Vivante GPU. It's usable as embedded desktop I would say. > It doesn't serve any useful purpose th

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-20 Thread Daniel Dickinson
On Wed, 19 Oct 2016 22:05:43 +0200 Petr Štetiar wrote: > Felix Fietkau [2016-10-19 21:44:06]: > > > I'd like to know why you need to use local time for the RTC, I think > > that's rather uncommon. > > You mean system time in local time, right? RTC should be in UTC and > in current sysftime i

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-20 Thread Daniel Dickinson
On Wed, 19 Oct 2016 22:05:43 +0200 Petr Štetiar wrote: > Felix Fietkau [2016-10-19 21:44:06]: > > > I'd like to know why you need to use local time for the RTC, I think > > that's rather uncommon. > > You mean system time in local time, right? RTC should be in UTC and > in current sysftime i

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-19 Thread Petr Štetiar
Felix Fietkau [2016-10-19 21:44:06]: > I'd like to know why you need to use local time for the RTC, I think > that's rather uncommon. You mean system time in local time, right? RTC should be in UTC and in current sysftime isn't. Basically sysfixtime should be using hwclock with -u parameter from

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-19 Thread Felix Fietkau
On 2016-10-19 21:38, Petr Štetiar wrote: > Felix Fietkau [2016-10-18 23:25:40]: > >> On 2016-10-18 23:11, Petr Štetiar wrote: >> > Currently we're forced to have system time in the UTC timezone as >> > hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC >> > time is held in U

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-19 Thread Petr Štetiar
Felix Fietkau [2016-10-18 23:25:40]: > On 2016-10-18 23:11, Petr Štetiar wrote: > > Currently we're forced to have system time in the UTC timezone as > > hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC > > time is held in UTC timezone. > > > > With this patch one can now

Re: [LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-18 Thread Felix Fietkau
On 2016-10-18 23:11, Petr Štetiar wrote: > Currently we're forced to have system time in the UTC timezone as > hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC > time is held in UTC timezone. > > With this patch one can now have local system time for example in CEST > timez

[LEDE-DEV] [PATCH] base-files: sysfixtime: Allow system time in local timezones

2016-10-18 Thread Petr Štetiar
Currently we're forced to have system time in the UTC timezone as hardware clock, mainly because kernel expects in rtc_hctosys(), that RTC time is held in UTC timezone. With this patch one can now have local system time for example in CEST timezone and RTC time still in UTC with boolean config opt