XDR Configuration: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The XDR RAM configuration is sent to the Cell BE processor via syscon's packet during booting, however you can query it at any moment.<br>
The XDR configuration is sent to the Cell BE processor via syscon's packet during booting, however you can query it at any moment.<br>
To fetch it you need to send a packet to the system controller with service id = 0x12 and payload consisting of two zero bytes, an answer have a size of 0x80 bytes.<br>
To fetch it you need to send a packet to the system controller with service id = 0x12 and payload consisting of two zero bytes, an answer have a size of 0x84 bytes (status and data).<br>
It contains some register values which are used during initialization of memory interface controller at startup.<br>


= Sample =
= Sample =
Here are example outputs from Slim consoles:
Here are example outputs from Slim consoles (only data):
<pre>
<pre>
0x0000: 00 00 00 00 02 02 10 20 08 00 00 01 80 00 FF C0  ....... ........  
0000h: 02 02 10 20 08 00 00 01 80 00 FF C0 32 00 06 11 ... ........2...  
0x0010: 32 00 06 11 01 70 7C FE 50 20 00 00 00 E0 62 84  2....p|.P ....b.  
0010h: 01 70 7C FE 50 20 00 00 00 E0 62 84 05 5A D6 B0 .p|.P ....b..Z..  
0x0020: 05 5A D6 B0 5D 70 71 80 02 10 00 00 0A 96 3D 60  .Z..]pq.......=`  
0020h: 5D 70 71 80 02 10 00 00 0A 96 3D 60 E1 C0 C8 00 ]pq.......=`....
0x0030: E1 C0 C8 00 00 00 00 00 00 00 00 00 ED D6 12 29  ...............)
0030h: 00 00 00 00 00 00 00 00 ED D6 12 29 59 4B A6 B4 ...........)YK..  
0x0040: 59 4B A6 B4 53 49 AC B6 88 C4 62 20 00 00 00 00  YK..SI....b ....  
0040h: 53 49 AC B6 88 C4 62 20 00 00 00 00 00 40 00 00  SI....b .....@..  
0x0050: 00 40 00 00 08 54 0C 54 14 9F 18 9F 00 58 00 80  .@...T.T.....X..  
0050h: 08 54 0C 54 14 9F 18 9F 00 58 00 80 00 01 FC 01 .T.T.....X......  
0x0060: 00 01 FC 01 00 06 00 0F FC 0A 00 06 00 0F 37 00  ..............7.
0060h: 00 06 00 0F FC 0A 00 06 00 0F 37 00 00 10 23 28 ..........7...#(
0x0070: 00 10 23 28 20 00 80 FF FF FF FF FF FF FF FF FF ..#( ...........  
0070h: 20 00 80 FF FF FF FF FF FF FF FF FF FF FF FF FF  ...............  
</pre>
</pre>


<pre>
<pre>
0x0000: 00 00 00 00 01 04 20 20 08 00 00 01 80 00 FF C0  .............  
0000h: 01 04 20 20 08 00 00 01 80 00 FF C0 32 00 06 11 .. ........2...  
0x0010: 32 00 06 11 01 70 7C FE 60 40 00 00 00 E0 62 84  2....p|.`@....b.  
0010h: 01 70 7C FE 60 40 00 00 00 E0 62 84 05 5A D6 B0 .p|.`@....b..Z..  
0x0020: 05 5A D6 B0 5D 70 71 80 02 10 00 00 0A 96 3D 60  .Z..]pq.......=`  
0020h: 5D 70 71 80 02 10 00 00 0A 96 3D 60 E1 C0 C8 00 ]pq.......=`....
0x0030: E1 C0 C8 00 00 00 00 00 00 00 00 00 ED D6 12 29  ...............)
0030h: 00 00 00 00 00 00 00 00 ED D6 12 29 59 4B A6 B4 ...........)YK..  
0x0040: 59 4B A6 B4 53 49 AC B6 88 C4 62 20 00 00 00 00  YK..SI....b ....  
0040h: 53 49 AC B6 88 C4 62 20 00 00 00 00 00 40 00 00  SI....b .....@..  
0x0050: 00 40 00 00 08 54 0C 54 14 C6 18 C6 00 58 00 80  .@...T.T.....X..  
0050h: 08 54 0C 54 14 C6 18 C6 00 58 00 80 00 01 FC 01 .T.T.....X......  
0x0060: 00 01 FC 01 00 06 00 0F FC 0A 00 06 00 0F 37 00  ..............7.
0060h: 00 06 00 0F FC 0A 00 06 00 0F 37 00 00 10 23 28 ..........7...#(
0x0070: 00 10 23 28 2D 00 80 FF FF FF FF FF FF FF FF FF  ..#(-...........  
0070h: 2D 00 80 FF FF FF FF FF FF FF FF FF FF FF FF FF  -...............  
</pre>
</pre>


{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>

Latest revision as of 06:39, 12 May 2014

The XDR configuration is sent to the Cell BE processor via syscon's packet during booting, however you can query it at any moment.
To fetch it you need to send a packet to the system controller with service id = 0x12 and payload consisting of two zero bytes, an answer have a size of 0x84 bytes (status and data).
It contains some register values which are used during initialization of memory interface controller at startup.

Sample[edit | edit source]

Here are example outputs from Slim consoles (only data):

0000h: 02 02 10 20 08 00 00 01 80 00 FF C0 32 00 06 11  ... ........2... 
0010h: 01 70 7C FE 50 20 00 00 00 E0 62 84 05 5A D6 B0  .p|.P ....b..Z.. 
0020h: 5D 70 71 80 02 10 00 00 0A 96 3D 60 E1 C0 C8 00  ]pq.......=`.... 
0030h: 00 00 00 00 00 00 00 00 ED D6 12 29 59 4B A6 B4  ...........)YK.. 
0040h: 53 49 AC B6 88 C4 62 20 00 00 00 00 00 40 00 00  SI....b .....@.. 
0050h: 08 54 0C 54 14 9F 18 9F 00 58 00 80 00 01 FC 01  .T.T.....X...... 
0060h: 00 06 00 0F FC 0A 00 06 00 0F 37 00 00 10 23 28  ..........7...#( 
0070h: 20 00 80 FF FF FF FF FF FF FF FF FF FF FF FF FF   ............... 
0000h: 01 04 20 20 08 00 00 01 80 00 FF C0 32 00 06 11  ..  ........2... 
0010h: 01 70 7C FE 60 40 00 00 00 E0 62 84 05 5A D6 B0  .p|.`@....b..Z.. 
0020h: 5D 70 71 80 02 10 00 00 0A 96 3D 60 E1 C0 C8 00  ]pq.......=`.... 
0030h: 00 00 00 00 00 00 00 00 ED D6 12 29 59 4B A6 B4  ...........)YK.. 
0040h: 53 49 AC B6 88 C4 62 20 00 00 00 00 00 40 00 00  SI....b .....@.. 
0050h: 08 54 0C 54 14 C6 18 C6 00 58 00 80 00 01 FC 01  .T.T.....X...... 
0060h: 00 06 00 0F FC 0A 00 06 00 0F 37 00 00 10 23 28  ..........7...#( 
0070h: 2D 00 80 FF FF FF FF FF FF FF FF FF FF FF FF FF  -...............