| PS3 VUART Tools [message #555] |
Sat, 04 February 2012 17:41  |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
I started to port ps3dm-utils and ps3sm-utils to Linux Kernel 3.
I intend to add ps3av-utils too. I have to rewrite the old tools because i changed the VUART drivers on Linux 3, removed IOCTLs and replaced with fs read/write operations. That will allow us to use the tools on petitboot and FreeBSD too, without any changes.
Here: http://gitbrew.org/~glevand/ps3/linux/linux-3/ps3vuart-tools .tar.gz
I ported some commands already.
glevand@debian-hdd:~/ps3vuart-tools/ps3dm$ sudo ./ps3dm sm get_rnd
63 e4 e2 4c 8b 13 d8 5c 8d b8 c4 85 b2 59 8e e1 a6 4e 89 e2 f8 37 fa f6
glevand@debian-hdd:~/ps3vuart-tools/ps3dm$
glevand@debian-hdd:~/ps3vuart-tools/ps3sm$ sudo ./ps3sm ring_buzzer 0x25 0xa 0x1b6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: PS3 VUART Tools [message #675 is a reply to message #603] |
Sat, 25 February 2012 16:43   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Implemented Secure RTC Set Time and Get Time.
Time is just Unix epoch time in seconds.
Get Time
---------
glevand@debian:~/ps3vuart-tools/ps3dm$ sudo ./ps3dm srtc get_time 0 # 0 means SONY epoch time which is 0x386D4380 = Year 2000 = SONY Epoch
0000000000000090 0000000000000000
glevand@debian:~/ps3vuart-tools/ps3dm$ sudo ./ps3dm srtc get_time 1 # 1 means UNIX epoch time
00000000386d4418 0000000000000000
Set Time
---------
glevand@debian:~/ps3vuart-tools/ps3dm$ sudo ./ps3dm srtc set_time 0
glevand@debian:~/ps3vuart-tools/ps3dm$ sudo ./ps3dm srtc get_time 0
0000000000000005 0000000000000000
http://www.epochconverter.com/
[Updated on: Sat, 25 February 2012 23:23] Report message to a moderator
|
|
|
|
|
|
|
|
| Re: PS3 VUART Tools [message #1725 is a reply to message #1724] |
Fri, 20 July 2012 18:59   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Yeah, i know, have to port old tools and implement command in new tools.
But you have full access to FLASH.
On my PS3 slim i did this:
sudo dd if=/dev/ps3nflasha of=eid0 bs=1 count=$((0x860)) skip=$((0x2f070))
How i got the right offset on FLASH:
[glevand@arch ~]$ sudo hexdump -C /dev/ps3nflasha | less
00000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000440 00 00 00 00 00 02 ec 00 00 00 00 00 00 01 00 00 |................|
00000450 65 45 49 44 00 00 00 00 00 00 00 00 00 00 00 00 |eEID............|
That means EID begins at 0x2ec00 + 0x400 = 0x2f000.
Then go to offset 0x2f000. There you will find a header first.
0002f010 00 00 00 70 00 00 08 60 00 00 00 00 00 00 00 00 |...p...`........|
The first 4 bytes is the offset to EID0. So, EID0 is at 0x2f070. Size is in the next 4 bytes. So, 0x860 bytes.
[Updated on: Fri, 20 July 2012 19:00] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|