Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    The XU4 board does not retain the RTC time.

    Recalbox General
    xu4 board does retain rtc
    3
    8
    964
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • shs2002
      shs2002 last edited by

      I installed recalbox 6.0 on the Odroid XU4 board. I installed the RTC Battery to use the RTC Timer on the XU4 board. Then, I set the Time Zone to Asia/Seoul in the Config file of the Recall Box.
      However, it cannot display the current time unless it is connected to the Internet.
      How can I fix it? Thank you for helping me.

      nwildner 1 Reply Last reply Reply Quote 0
      • nwildner
        nwildner @shs2002 last edited by

        @shs2002 Since you have cross-posted exactly this very question at the Odroid forums, have you at least tried the solution suggested by rooted user?

        hwclock -w

        PT_BR Retrogaming on Telegram

        shs2002 1 Reply Last reply Reply Quote 1
        • shs2002
          shs2002 @nwildner last edited by shs2002

          @nwildner

          Thank you for your response.
          I tried with the advice of the ODROID forum.

          I tried the hwclock command after logging in to the recalbox's Linux system as the root user.
          And, the RTC's clock is set to local time.

          It is not valid when rebooting. The clock in the recall box does not maintain the local time when offline.
          But I found one interesting fact.
          While offline, the RTC clock on the Linux system in recalbox retains its normal value, but the menu on the recalbox does not seem to use the RTC clock.
          It seems to be a problem in the program source of the recalbox.

          nwildner 1 Reply Last reply Reply Quote 0
          • nwildner
            nwildner @shs2002 last edited by

            @shs2002 Just for double-checking, have you set system.timezone=Asia/Seoul on your recalbox.conf file?

            Cheers.

            PT_BR Retrogaming on Telegram

            shs2002 1 Reply Last reply Reply Quote 0
            • shs2002
              shs2002 @nwildner last edited by

              @nwildner

              @nwildner said in The XU4 board does not retain the RTC time.:

              system.timezone=Asia/Seoul on your recalbox.conf file

              Of course, I set system.timezone = Asia / Seoul on recalbox.conf file.
              So, when the internet is connected, the recalbox menu displays the correct local time.
              However, when I boot it off-line, it displays about 9 hours faster.
              I can then access the recalbox 's root user on the Linux system and modify the time, but the time on the rtc clock keeps the original local time.
              The time on the rtc clock is retained by reboot but the recalbox does not use it. When I boot off-line, the menus in the recalbox display 9 hours faster than the rtc clock.

              This is not my setting mistake, but the program problem of the recall box is obvious.

              Thank you for your kindness.

              Bkg2k 1 Reply Last reply Reply Quote 0
              • shs2002
                shs2002 last edited by

                I explain my trick about RTC time.
                Set the RTC time to 9 hours behind local time.
                It then represents the time in the recalbox to match my local time.
                With this I was able to conclude the RTC time issue.
                But I'm not sure if this is the right way.

                1 Reply Last reply Reply Quote 0
                • Bkg2k
                  Bkg2k Staff
                  Screenscraper
                  Developer
                  Global moderator
                  Team
                  @shs2002
                  last edited by

                  @shs2002 What is obvious is that you don't know how an RTC is supposed to work.

                  Your RTC must be set to the UTC time, not your local time.
                  It's up to the operating system (or emulationstation in Recalbox) to shift the UTC time to your local time.

                  If you set the RTC to your local time, the time used in EmulationStation will be shifted twice, and that's obviously and perfectly normal. Nothing to do with the "recalbox program".

                  The "trick" you're using is not a trick. It's just the way it's supposed to be.

                  shs2002 1 Reply Last reply Reply Quote 2
                  • shs2002
                    shs2002 @Bkg2k last edited by

                    @bkg2k
                    Thank you so much! 🙂

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Want to support us ?

                    61
                    Online

                    87.8k
                    Users

                    25.8k
                    Topics

                    178.7k
                    Posts

                    Copyright © 2021 recalbox.com