[Cbe-oss-dev] Real Time Clock incorrect on PS3

Geert Uytterhoeven geert at linux-m68k.org
Thu Mar 7 18:06:58 EST 2013


On Thu, Mar 7, 2013 at 5:36 AM, Mauro Montenegro
<mauro.montenegro at gmail.com> wrote:
> Hello! I need the help of everyone who kindly help me.
> Step to tell you .. I have a PS3 model CECHL01 .. which has misconfigured
> the RTC, which is in a date of 2006.
> I wanted to know or ask if I could provide some highly application or method
> that solves this problem.
> I searched the Internet for information on the subject .. but to this day I
> could not get anything at all.
> The downside was born when wanting to run a game that needed to install
> trophies on console .. it threw the error 8001050F making the game ended
> execution.

First, you have to set the correct time under GameOS, as this will
update the real
RTC. That should fix your games.

> I proceeded to install the operating system on the console Red Ribbon .. I
> noticed that when running the command "hwclock - debug" on the command line
> .. I threw the following legend.
>
> root at redribbon:/home/ps3# hwclock --debug
> hwclock from util-linux 2.20.1
> Using / dev interface to clock.
> Last drift adjustment done at 1360936111 seconds after 1969
> Last calibration done at 1360936111 seconds after 1969
> Hardware clock is on UTC time
> Assuming hardware clock is kept in UTC time.
> Waiting for clock tick ...
> / Dev/rtc0 does not have interrupt functions. Waiting in loop for time from
> / dev/rtc0 to change
> Got clock tick ...
> Time read from Hardware Clock: 2006/01/11 23:46:31
> Hw clock time: 2006/01/11 23:46:31 = 1137023191 seconds since 1969
> Wed 11 Jan 2006 20:46:31 ART -0.118579 seconds
>
> absolutely wrong thing .. as we found in 2013.
> What I was thinking .. was whether we could create an application to obtain
> the value of the current date and time .. and then convert, manipulate or do
> whatever you have to do to the value obtained .. for it is subsequently
> seteado in Real Time Clock console.
> In if do not know much about all this .. but what I wanted to ask is if
> someone could help me .. because several months ago I am wanting to solve
> this problem, and I think updating the Real Time Clock will solve all the
> problems in the console and this back to life.
> I then erase the program and eliminate all sides. The only thing that
> interests me is to update the Real Time Clock and nothing more.

Next, set the correct time under Linux using the "hwclock" command.
That will update the offset between Linux time and GameOS time in the
FLASH memory OS area. After that your time should always be correct
under Linux.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the cbe-oss-dev mailing list