Daniel Dickinson <l...@cshore.thecshore.com> [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 that I can see.

As you can see, some people have different use cases.

> Also with there is daylight savings then when daylight savings kicks in
> you've got to change the clock which is *ugly* and waste of resources on an
> embedded device.

I've been using CEST timezone for system time (battery backed RTC in UTC) in
some OpenWRT based projects since 2014.  I'm not aware about any of such
problems and you of course doesn't need to change the clock. It's done
automagically for you.

        commit 215c43acc5803e82e249458e9093dba62882ff5d
        Author: Petr Štetiar <yn...@true.cz>
        Date:   Tue May 27 15:58:40 2014 +0200

            base-files: Add hwclock init script
            
            Signed-off-by: Petr Štetiar <yn...@true.cz>

        diff --git a/package/base-files/files/etc/init.d/hwclock 
b/package/base-files/files/etc/init.d/hwclock
        new file mode 100755
        index 0000000..07eef7e
        --- /dev/null
        +++ b/package/base-files/files/etc/init.d/hwclock
        @@ -0,0 +1,15 @@
        +#!/bin/sh /etc/rc.common
        +
        +START=13
        +
        +start() {
        +       if [ -c /dev/rtc0 ]; then
        +               hwclock -u -s -f /dev/rtc0
        +       fi
        +}
        +
        +stop() {
        +       if [ -c /dev/rtc0 ] ; then
        +               hwclock -u -w -f /dev/rtc0
        +       fi
        +}

-- ynezz

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to