Editing Syscon Firmware

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
= Description =
= Description =
The '''Syscon firmware''' (also known as '''sys'''tem '''con'''troller '''firmware''') is the software stored inside [[Syscon Hardware|syscon]]. Composed by the base firmware (not updateable in retail syscon models) and a optional patch that is applyed virtually on runtime on top of the base firmware<br>
The system controller firmware (also known as the syscon firmware) is the software stored inside [[Syscon Hardware|syscon]]. Is composed by the base firmware (not updateable in retail syscon models) and a optional patch that is applyed virtually on runtime on top of the base firmware<br>
The syscon patches (also known as system controller update packages) for retail PS3 models are distributed in [[PKG_files|PKG]] format inside the [[Update_files.tar]] of the [[Playstation Update Package (PUP)|PS3UPDAT.PUP]]s. Syscon patches appear to always be 5KB (5376 bytes) in size.
The syscon update packages (also known as syscon patches) for retail PS3 models are distributed in [[PKG_files|PKG]] format inside the [[Update_files.tar]] of the [[Playstation Update Package (PUP)|PS3UPDAT.PUP]]s. Syscon patches appear to always be 5KB (5376 bytes) in size.


= Update procedure =
= Update procedure =
Line 10: Line 10:
{| class="wikitable"
{| class="wikitable"
|+Mullion
|+Mullion
! <abbr title="Syscon firmware build id">SoftID</abbr> !! Firmware version !! Build target !! Build date !! Adds support for [[Platform ID]]s !! Corresponding [[SCEI PS3 SDK|SDK]] / [[Communication_Processor|CP]] versions !! Notes
! <abbr title="Syscon firmware build id">SoftID</abbr> !! Firmware version !! Build target !! Build date !! Adds support for [[Platform ID]]s !! Corresponding [[SCEI PS3 SDK|SDK]] version !! Notes
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| -    || v0.4.5_b4  || BACKUP      || 2005      || (Cyt1.0), (Cyt1.1), (Cyt2.1), (Cok01)    || 0.40 || Only used on the backup bank of flash models
| -    || v0.4.5_b4  || BACKUP      || 2005      || (Cyt1.0), (Cyt1.1), (Cyt2.1), (Cok01)    || 0.40 || Only used on the backup bank of flash models
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 06DA || v0.6.1_c8  || CYTOLOGY    || 2006/01/31 || Cyt1.2, Cyt2.0, Cyt2.2, (Cok02), (Cok03)  || 0.80 / 0.3.2 ||  
| 06DA || v0.6.1_c8  || CYTOLOGY    || 2006/01/31 || Cyt1.2, Cyt2.0, Cyt2.2, (Cok02), (Cok03)  || 0.80 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 073E || v0.6.10_c4 || CYTOLOGY    || 2006/03/01 || (Cok05)                                  || 0.81 / 0.4.3/0.4.7 ||  
| 073E || v0.6.10_c4 || CYTOLOGY    || 2006/03/01 || (Cok05)                                  || 0.81 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 07FF || v0.6.11_c4 || CYTOLOGY    || 2006/03/27 || Cyt3.0, Cyt3.1, Cyt3.2, (Cok08)          || 0.82 / 0.5.3 ||  
| 07FF || v0.6.11_c4 || CYTOLOGY    || 2006/03/27 || Cyt3.0, Cyt3.1, Cyt3.2, (Cok08)          || 0.82 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 086C || v0.6.12_c5 || CYTOLOGY    || 2006/04/11 || -                                        || 0.83 / 0.6.4/0.6.5/0.6.7 ||  
| 086C || v0.6.12_c5 || CYTOLOGY    || 2006/04/11 || -                                        || 0.83 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 08F1 || v0.6.12_c7 || CYTOLOGY    || 2006/04/22 || -                                        || 0.83 ||  
| 08F1 || v0.6.12_c7 || CYTOLOGY    || 2006/04/22 || -                                        || 0.83 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0955 || v0.6.14_c4 || CYTOLOGY    || 2006/05/01 || -                                        || 0.84 / 0.7.1 ||  
| 0955 || v0.6.14_c4 || CYTOLOGY    || 2006/05/01 || -                                        || 0.84 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0AF4 || v0.8.4_c8  || CYTOLOGY    || 2006/06/23 || (Cok11)                                  || 0.85 / 0.8.4/0.8.8 ||  
| 0AF4 || v0.8.4_c8  || CYTOLOGY    || 2006/06/23 || (Cok11)                                  || 0.85 ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0B48 || v0.9.9_c1  || CYTOLOGY    || 2006/07/07 || Cyt3.3, Cyt3.4, (Cok12), (Cok13), (Cok14) || 0.90 / 0.9.1 ||
| 0B48 || v0.9.9_c1  || CYTOLOGY    || 2006/07/07 || Cyt3.3, Cyt3.4, (Cok12), (Cok13), (Cok14) || 0.90 ||
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0B67 || v0.9.13_k1 || COOKIE      || 2006      || -                                        || -  || [[COOKIE-13]], [[COK-001_(Prototype)|COK-001(Proto)]], etc... with a [[CXR713F120A]]
| 0B67 || v0.9.13_k1 || COOKIE      || 2006      || -                                        || -  || [[COOKIE-13]], [[COK-001_(Prototype)|COK-001(Proto)]], etc... with a [[CXR713F120A]]
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0B74 || v0.9.14_c1 || CYTOLOGY    || 2006/08/03 || -                                        || 0.91 / 0.9.2 ||
| 0B74 || v0.9.14_c1 || CYTOLOGY    || 2006/08/03 || -                                        || 0.91 ||
|-
|-
| 0B8E || v1.0.0_k1  || COOKIE (201) || 2006      || -                                        || -    ||
| 0B8E || v1.0.0_k1  || COOKIE (201) || 2006      || -                                        || -    ||
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0B9D || v1.0.1_c1  || CYTOLOGY    || 2006/08/31 || -                                        || 0.93 / 0.9.4 ||
| 0B9D || v1.0.1_c1  || CYTOLOGY    || 2006/08/31 || -                                        || 0.93 ||
|-
|-
| 0C16 || v1.1.3_k1  || COOKIE (202) || 2006      || CokB10                                    || -    ||
| 0C16 || v1.1.3_k1  || COOKIE (202) || 2006      || CokB10                                    || -    || <span style="background:#ff4444;">not dumped yet</span>
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0C23 || v1.0.3_c1  || CYTOLOGY    || 2006/12/04 || -                                        || 1.50 / 1.1.1 ||
| 0C23 || v1.0.3_c1  || CYTOLOGY    || 2006/12/04 || -                                        || 1.50 ||
|-
|-
| 0D52 || v1.2.3_k1  || COOKIE (203) || 2007      || CokC10, CokC11, CokC12, CokD10            || -    ||
| 0D52 || v1.2.3_k1  || COOKIE (203) || 2007      || CokC10, CokC11, CokC12                   || -    || <span style="background:#ff4444;">not dumped yet</span>
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0D79 || v1.0.4_c1  || CYTOLOGY    || 2007/06/21 || -                                        || 1.90 / 1.2.0 ||
| 0D79 || v1.0.4_c1  || CYTOLOGY    || 2007/06/21 || -                                        || 1.90 ||
|-
|-
| 0DBF || v1.3.3_k1  || COOKIE (301) || 2007      || -                                        || -    ||
| 0DBF || v1.3.3_k1  || COOKIE (301) || 2007      || CokD10                                    || -    ||
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0E4E || v1.0.4_c2  || CYTOLOGY    || 2007/11/08 || -                                        || 2.40 / 1.3.1 ||
| 0E4E || v1.0.4_c2  || CYTOLOGY    || 2007/11/08 || -                                        || 2.40 ||
|-
|-
| 0E69 || v1.4.4_k2  || COOKIE (302) || 2007      || CokE10, Deb01                            || -    ||
| 0E69 || v1.4.4_k2  || COOKIE (302) || 2007      || CokE10, Deb01                            || -    ||
|-
|-
| 0F29 || v1.5.0_k2  || COOKIE (303) || 2009      || -                                        || -    || Removes hardcoding from previous firmware, adds support for 65nm RSX - <span style="background:#ff4444; cursor:wait;">not dumped yet</span>
| 0F29 || v1.5.0_k2  || COOKIE (303) || 2009      || -                                        || -    || Removes hardcoding from previous firmware, adds support for 65nm RSX - <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 0F38 || v1.5.1_k2  || COOKIE (304) || 2010      || -                                        || -    || Adds support for 40nm RSX
| 0F38 || v1.5.1_k2  || COOKIE (304) || 2010      || -                                        || -    || Adds support for 40nm RSX
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0F3B || v1.0.5_c1  || CYTOLOGY    || 2010/05/12 || -                                        || 3.60 / 1.3.3 ||
| 0F3B || v1.0.5_c1  || CYTOLOGY    || 2010/05/12 || -                                        || 3.60 ||
|}
|}


Line 63: Line 63:
! <abbr title="Syscon firmware build id">SoftID</abbr> !! Firmware version !! Build target !! Build date !! <abbr title="Not final">Adds support for [[Platform ID]]s</abbr> !! Notes
! <abbr title="Syscon firmware build id">SoftID</abbr> !! Firmware version !! Build target !! Build date !! <abbr title="Not final">Adds support for [[Platform ID]]s</abbr> !! Notes
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0658 || ?.??.? || -      || 2008 || CokF10                        || <span style="background:#ff4444; cursor:wait;">not dumped yet</span> [[VERTIGO-02]]
| 0658 || ?.??.? || -      || 2008 || CokF10                        || [[VERTIGO-02]] <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 065D || 0.17.0 || SW-301  || 2008 || -                              ||  
| 065D || 0.17.0 || SW-301  || 2008 || -                              ||  
|-
|-
| ???? || ?.??.? || SW-302  || 2008 || -                              || <span style="background:#ff4444; cursor:wait;">not dumped yet</span> [[VER-001]]
| ???? || ?.??.? || SW-302  || 2008 || -                              || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 0832 || 1.11.0 || SW2-301 || 2009 || CokG10, CokG11                ||  
| 0832 || 1.11.0 || SW2-301 || 2009 || CokG10, CokG11                ||  
|-
|-
| 0898 || 1.15.0 || -       || 2009 || CokH10, CokH11, CokJ12        ||
| 08A0 || 1.16.0 || SW2-302 || 2009 || CokH10, CokH11                 || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 08A0 || 1.16.0 || SW2-302 || 2009 ||                               ||
| 08C2 || 1.21.0 || SW2-303 || 2010 || CokJ13, CokJ20                || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 08C2 || 1.21.0 || SW2-303 || 2010 || CokJ13, CokJ20                ||
| 0918 || 2.3.0 || SW3-301 || 2011 || CokK10                        || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 0918 || 2.3.0 || SW3-301 || 2011 || CokK10                        ||  
| 098F || 2.12.0 || SW3-302 || 2012 || CokM20, CokM40, CokN10, CokN30 || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| 098F || 2.12.0 || SW3-302 || 2012 || CokM20, CokM40, CokN10, CokN30 ||
| ???? || ?.??.? || SW3-303 || 2013 || -                              || <span style="background:#ff4444;">not dumped yet</span>
|-
|-
| ???? || ?.??.? || SW3-303 || 2013 || -                              || <span style="background:#ff4444; cursor:wait;">not dumped yet</span> (unknown PS3 model/motherboard)
| 09A4 || 2.21.0 || SW3-304 || 2013 || -                              || <span style="background:#ff9000;">partially dumped</span>
|-
| 09A4 || 2.21.0 || SW3-304 || 2013 || -                              ||
|}
|}


= Syscon patches =
= Syscon patches =
<div style="float:right">[[File:MoreSystemInformation_CECHA_with_40nm_RSX.jpg|400px|thumb|left|[[CECHAxx]] Refurbished 40nm RSX / [[COK-001]] / [[CXR714120-304GB]]<br>Syscon firmware '''v1.5.1_k2''' patch '''1''']]<br>[[File:MoreSystemInformation-CECH2004B-270.JPG|400px|thumb|left|[[CECH-20xx]] / [[DYN-001]] / [[SW2-301]]<br>Syscon firmware '''1.11.0''' patch '''1.2.83E.832''']]</div>
These patches are in full Retail/CEX and Debug/DEX firmwares. Are intended to fix some problem in the syscon firmware
These patches are in full Retail/CEX and Debug/DEX firmwares. Are intended to fix some problem in the syscon firmware
*Fix 1) System firmware 1.30 (December 6, 2006). Disables UART access to the Syscon EEPROM patch region (not for 0832)
*Firmware 1.30 (December 6, 2006) Disables UART access to the Syscon EEPROM patch region (not for 0832)
*Fix 2) System firmware 1.81 (June 15, 2007). Patch for the HDMI display data channel read<!-- ''hdmi chstat'' ? --> function (only for 0B8E and 0C16)
*Firmware 1.81 (June 15, 2007) Patch for the HDMI display data channel read function (only for 0B8E and 0C16)
*Fix 3) System firmware 3.00 (September 1, 2009). Unknown patch (only for 0832)
*Firmware 3.00 (September 1, 2009) Unknown patch (only for 0832)
*Fix 4) System firmware 3.40 (June 29, 2010) and  3.41 (July 26, 2010). Patch for the rtc read<!-- ''getrtc'' ? --> function (not for 0832)
*Firmware 3.40 (June 29, 2010) Patch for the rtc read function (not for 0832)
*Firmware 3.41 (July 26, 2010) No patch added


{| class="wikitable"
{| class="wikitable"
|-
|-
! <abbr title="Syscon ROM Revision">SoftID</abbr> !! sys_con_firmware package !! [[1.00_CEX|1.00]]~[[1.11_CEX|1.11]] !! [[1.30_CEX|1.30]]~[[1.80_CEX|1.80]] !! [[1.81_CEX|1.81]]~[[2.80_CEX|2.80]] !! [[3.00_CEX|3.00]]~[[3.30_CEX|3.30]] !! [[3.40_CEX|3.40]] !! [[3.41-1_CEX|3.41]]~[[4.88_CEX|4.88]] !! Notes
! <abbr title="Syscon ROM Revision">SoftID</abbr> !! sys_con_firmware package !! 1.00-1.30 !! 1.30-1.80 !! 1.81-2.80 !! 3.00-3.30 !! 3.40 !! 3.41-4.75 !! Notes
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
! rowspan=3 | 0B8E
! rowspan=3 | 0B8E
| SYS_CON_FIRMWARE_01000004.pkg || {{No}} || {{Yes}} (fix 1) || {{No}} || {{No}} || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01000005.pkg
| SYS_CON_FIRMWARE_01000004.pkg || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01000005.pkg
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| SYS_CON_FIRMWARE_01000005.pkg || {{No}} || {{No}} || colspan="2" {{Yes}} (fix 1+2) || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01000006.pkg
| SYS_CON_FIRMWARE_01000005.pkg || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01000006.pkg
|-
|-
| SYS_CON_FIRMWARE_01000006.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" {{Yes}} (fix 1+2+4) || [[CXR713120-201GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...4706</abbr>
| SYS_CON_FIRMWARE_01000006.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
! rowspan=2 | 0C16
! rowspan=2 | 0C16
| SYS_CON_FIRMWARE_01010302.pkg || {{No}} || {{No}} || colspan="2" {{Yes}} (fix 1+2) || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01010303.pkg
| SYS_CON_FIRMWARE_01010302.pkg || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || Superseded by SYS_CON_FIRMWARE_01010303.pkg
|-
|-
| SYS_CON_FIRMWARE_01010303.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" {{Yes}} (fix 1+2+4) || [[CXR713120-202GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...7214</abbr>
| SYS_CON_FIRMWARE_01010303.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||
|-
|-
! 0D52
! 0D52
| SYS_CON_FIRMWARE_01020302.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" style="background:#55CC55; color:#FFFFFF; text-align:right;" | Yes (fix 1+4) || [[CXR713120-203GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...F427</abbr>
| SYS_CON_FIRMWARE_01020302.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||
|-
|-
! 0DBF
! 0DBF
| SYS_CON_FIRMWARE_01030302.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" style="background:#55CC55; color:#FFFFFF; text-align:right;" | Yes (fix 1+4) || [[CXR714120-301GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...F321</abbr>
| SYS_CON_FIRMWARE_01030302.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||  
|-
|-
! 0E69
! 0E69
| SYS_CON_FIRMWARE_01040402.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" style="background:#55CC55; color:#FFFFFF; text-align:right;" | Yes (fix 1+4) || [[CXR714120-302GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...5096</abbr>
| SYS_CON_FIRMWARE_01040402.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||  
|-
|-
! 0F29
! 0F29
| SYS_CON_FIRMWARE_01050002.pkg || {{No}} || {{No}} || {{No}} || {{No}} || colspan="2" style="background:#55CC55; color:#FFFFFF; text-align:right;" | Yes (fix 1+4) || [[CXR714120-303GB]]
| SYS_CON_FIRMWARE_01050002.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} ||
|-
|-
! 0F38
! 0F38
| SYS_CON_FIRMWARE_01050101.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || style="background:#55CC55; color:#FFFFFF; text-align:right;" | Yes (fix 1+4) || [[CXR714120-304GB]] <abbr title="Last 2 bytes of the patch 2 region, at the end of the EEPROM dumps>...16FA</abbr>
| SYS_CON_FIRMWARE_01050101.pkg || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} ||
|-
|-
! 0832
! 0832
| SYS_CON_FIRMWARE_S1_00010002083E0832.pkg || {{No}} || {{No}} || {{No}} || colspan="3" {{Yes}} (fix 3) || [[SW2-301]]
| SYS_CON_FIRMWARE_S1_00010002083E0832.pkg || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} ||
|}
|}


<div style="float:right">[[File:MoreSystemInformation_CECHA_with_40nm_RSX.jpg|400px|thumb|left|[[CECHAxx]] Refurbished 40nm RSX / [[COK-001]] / [[CXR714120-304GB]]<br>Syscon firmware '''v1.5.1_k2''' patch '''1''']]<br>[[File:MoreSystemInformation-CECH2004B-270.JPG|400px|thumb|left|[[CECH-20xx]] / [[DYN-001]] / [[SW2-301]]<br>Syscon firmware '''1.11.0''' patch '''1.2.83E.832''']]</div>
The screen [[More System Information]] allows to see some details related with syscon. The syscon firmware version can be derived from the SoftID, and additionally if there is a patch installed the PatchID displayed in the screen contains both, the syscon firmware version and the patch version. Note also that there is a direct relationship in between the PatchID displayed in the screen and the patch filename. The syscon UART commands also displays some info related with the base syscon firmware and the patch
The screen [[More System Information]] allows to see some details related with syscon. The syscon firmware version can be derived from the SoftID, and additionally if there is a patch installed the PatchID displayed in the screen contains both, the syscon firmware version and the patch version. Note also that there is a direct relationship in between the PatchID displayed in the screen and the patch filename. The syscon UART commands also displays some info related with the base syscon firmware and the patch


Line 243: Line 241:
! Address !! Length !! Value !! Description
! Address !! Length !! Value !! Description
|-
|-
| 0x00 || 0x4 || 0x3 || Header Version? 3 (fixed value for all PS3 update packages)
| 0x00 || 0x4 || 0x3 || ConsoleType? 3 (fixed value for all PS3 update packages)
|-
|-
| 0x04 || 0x4 || 0x8 || SoftType? 8 = SC firmware
| 0x04 || 0x4 || 0x8 || SoftType? 8 = SC firmware
Line 249: Line 247:
| 0x08 || 0x8 || - || SC firmware revision (the high word of it is the SC type)
| 0x08 || 0x8 || - || SC firmware revision (the high word of it is the SC type)
|-
|-
| 0x0C || 0x4 || 0x0B8E(1.30-4.84)<br />0x0C16(1.81-4.84)<br />0x0D52(3.40-4.84)<br />0x0DBF(3.40-4.84)<br />0x0E69(3.40-4.84)<br />0x0F29(3.40-4.84)<br />0x0F38(3.41-4.84)<br />0x0832(3.00-4.84) || 'SoftID'
| 0x0C || 0x4 || 0x0B8E(1.30-4.84)<br />0x0C16(1.81-4.84)<br />0x0D52(3.40-4.84)<br />0x0DBF(3.40-4.84)<br />0x0E69(3.40-4.84)<br />0x0F29(3.40-4.84)<br />0x0F38(3.41-4.84)<br />0x065D<br />0x0832(3.00-4.84)<br />0x08A0<br />0x08C2<br />0x0918 || 'SoftID'
|-
|-
| 0x10 || 0x8 || 0x0001000000000004<br />0x0001000000000005<br />0x0001000000000006<br />0x0001000100030002<br />0x0001000100030003<br />0x0001000200030002<br />0x0001000300030002<br />0x0001000400040002<br />0x0001000500000002<br />0x0001000500010001<br />0x00010002083E0832<br /> || 'PatchID' (official name is "version")
| 0x10 || 0x8 || 0x0001000000000004<br />0x0001000000000005<br />0x0001000000000006<br />0x0001000100030002<br />0x0001000100030003<br />0x0001000200030002<br />0x0001000300030002<br />0x0001000400040002<br />0x0001000500000002<br />0x0001000500010001<br />0x00010002083E0832<br /> || 'PatchID' (official name is "version")
Line 257: Line 255:
| 0x20 || 0x8 || 0x1000 || '''Content''' Compressed Data Size
| 0x20 || 0x8 || 0x1000 || '''Content''' Compressed Data Size
|-
|-
| 0x28 || 0x4 || 0x0 || Attribute
| 0x28 || 0x8 || 0x0 ||  
|-
| 0x2C || 0x4 || 0x0 || Region
|-
| 0x30 || 0x8 || 0x0 || Image Offset
|-
|-
| 0x38 || 0x8 || 0x0 || Reserved_0
| 0x30 || 0x10 || 0x0 ||  
|-
|-
|}
|}
Line 276: Line 270:
! Address !! Length !! Value !! Description
! Address !! Length !! Value !! Description
|-
|-
| 0x00 || 0x8 || 0x3 || Header Version?
| 0x00 || 0x4 || 0x0 ||
|-
| 0x04 || 0x4 || 0x3 ||  
|-
|-
| 0x08 || 0x8 || 0x40 || Header Size?
| 0x08 || 0x8 || 0x40 || Offset/size?
|-
|-
| 0x10 || 0x8 || 0x0 || Chunk Offset
| 0x10 || 0x4 || 0x0 ||  
|-
|-
| 0x18 || 0x8 || 0x1000 || Chunk Size
| 0x14 || 0x4 || 0x0 ||  
|-
|-
| 0x20 || 0x8 || 0x1 || Current Chunk
| 0x18 || 0x8 || 0x1000 || '''Content''' Data Size?
|-
|-
| 0x28 || 0x8 || 0x1 || Chunks Total
| 0x20 || 0x8 || 0x1 ||  
|-
|-
| 0x30 || 0x8 || 0x0 || Reserved_0?
| 0x28 || 0x8 || 0x1 ||  
|-
|-
| 0x38 || 0x8 || 0x0 || Reserved_1?
| 0x30 || 0x10 || 0x0 ||  
|-
|-
|}
|}
Line 300: Line 296:
|-
|-
|-
|-
| 0x0 || 0x1000 || - || '''Content''' Data
| 0x0 || 0x1000 || - || '''content'''
|-
|-
|}
|}


=== Content Data Header ===
= Package decryption =
Packages can be decrypted with the unpkg tool. Decrypted content of the updates appears to always be 0x1000 bytes (4KB).
 
The following is all theoretical and is intended to discard possibilities about modes of operation used by aes when decrypting body of firmware/patch<br>
We know that:
* Two key expansions are used before applying crypto on body (one probably for hashing. the other for decrypting with cbc)
* Encrypt is used when applying crypto on body TopHalf (forward ttables) and Decrypt is used when applying on body Bottomhalf (inverse ttables)
* Authenticated regions uses a form of what seems to be some ECB with tweak xoring (as graf once said about XTS)
* XTS was introduced in 2007 and SysCon from ps3 exists for far more time than that (2003)
* XEX is a close relative of XTS that was introduced in 1984
* PS4 uses XTS for Authenticated Regions or SNVS (with sector size of 0x20 being used. is this even considered safe?)
* 4 regions can be controlled for DPA and they are: 0x2790 (size 0x20) (FFs), patch header (most notably at offset 0x4 of header size 0x10 and 0x30 size 0x10), patch body tophalf(+0x40) and patch body bottomhalf(+0x50)
* here are the DPA bytes for each of the controlable sections:
* 21 06 23 DC A2 98 99 4D XX 87 F8 40 FC 48 1C BF (section 2/FF's from 0x2790 on DIA-001) -> 210623DCA298994DFE87F840FC481CBF 
* 21 06 23 DC A2 98 99 4D XX 87 F8 40 FC 48 1C BF (section 2/FF's from 0x2790 on DEB-001) -> 210623DCA298994DFE87F840FC481CBF 
* 16 32 47 79 C3 2C 47 D3 2B 39 CA B5 83 41 0E D5 (section 3/header from DIA-001 patch content)
* XX XX XX XX 7B FC 27 CD D5 9A 05 09 3A DF E4 75  (section 3/header AA from DEB-001 patch content) -> 6E9CE7C57BFC27CDD59A05093ADFE475
* 92 4A 87 88 20 59 6C 49 9F 0E 7D 77 2F 38 4C FC (section 3/header DD from DEB-001 patch content)
* 7D C6 3B 3B 69 DF 67 4C 94 D7 D4 A8 E0 F8 5B B2 (section 4/body from DIA-001 patch content/tophalf/forward)
* 73 XX F0 3D XX 9A F0 92 4D XX 62 DA XX 48 3C DB (section 4/body from DIA-001 patch content/bottomhalf/inverse)
* 49 1F 7B 0A 48 BD 79 33 4E 16 89 F6 B0 25 86 48 (section 4/body from DEB-001 patch content/tophalf/forward)
* 14 4D F1 D3 21 B6 17 46 60 81 42 E5 02 C9 07 66 (section 4/body from DEB-001 patch content/bottomhalf/inverse/PROPER) -> 6B3583DA1AA6B49106E1641178EE68C8 (inverse ttables)
* some bytes are considered "weak" bytes and should be bruteforced in the eventuality these keys fail
* another possibility is that both the header and the body are hashed and then decrypted, using for example, cmac and cbc
* since key expansions take 10 "hills" in the analysis, it should be safe to assume that AES-128 is used(because it uses 10 rounds).
* 6554cff202c3bfdd9740901070b705bf :  correct md5 for patch content we are trying keys on (DIA-001)
* 4875ad06a1499cc516a0d4d92e595794 :  correct md5 for patch content we are trying keys on (DEB-001/DIA-002)
* trying a different header/body patch content from another similar board will result into failure of decrypting body, which means that the header is checked for authenticity and that the header hash is NOT in the header
* altering the patch header doesn't cause the patch header dpa bytes to change (a test was done with 4 bytes and the result was 16 32 47 79, which matches the other patch dpa recovered bytes)
* there are in fact not 4 but 5 aes sections. the last one seems to be body related, as changing the body even one bit makes the last aes section disappear.
* section 2 is divided into two sections, corresponding to TopHalf and BottomHalf of patch area.
* TopHalf uses forward ttables/sbox. BottomHalf uses inverse ttables/sbox
* TopHalf is ONLY the very first 0x10 bytes AFTER the header and into the body (corresponding to 0x40 in header size 0x10)
* BottomHalf is the rest of the body itself.
* DYN-001 processes one entire chunk of 0x1000 bytes, 0x40 for header and 0xFC0 for body, and not two of 0x400 and 0xC00 like the Sony models
* 504 aes operations are done for the body (252/0xFC for cmac and 252/0xFC for cbc). it is unknown if cmac comes first or it is cbc.
* All attacks show weak bytes in comparisson with CXR(F), likely due to CXR being optimized for the attack (removed resistors/capacitors, etc)
 
== Header ==
The header format is partially unknown at this stage.
The header format is partially unknown at this stage.
All the Firmwares patches are written in little endian.
All the Firmwares patches are written in little endian.
Line 312: Line 346:
! Offset !! Length !! Notes !! Related DECR Error !! Notes
! Offset !! Length !! Notes !! Related DECR Error !! Notes
|-
|-
| 0x0 || 0x4 || Magic || FFFFFED2 (Magic Error) || 0x1B2D700F in mullions, '''sys1''' in cytology ?
| 0x0 || 0x4 || Magic || FFFFFED2 (Magic Error) ||
|-
|-
| 0x4 || 0x10 || Header CMAC1 || rowspan="6" | FFFFFED1 (Header Check Error)  || CMAC of Partial Header (0x10,0x30 size) with header first 4 bytes instead of random 4 bytes<br>and where Header CMAC2 is zeroed Concatenated with Encrypted Body  
| 0x4 || 0x10 || Header CMAC1 || FFFFFED1 (Header Check Error)  || CMAC of Partial Header (0x10,0x30 size) with header first 4 bytes instead of random 4 bytes and where Header CMAC2 is zeroed Concatenated with Encrypted Body  
|-
|-
| 0x14 || 0x10 || Header CMAC2 || CMAC of Header (where this cmac has been zeroed)
| 0x14 || 0x10 || Header CMAC2 || FFFFFED1 (Header Check Error) || CMAC of Header (where this cmac has been zeroed)
|-
|-
| 0x24 || 0x4 || Padding ||  
| 0x24 || 0x4 || Padding || FFFFFED1 (Header Check Error) ||
|-
|-
| 0x28 || 0x4 || Total size || Always 0x1000 in mullions, 0x60040 in cytology ?
| 0x28 || 0x4 || Total size || FFFFFED1 (Header Check Error) ||
|-
|-
| 0x2C || 0x4 || Size of binary || Always 0xFC0 in mullions, 0x60000 in cytology ?
| 0x2c || 0x4 || Size of binary || FFFFFED1 (Header Check Error) ||
|-
|-
| 0x30 || 0x10 || IV for AES-128 CBC ||  
| 0x30 || 0x10 || IV for AES-128 CBC || FFFFFED1 (Header Check Error) ||  
|-
|-
| 0x40 || 0xFC0 || Encrypted binary || FFFFFED0 (Data Check Error)<br>FFFFFECF (Data Size Check Error) ||
| 0x40 || 0xfc0 || Encrypted binary || FFFFFED0 (Data Check Error) / FFFFFECF (Data Size Check Error) ||
|-
|-
|}
|}
Line 334: Line 368:
* Note3: setting data between 0x40 to 0x4C to zero in bogus update yields error FFFFFED0
* Note3: setting data between 0x40 to 0x4C to zero in bogus update yields error FFFFFED0


'''Samples'''
== Samples ==
<pre>
<pre>
00000000  1B 2D 70 0F AB 5E B3 99 68 20 FE 3D E1 80 6A 1D  .-p.«^³™h þ=á€j.
00000000  1B 2D 70 0F AB 5E B3 99 68 20 FE 3D E1 80 6A 1D  .-p.«^³™h þ=á€j.
Line 352: Line 386:
00000020  FF 83 0B E0 00 00 00 00  40 00 06 00 00 00 06 00  ÿƒ à    @       
00000020  FF 83 0B E0 00 00 00 00  40 00 06 00 00 00 06 00  ÿƒ à    @       
00000030  69 B6 02 69 3A 97 8B 1C  4E 18 D4 E0 63 7D CA 94  i¶ i:—‹ N Ôàc}Ê”
00000030  69 B6 02 69 3A 97 8B 1C  4E 18 D4 E0 63 7D CA 94  i¶ i:—‹ N Ôàc}Ê”
00000040  4B A0 79 34 79 41 BD 09  BB 68 D4 0A A0 B7 05 78  K y4yA½ »hÔ · x
00000040  4B A0 79 34 79 41 BD 09  BB 68 D4 0A A0 B7 05 78  K y4yA½ »hÔ  · x
00000050  D9 8F 8F 28 6C 9A 1B 61  CF A1 E7 49 7D CA C4 A3  Ù  (lš aÏ¡çI}ÊÄ£
00000050  D9 8F 8F 28 6C 9A 1B 61  CF A1 E7 49 7D CA C4 A3  Ù  (lš aÏ¡çI}ÊÄ£
00000060  A4 4D 4B E0 AE 48 86 03  B1 43 F2 47 C0 C4 1D 4F  ¤MKà®H† ±CòGÀÄ O
00000060  A4 4D 4B E0 AE 48 86 03  B1 43 F2 47 C0 C4 1D 4F  ¤MKà®H† ±CòGÀÄ O
Line 358: Line 392:
</pre>
</pre>


=== Content Data Patch (encrypted) ===
== Observations ==
Packages can be extracted with the unpkg tool. Extracted content of the updates appears to always be 0x1000 bytes (4KB).
* The first 4 bytes (0x1B2D700F) appear static in each package.
 
* The next 0x20 bytes appear to change with each package
The following is all theoretical and is intended to discard possibilities about modes of operation used by aes when decrypting body of firmware/patch<br>
* The following 12 bytes (0x0000000000100000C00F0000) also appear static, but it's the firmware size and fw size - header size; infact if correctly converted to little endian 00000000 00001000 00000fc0, where 00000000 is Unknown, 00001000 is 4096 in dec (file size) and 00000fc0 is 4032 in dec (update size).
We know that:
* On the DECH fw, the update works in the same way: 000000004000060000000600 converted will be: 00000000 00060040 00060000, where, 00000000 is probably padding, file size 00060040, 00060000 update size
* Two key expansions are used before applying crypto on body (one probably for hashing. the other for decrypting with cbc)
* the first 0x40 bytes probably are IV + HASH + update infos. probably the algorithm used is AES.
* Encrypt is used when applying crypto on body TopHalf (forward ttables) and Decrypt is used when applying on body Bottomhalf (inverse ttables)
* algorithm used is aes 128 cbc on the body (iv is at + 0x30)
* Authenticated regions uses a form of what seems to be some ECB with tweak xoring (as graf once said about XTS)
* XTS was introduced in 2007 and SysCon from ps3 exists for far more time than that (2003)
* XEX is a close relative of XTS that was introduced in 1984
* PS4 uses XTS for Authenticated Regions or SNVS (with sector size of 0x20 being used. is this even considered safe?)
* 4 regions can be controlled for DPA and they are: 0x2790 (size 0x20) (FFs), patch header (most notably at offset 0x4 of header size 0x10 and 0x30 size 0x10), patch body tophalf(+0x40) and patch body bottomhalf(+0x50)
* here are the DPA bytes for each of the controlable sections:
* 21 06 23 DC A2 98 99 4D XX 87 F8 40 FC 48 1C BF (section 2/FF's from 0x2790 on DIA-001) -> 210623DCA298994DFE87F840FC481CBF 
* 21 06 23 DC A2 98 99 4D XX 87 F8 40 FC 48 1C BF (section 2/FF's from 0x2790 on DEB-001) -> 210623DCA298994DFE87F840FC481CBF 
* 16 32 47 79 C3 2C 47 D3 2B 39 CA B5 83 41 0E D5 (section 3/header from DIA-001 patch content)
* XX XX XX XX 7B FC 27 CD D5 9A 05 09 3A DF E4 75  (section 3/header AA from DEB-001 patch content) -> 6E9CE7C57BFC27CDD59A05093ADFE475
* 92 4A 87 88 20 59 6C 49 9F 0E 7D 77 2F 38 4C FC (section 3/header DD from DEB-001 patch content)
* 7D C6 3B 3B 69 DF 67 4C 94 D7 D4 A8 E0 F8 5B B2 (section 4/body from DIA-001 patch content/tophalf/forward)
* 73 XX F0 3D XX 9A F0 92 4D XX 62 DA XX 48 3C DB (section 4/body from DIA-001 patch content/bottomhalf/inverse)
* 49 1F 7B 0A 48 BD 79 33 4E 16 89 F6 B0 25 86 48 (section 4/body from DEB-001 patch content/tophalf/forward)
* 14 4D F1 D3 21 B6 17 46 60 81 42 E5 02 C9 07 66 (section 4/body from DEB-001 patch content/bottomhalf/inverse/PROPER) -> 6B3583DA1AA6B49106E1641178EE68C8 (inverse ttables)
* some bytes are considered "weak" bytes and should be bruteforced in the eventuality these keys fail
* another possibility is that both the header and the body are hashed and then decrypted, using for example, cmac and cbc
* since key expansions take 10 "hills" in the analysis, it should be safe to assume that AES-128 is used(because it uses 10 rounds).
* 6554cff202c3bfdd9740901070b705bf :  correct md5 for patch content we are trying keys on (DIA-001)
* 4875ad06a1499cc516a0d4d92e595794 :  correct md5 for patch content we are trying keys on (DEB-001/DIA-002)
* trying a different header/body patch content from another similar board will result into failure of decrypting body, which means that the header is checked for authenticity and that the header hash is NOT in the header
* altering the patch header doesn't cause the patch header dpa bytes to change (a test was done with 4 bytes and the result was 16 32 47 79, which matches the other patch dpa recovered bytes)
* there are in fact not 4 but 5 aes sections. the last one seems to be body related, as changing the body even one bit makes the last aes section disappear.
* section 2 is divided into two sections, corresponding to TopHalf and BottomHalf of patch area.
* TopHalf uses forward ttables/sbox. BottomHalf uses inverse ttables/sbox
* TopHalf is ONLY the very first 0x10 bytes AFTER the header and into the body (corresponding to 0x40 in header size 0x10)
* BottomHalf is the rest of the body itself.
* DYN-001 processes one entire chunk of 0x1000 bytes, 0x40 for header and 0xFC0 for body, and not two of 0x400 and 0xC00 like the Sony models
* 504 aes operations are done for the body (252/0xFC for cmac and 252/0xFC for cbc). it is unknown if cmac comes first or it is cbc.
* All attacks show weak bytes in comparisson with CXR(F), likely due to CXR being optimized for the attack (removed resistors/capacitors, etc)


= Patch structure (decrypted) =
= Patch structure =


== Mullion Patch structure ==
== Mullion Patch Content ==


{| class="wikitable"
{| class="wikitable"
|-
|-
! Offset !! Size !! Name !! Number !! Example !! Notes
!Offset!!Size!!Notes!!Number
|-
|-
| 0x00 || 0x2 || Major Version || 1 ||  ||
| 0x00 || 0x2 || Major Version || 1
|-
|-
| 0x02 || 0x2 || Minor Version || 1 ||  ||
| 0x02 || 0x2 || Minor Version || 1
|-  
|-  
| 0x04 || 0x2 || Major Revision || 1 ||  ||
| 0x04 || 0x2 || Major Revision || 1
|-
|-
| 0x06 || 0x2 || Minor Revision || 1 ||  ||
| 0x06 || 0x2 || Minor Revision || 1
|-
|-
| 0x08 || 0x10 || Patch Addresses || 4*4 ||  ||
| 0x08 || 0x10 || Patch Addresses || 4*4
|-
|-
| 0x18 || 0x10 || Patch Instruction / Data || 4*4 ||  ||
| 0x18 || 0x10 || Patch Instruction / Data || 4*4  
|-
|-
| 0x28 || 0x10 || Patch Jump Instruction Addresses || 4*4 ||  ||
| 0x28 || 0x10 || Patch Jump Instruction Addresses || 4*4
|-
|-
| 0x38 || 0x388 || Additional Patch Instructions || 1 ||  ||
| 0x38 || 0x388 || Additional Patch Instructions || 1
|-
|-
| 0x3C0 || 0xC00 || HDMI Patch || 1 ||  ||
| 0x3C0 || 0xC00 || HDMI Patch || 1
|-
|-
|}
|}


== Sherwood Patch structure ==
== Sherwood Patch Content ==
{| class="wikitable"
{| class="wikitable"
|-
|-
! Offset !! Size !! Name !! Number !! Example !! Notes
!Offset!!Size!!Notes!!Number
|-
|-
| 0x00 || 0x4 || Magic || 1 || 0x5D4E246B ||
| 0x00 || 0x4 || Magic || 1
|-
|-
| 0x04 || 0x2 || Major Version || 1 || 0x0001 || In the output of the UART command ''patchinfo'' is named ''MAJOR''
| 0x04 || 0x2 || Major Version || 1
|-  
|-  
| 0x06 || 0x2 || Minor Version || 1 || 0x0002 || In the output of the UART command ''patchinfo'' is named ''MINOR''
| 0x06 || 0x2 || Minor Version || 1
|-  
|-  
| 0x08 || 0x2 || Major Revision || 1 || 0x083E || In the output of the UART command ''patchinfo'' is named ''REV'' (patch revision)
| 0x08 || 0x2 || Major Revision || 1
|-
|-
| 0x0A || 0x2 || Minor Revision || 1 || 0x0832 || In the output of the UART command ''patchinfo'' is named ''SYS_REV'' (syscon revision)
| 0x0A || 0x2 || Minor Revision || 1
|-
|-
| 0x0C || 0x4 || Absolute Table Address || 1 || 0x0000201A || In the output of the UART command ''patchinfo'' is named ''TABLE''
| 0x0C || 0x4 || Absolute Table Address || 1
|-
|-
| 0x10 || 0x2 || Data Size || 1 || 0x0FAA || In the output of the UART command ''patchinfo'' is named ''DATSIZE''
| 0x10 || 0x2 || Data Size || 1
|-
|-
| 0x12 || 0x2 || Data Checksum || 1 || 0x02AB || In the output of the UART command ''patchinfo'' is named ''DATSUM''
| 0x12 || 0x2 || Data Checksum || 1
|-
|-
| 0x14 || 0x2 || Patch Checksum || 1 || 0x035D || In the output of the UART command ''patchinfo'' is named ''SUM'' (patch checksum)
| 0x14 || 0x2 || Patch Checksum || 1
|-
|-
| 0x16 || 0x2 || Relative Data Address || 1 || 0x0000 || Not parsed/ignored on SW (only used on SW2/SW3). Relative to the patch start address (0x2000)
| 0x16 || 0x2 || Relative (0x2000) Data Address || 1
|-
|-
| 0x18 || 0x2 || Relative Table Address || 1 || 0x0000 || Not parsed/ignored on SW (only used on SW2/SW3). Relative to the patch start address (0x2000)
| 0x18 || 0x2 || Relative (0x2000) Table Address || 1
|-
|-
| 0x1A || 0x80 || Table || 4*0x20 ||  ||
| ------ || 0x80 || Table with Addresses || 32*4
|-
|-
| 0x9A || 0x6 || Padding || - || || Not parsed/ignored on SW (only used on SW2/SW3)
| ------ || ------ || Data (not parsed on SW) || -
|-
|-
|}
|}
Line 462: Line 466:


=== External commands ===
=== External commands ===
<!-- Im wondering if there is some easy way to indicate in wiki what means each byte
*Permission
** 0x00008096 = ?
** 0x000080D5 = ?
** 0x000080D6 = ?
** 0x0000809A = ?
** 0x000080DA = ?
** 0x0000C0D5 = ?
** 0x0000C0D7 = ?
** 0x0000C0DF = ?
** 0x0000C0EF = ?
** 0x0000C0FF = ?
-->


{| class="wikitable sortable"
{| class="wikitable"
! Address              !! Command      !! Subcommand  !! Permission   
! Address              !! Command      !! Subcommand  !! Permission   
|-
|-
Line 615: Line 606:
|-
|-
|duty ||    0x9B23 || 0xDD0C0000 || get/getmin/getmax/getinimin/getinimax<br>set/setmin/setmax/setinimin/setinimax ||  Fan speed
|duty ||    0x9B23 || 0xDD0C0000 || get/getmin/getmax/getinimin/getinimax<br>set/setmin/setmax/setinimin/setinimax ||  Fan speed
<pre>
Usage: duty get fanconNo
    ex. duty get 1
</pre>
|-
|-
|dve || 0x2995D ||  0xDC0C0000 || help/set/save/show || DVE chip parameters
|dve || 0x2995D ||  0xDC0C0000 || help/set/save/show || DVE chip parameters
Line 636: Line 623:
|fanconautotype || 0xC075 || 0xDD0C0000|| - || Does nothing
|fanconautotype || 0xC075 || 0xDD0C0000|| - || Does nothing
|-
|-
|fanconmode || 0xBF35 || 0xDD0C0000 || get || Fan control mode (0=Full, 1=VaryTable & VaryServo, 2=Manual, 3=Minimun)
|fanconmode || 0xBF35 || 0xDD0C0000 || get || Fan control mode
<pre>
Usage: fanconmode get fanconNo
    ex. fanconmode get 1
</pre>
|-
|-
|fanconpolicy ||  0xBBC9 || 0xDD0C0000 || get/set/getini/setini || Fan control policy (0=Full, 1=Auto, 2=Manual)
|fanconpolicy ||  0xBBC9 || 0xDD0C0000 || get/set/getini/setini || Fan control policy
<pre>
Usage: fanconpolicy get fanconNo
    ex. fanconpolicy get 1
</pre>
|-
|-
|fandiag || 0x1E91B ||  0xF0000000|| - || Fan Diagnostic (test)
|fandiag || 0x1E91B ||  0xF0000000|| - || Fan Diagnostic (test)
Line 656: Line 635:
|fanservo || 0xBF29 || 0xDD0C0000|| - || Does nothing
|fanservo || 0xBF29 || 0xDD0C0000|| - || Does nothing
|-
|-
|fantbl ||  0xC087 || 0xDD0C0000 || get/set/getini/setini/gettable/settable/getselect/setselect ||  Fan table: get/set - currently in RAM/in use ; getini/setini - stored in EEPROM (!! in COK the chksum does not updated automatically !!)
|fantbl ||  0xC087 || 0xDD0C0000 || get/set/getini/setini/gettable/settable ||  Fan table: get/set - currently in RAM/in use ; getini/setini - stored in EEPROM (!! in COK the chksum does not updated automatically !!)
<pre>
<pre>
fantbl - Fan Table set/get command
  Usage: fantbl set fanconNo pNo tempD tempU duty
  Usage: fantbl set fanconNo pNo tempD tempU duty
     ex. fantbl set 0 p1 0x1400 0x1E40 0xC0
     ex. fantbl set 0 p1 0x1400 0x1E40 0xC0
Line 705: Line 685:
|hversion || 0x2422F ||  0xDD0C0000|| - || Displays [[Platform ID]]
|hversion || 0x2422F ||  0xDD0C0000|| - || Displays [[Platform ID]]
|-
|-
|hyst ||    0xAEF5 || 0xDD0C0000 || get/set/getini/setini || This value is stored inside the Thermal Config area, every thermal sensor has their own. See: [https://en.wikipedia.org/wiki/Hysteresis#Control_systems Hysteresis]
|hyst ||    0xAEF5 || 0xDD0C0000 || get/set/getini/setini || This value is stored inside the Thermal Config area, every thermal sensor have his own<!--https://en.wikipedia.org/wiki/Hysteresis#Control_systems ?-->
<pre>
Usage: hyst set TZoneNo temp
    ex. hyst set 1 0x0200
    ex. hyst set 1 2.0
Usage: hyst get TZoneNo
    ex. hyst get 14
</pre>
|-
|-
|lasterrlog || 0xB7FF || 0xDD0C0000|| - || Last error from log
|lasterrlog || 0xB7FF || 0xDD0C0000|| - || Last error from log
Line 792: Line 765:
|task ||    0x15005 ||  0xDD0C0000|| - || Print tasks
|task ||    0x15005 ||  0xDD0C0000|| - || Print tasks
|-
|-
|thalttest || 0xD813 || 0x000F0000|| - || Thermal Alert Test ? (boes nothing), maybe is needed to do it while GameOS is working to trigger the XMB overheat warning message and the power off sequence
|thalttest || 0xD813 || 0x000F0000|| - || Does nothing
|-
|-
|thermfatalmode || 0xCA3B || 0xDD0C0000 || canboot/cannotboot || Set boot mode after a thermal alert ?
|thermfatalmode || 0xCA3B || 0xDD0C0000 || canboot/cannotboot || Set thermal boot mode
|-
|-
|therrclr || 0xD3E5 || 0xDD0C0000|| - || Clears the thermal alert register ?
|therrclr || 0xD3E5 || 0xDD0C0000|| - || Thermal register clear
|-
|-
|thrm ||    0xBF1D || 0xDD0C0000|| - || Does nothing
|thrm ||    0xBF1D || 0xDD0C0000|| - || Does nothing
|-
|-
|tmp ||0xAA69 || 0xDD0C0000 || [tzone] ||  Get temperature
|tmp ||0xAA69 || 0xDD0C0000 || [zone] ||  Get temperature
<pre>
Usage: tmp TZoneNo
    ex. tmp 1
</pre>
|-
|-
|trace ||  0xB951 || 0xDD0C0000 || ... ||  Trace tasks (use help)
|trace ||  0xB951 || 0xDD0C0000 || ... ||  Trace tasks (use help)
Line 816: Line 785:
</pre>
</pre>
|-
|-
|trp ||0xAB2F || 0xDD0C0000 || get/set/getini/setini || This value is stored inside the Thermal Config area, every thermal sensor has their own<!-- Transient Receptor Potential ? https://en.wikipedia.org/wiki/Thermosensation -->
|trp ||0xAB2F || 0xDD0C0000 || get/set/getini/setini || This value is stored inside the Thermal Config area, every thermal sensor have his own<!-- Transient Receptor Potential ? https://en.wikipedia.org/wiki/Thermosensation -->
<pre>
Usage: trp set TZoneNo temp
    ex. trp set 2 0x5980
    ex. trp set 2 89.5
Usage: trp get TZoneNo
    ex. trp get 14
</pre>
|-
|-
|tsensor || 0xA279 || 0xDD0C0000 || [tzone] ||  Get raw temperature
|tsensor || 0xA279 || 0xDD0C0000 || [sensor] ||  Get raw temperature
<pre>
Usage: tsensor TZoneNo
    ex. tsensor 2
</pre>
|-
|-
|tshutdown || 0xB2A1 || 0xDD0C0000 || get/set/getini/setini || Thermal shutdown. This value is stored inside the Thermal Config area, every thermal sensor has their own
|tshutdown || 0xB2A1 || 0xDD0C0000 || get/set/getini/setini || Thermal shutdown. This value is stored inside the Thermal Config area, every thermal sensor have his own
<pre>
Usage: tshutdown set TZoneNo temp
    ex. tshutdown set 2 0x5A80
    ex. tshutdown set 2 90.5
Usage: tshutdown get TZoneNo
    ex. tshutdown get 14
</pre>
|-
|-
|tshutdowntime ||  0xC95D || 0xDD0C0000 || get ||  Thermal shutdown time. This value is stored inside the Thermal Config area, is a single value shared by all thermal sensors
|tshutdowntime ||  0xC95D || 0xDD0C0000 || [time] ||  Thermal shutdown time. This value is stored inside the Thermal Config area, is a single value shared by all thermal sensors
|-
|-
|tzone ||  0xB5E1 || 0xDD0C0000|| - || Shows a list of the "TZone" identifyers associated with every thermal sensor, and a short text description of them
|tzone ||  0xB5E1 || 0xDD0C0000|| - || Show thermal zones
<pre>
Example, on cytology PS3 models
> tzone
00: 1st BE Primary
01: RSX Primary
02: XDR Primary
0A: Air Intake
0F: GbE
14: SB
 
Example, on cookie old
> tzone
00: 1st BE Primary
01: RSX Primary
03: BE VR
14: SB
15: EE+GS
 
Example, on cookie new
> tzone
00: 1st BE Primary
01: RSX Primary
14: SB
 
Example, on sherwood
> tzone
# 00:1st BE Primary
# 01:RSX Primary
 
</pre>
|-
|-
|version || 0xD65F || 0xFFFF0000|| - || Syscon firmware version
|version || 0xD65F || 0xFFFF0000|| - || Syscon firmware version
Line 899: Line 820:


== Sherwood ==
== Sherwood ==
*Permission
Very similar to PS4 southbridge firmware. Only difference here is the string Playstation 3
** 0x0700 = A_AUTH
* A_AUTH = 0x0700
** 0x0B00 = B_AUTH
* B_AUTH = 0x0B00
** 0x0300 = INT (Command not available from UART interface. Can be unlocked by patching syscon firmware)
* INT    = 0x0300 (Command not available from UART interface. Can be unlocked by patching syscon firmware)
** 0x0F00 = ANY
* ANY    = 0x0F00


{| class="wikitable sortable" style="line-height:110%"
<div style="font-size:small;>
|+Sherwood Commands
<div style="float:left;">
! rowspan="2" | Command<br>lowercase/UPPERCASE !! rowspan="2" | <abbr title="Permission">Perms</abbr> !! colspan="3" | Address !! rowspan="2" | Notes
{| class="wikitable sortable"
|+SW-301
!Address!!      Command!!             Permission
|-
|0x32030||      hdmi                ||A_AUTH
|-
|0x2FB30||      tsensor              ||A_AUTH
|-
|0x2FE7F||      tmp                  ||A_AUTH
|-
|0x2FFA6||      trp                  ||A_AUTH
|-
|0x301D8||      tshutdown            ||A_AUTH
|-
|0x3041B||      tzone                ||A_AUTH
|-
|0x30482||      thrm                ||A_AUTH
|-
|0x307EF||      duty                ||A_AUTH
|-
|0x30C0D||      fanconpolicy        ||A_AUTH
|-
|0x30DF9||      fanconmode          ||A_AUTH
|-
|0x30F3B||      fantbl              ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x305F2||      hyst                ||A_AUTH
|-
|0x313EB||      powupcause          ||A_AUTH
|-
|0x31460||      syspowdown          ||A_AUTH
|-
|0x316C6||      devpm                ||A_AUTH
|-
|0x318CF||      powerstate          ||A_AUTH
|-
|0x31AC2||      nonfatalerror        ||A_AUTH
|-
|0x2F82A||      getrtc              ||INT
|-
|0x2ED2B||      help                ||A_AUTH
|-
|0x2EED7||      meminfo              ||INT
|-
|0x2EF63||      rbe                  ||INT
|-
|0x2F1FC||      DISABLEALLERASE      ||A_AUTH
|-
|0x2F281||      task                ||INT
|-
|0x2F460||      cleareep            ||INT
|-
|0x2F499||      commt                ||INT
|-
|0x2F79B||      bestat              ||A_AUTH
|-
|0x2DAC3||      bringup              ||A_AUTH
|-
|0x2DC1C||      shutdown            ||A_AUTH
|-
|0x2DC9B||      r                    ||A_AUTH
|-
|0x2DC9B||      r16                  ||A_AUTH
|-
|0x2DC9B||      r32                  ||A_AUTH
|-
|0x2E7BC||      r64                  ||A_AUTH
|-
|0x2E7BC||      r64d                ||A_AUTH
|-
|0x2E03B||      w                    ||A_AUTH
|-
|0x2E03B||      w16                  ||A_AUTH
|-
|0x2E03B||      w32                  ||A_AUTH
|-
|0x2E6C1||      w64                  ||A_AUTH
|-
|0x2E6C1||      wbe                  ||A_AUTH
|-
|0x2DAC3||      BOOT                ||A_AUTH
|-
|0x2DC1C||      HALT                ||A_AUTH
|-
|0x2DC7B||      BOOTENABLE          ||A_AUTH
|-
|0x2DC9B||      R8                  ||A_AUTH
|-
|0x2DC9B||      R16                  ||A_AUTH
|-
|0x2DC9B||      R32                  ||A_AUTH
|-
|0x2E03B||      W8                  ||A_AUTH
|-
|0x2E03B||      W16                  ||A_AUTH
|-
|0x2E03B||      W32                  ||A_AUTH
|-
|0x2E8C2||      EEP                  ||A_AUTH
|-
|0x2E9B8||      PDAREA              ||A_AUTH
|-
|0x2E9B8||      CSAREA              ||A_AUTH
|-
|0x2EC36||      portset              ||INT
|-
|0x2ECF9||      extend              ||A_AUTH
|-
|0x80D0 ||      version              ||ANY
|-
|0x812B ||      revision            ||ANY
|-
|0x8251 ||      setcmdlong          ||ANY
|-
|0x81C3 ||      VER                  ||ANY
|-
|0x8251 ||      SETCMDLONG          ||ANY
|-
|0x8356 ||      csum                ||A_AUTH
|-
|0x8555 ||      AUTH1                ||B_AUTH
|-
|0x8555 ||      AUTH2                ||B_AUTH
|-
|0x86FB ||      AUTHVER              ||ANY
|-
|0x311DA||      ERRLOG              ||ANY
|-
|0x311DA||      errlog              ||ANY
|-
|0x31C87||      powersw              ||A_AUTH
|-
|-
! SW-301 !! SW2-301 !! SW3-304
|0x31CA5||      ejectsw              ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x31CC5||      buzzduty            ||INT
|-
|0x31D24||      buzz                ||INT
|-
|0x33F98||      VID                  ||A_AUTH
|-
|0x340BF||      CID                  ||A_AUTH
|-
|0x340BF||      ECID                ||A_AUTH
|-
|0x34211||      SPU                  ||A_AUTH
|-
|0x342BC||      REV                  ||A_AUTH
|-
|0x34363||      KSV                  ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x3441B||      portscan            ||A_AUTH
|-
|0x33F46||      eepcsum              ||A_AUTH
|-
|0x346DD||      patchinfo            ||A_AUTH
|-
|0x346F3||      poll                ||INT
|-
|0x3470F||      recv                ||INT
|-
|0x3472B||      send                ||INT
|-
|0x34747||      LS                  ||INT
|-
|0x34763||      hversion            ||INT
|-
|-
| hdmi            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x32030 || 0x3D989 || 0x3E21D ||
|-                                               
| tsensor        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2FB30 || 0x3B1CF || 0x3B8F0 ||
|-                                               
| tmp            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2FE7F || 0x3B3D5 || 0x3BAF6 ||
|-                                               
| trp            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2FFA6 || 0x3B627 || 0x3BD48 ||
|-                                               
| tshutdown      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x301D8 || 0x3B645 || 0x3BD66 ||
|-                                               
| tzone          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x3041B || 0x3B663 || 0x3BD84 ||
|-                                               
| thrm            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x30482 || 0x3B6C9 || 0x3BDEA ||
|-                                               
| duty            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x307EF || 0x3B95D || 0x3C07E ||
|-                                               
| fanconpolicy    || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x30C0D || 0x3BBB9 || 0x3C2DA ||
|-                                               
| fanconmode      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x30DF9 || 0x3BD48 || 0x3C469 ||
|-                                               
| fantbl          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x30F3B || 0x3BE58 || 0x3C579 ||
|-                                               
| fanservo        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || {{cellcolors|lightgrey}} N/A ? || 0x3C07D || 0x3C79E ||
|-                                               
| fanservostat    || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || {{cellcolors|lightgrey}} N/A ? || 0x3C2E2 || 0x3CA03 ||
|-                                               
| fanservosetval  || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || {{cellcolors|lightgrey}} N/A ? || {{cellcolors|lightgrey}} N/A ? || 0x3CB6B ||
|-                                               
| hyst            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x305F2 || 0x3B7F0 || 0x3BF11 ||
|-                                               
| powupcause      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x313EB || 0x3C695 || 0x3CE8E ||
|-                                               
| syspowdown      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x31460 || 0x3C70A || 0x3CF03 ||
|-                                               
| devpm          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x316C6 || 0x3C98A || 0x3D183 ||
|-                                               
| powerstate      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x318CF || 0x3CB93 || 0x3D38C ||
|-                                               
| nonfatalerror  || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x31AC2 || 0x3CDF0 || 0x3D5E9 ||
|-                                               
| getrtc          || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2F82A || 0x3AD68 || 0x3B489 ||
|-                                               
| help            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2ED2B || 0x3A280 || 0x3A9A1 ||
|-                                               
| meminfo        || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2EED7 || 0x3A42C || 0x3AB4D ||
|-                                               
| rbe            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2EF63 || 0x3A4B8 || 0x3ABD9 ||
|-                                               
| DISABLEALLERASE || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2F1FC || 0x3A751 || 0x3AE72 ||
|-                                               
| task            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2F281 || 0x3A7D6 || 0x3AEF7 ||
|-                                               
| cleareep        || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2F460 || 0x3A99E || 0x3B0BF ||
|-                                               
| commt          || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2F499 || 0x3A9D7 || 0x3B0F8 ||
|-                                               
| bestat          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2F79B || 0x3ACD9 || 0x3B3FA ||
|-                                               
| bringup / BOOT  || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2DAC3 || 0x39018 || 0x39739 ||
|-                                               
| shutdown / HALT || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2DC1C || 0x39171 || 0x39892 ||
|-                                               
| r / R8<br>r16 / R16<br>r32 / R32          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2DC9B || 0x391F0 || 0x39911 ||
|-                                               
| r64<br>r64d    || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2E7BC || 0x39D11 || 0x3A432 ||
|-                                               
| w / W8<br>w16 / W16<br>w32 / W32          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2E03B || 0x39590 || 0x39CB1 ||
|-                                               
| w64<br>wbe      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2E6C1 || 0x39C16 || 0x3A337 ||
|-                                               
| BOOTENABLE      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2DC7B || 0x391D0 || 0x398F1 ||
|-                                               
| EEP            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2E8C2 || 0x39E17 || 0x3A538 ||
|-                                               
| PDAREA<br>CSAREA          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2E9B8 || 0x39F0D || 0x3A62E ||
|-                                               
| portset        || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x2EC36 || 0x3A18B || 0x3A8AC ||
|-                                               
| extend          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x2ECF9 || 0x3A24E || 0x3A96F ||
|-                                               
| version        || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x080D0  || 0x0A0F1  || 0x0A0FF  ||
|-                                               
| revision        || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x0812B  || 0x0A14C  || 0x0A15A  ||
|-                                               
| setcmdlong / SETCMDLONG || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x08251  || 0x0A272  || 0x0A280  ||
|-                                               
| VER            || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x081C3  || 0x0A1E4  || 0x0A1F2  ||
|-                                               
| csum            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x08356  || 0x0A37B  || 0x0A389  ||
|-                                               
| AUTH1<br>AUTH2  || {{cellcolors|#ffffcc}} <abbr title="0x0B00">B_AUTH</abbr> || 0x08555  || 0x0A5AF  || 0x0A5BD  ||
|-                                               
| AUTHVER        || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x086FB  || 0x0A755  || 0x0A763  ||
|-                                               
| errlog / ERRLOG || {{cellcolors|#ddddff}} <abbr title="0x0F00">ANY</abbr> || 0x311DA || 0x3C484 || 0x3CC7D ||
|-                                               
| powersw        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x31C87 || 0x3D005 || 0x3D7FE ||
|-                                               
| ejectsw        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x31CA5 || 0x3D023 || 0x3D81C ||
|-                                               
| doorsw          || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || {{cellcolors|lightgrey}} N/A ? || {{cellcolors|lightgrey}} N/A ? || 0x3D83C ||
|-                                               
| buzzduty        || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x31CC5 || 0x3D043 || 0x3D8D7 ||
|-                                               
| buzz            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x31D24 || 0x3D0A2 || 0x3D936 ||
|-                                               
| VID            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x33F98 || 0x3FC43 || 0x404D8 ||
|-                                               
| CID<br>ECID            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x340BF || 0x3FD6A || 0x405FF ||
|-                                               
| SPU            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x34211 || 0x3FEBC || 0x40751 ||
|-                                               
| REV            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x342BC || 0x3FF67 || 0x407FC ||
|-                                               
| KSV            || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x34363 || 0x4000E || 0x408A3 ||
|-                                               
| MOUNTINFO      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || {{cellcolors|lightgrey}} N/A ? || {{cellcolors|lightgrey}} N/A ? || 0x4095B ||
|-                                               
| portscan        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x3441B || 0x400C6 || 0x40A2A ||
|-                                               
| eepcsum        || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x33F46 || 0x3FBF1 || 0x40486 ||
|-                                               
| patchinfo      || {{cellcolors|#ccffcc}} <abbr title="0x0700">A_AUTH</abbr> || 0x346DD || 0x40388 || 0x40CF2 ||
|-                                               
| poll            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x346F3 || 0x4039E || 0x40D08 ||
|-                                               
| recv            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x3470F || 0x403BA || 0x40D24 ||
|-                                               
| send            || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x3472B || 0x403D6 || 0x40D40 ||
|-                                               
| LS              || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x34747 || 0x403F2 || 0x40D5C ||
|-                                               
| hversion        || {{cellcolors|#ffaaaa}} <abbr title="0x0300">INT</abbr> || 0x34763 || 0x4040E || 0x40D78 ||
|}
|}
</div>
<div style="float:left;">.
</div>
<div style="float:left;">
{| class="wikitable sortable"
|+SW2-301
!Address!!      Command              !!Permission
|-
|0x3D989||      hdmi                ||A_AUTH
|-
|0x3B1CF||      tsensor              ||A_AUTH
|-
|0x3B3D5||      tmp                  ||A_AUTH
|-
|0x3B627||      trp                  ||A_AUTH
|-
|0x3B645||      tshutdown            ||A_AUTH
|-
|0x3B663||      tzone                ||A_AUTH
|-
|0x3B6C9||      thrm                ||A_AUTH
|-
|0x3B95D||      duty                ||A_AUTH
|-
|0x3BBB9||      fanconpolicy        ||A_AUTH
|-
|0x3BD48||      fanconmode          ||A_AUTH
|-
|0x3BE58||      fantbl              ||A_AUTH
|-
|0x3C07D||      fanservo            ||A_AUTH
|-
|0x3C2E2||      fanservostat        ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x3B7F0||      hyst                ||A_AUTH
|-
|0x3C695||      powupcause          ||A_AUTH
|-
|0x3C70A||      syspowdown          ||A_AUTH
|-
|0x3C98A||      devpm                ||A_AUTH
|-
|0x3CB93||      powerstate          ||A_AUTH
|-
|0x3CDF0||      nonfatalerror        ||A_AUTH
|-
|0x3AD68||      getrtc              ||INT
|-
|0x3A280||      help                ||A_AUTH
|-
|0x3A42C||      meminfo              ||INT
|-
|0x3A4B8||      rbe                  ||INT
|-
|0x3A751||      DISABLEALLERASE      ||A_AUTH
|-
|0x3A7D6||      task                ||INT
|-
|0x3A99E||      cleareep            ||INT
|-
|0x3A9D7||      commt                ||INT
|-
|0x3ACD9||      bestat              ||A_AUTH
|-
|0x39018||      bringup              ||A_AUTH
|-
|0x39171||      shutdown            ||A_AUTH
|-
|0x391F0||      r                    ||A_AUTH
|-
|0x391F0||      r16                  ||A_AUTH
|-
|0x391F0||      r32                  ||A_AUTH
|-
|0x39D11||      r64                  ||A_AUTH
|-
|0x39D11||      r64d                ||A_AUTH
|-
|0x39590||      w                    ||A_AUTH
|-
|0x39590||      w16                  ||A_AUTH
|-
|0x39590||      w32                  ||A_AUTH
|-
|0x39C16||      w64                  ||A_AUTH
|-
|0x39C16||      wbe                  ||A_AUTH
|-
|0x39018||      BOOT                ||A_AUTH
|-
|0x39171||      HALT                ||A_AUTH
|-
|0x391D0||      BOOTENABLE          ||A_AUTH
|-
|0x391F0||      R8                  ||A_AUTH
|-
|0x391F0||      R16                  ||A_AUTH
|-
|0x391F0||      R32                  ||A_AUTH
|-
|0x39590||      W8                  ||A_AUTH
|-
|0x39590||      W16                  ||A_AUTH
|-
|0x39590||      W32                  ||A_AUTH
|-
|0x39E17||      EEP                  ||A_AUTH
|-
|0x39F0D||      PDAREA              ||A_AUTH
|-
|0x39F0D||      CSAREA              ||A_AUTH
|-
|0x3A18B||      portset              ||INT
|-
|0x3A24E||      extend              ||A_AUTH
|-
|0xA0F1 ||      version              ||ANY
|-
|0xA14C ||      revision            ||ANY
|-
|0xA272 ||      setcmdlong          ||ANY
|-
|0xA1E4 ||      VER                  ||ANY
|-
|0xA272 ||      SETCMDLONG          ||ANY
|-
|0xA37B ||      csum                ||A_AUTH
|-
|0xA5AF ||      AUTH1                ||B_AUTH
|-
|0xA5AF ||      AUTH2                ||B_AUTH
|-
|0xA755 ||      AUTHVER              ||ANY
|-
|0x3C484||      ERRLOG              ||ANY
|-
|0x3C484||      errlog              ||ANY
|-
|0x3D005||      powersw              ||A_AUTH
|-
|0x3D023||      ejectsw              ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x3D043||      buzzduty            ||INT
|-
|0x3D0A2||      buzz                ||INT
|-
|0x3FC43||      VID                  ||A_AUTH
|-
|0x3FD6A||      CID                  ||A_AUTH
|-
|0x3FD6A||      ECID                ||A_AUTH
|-
|0x3FEBC||      SPU                  ||A_AUTH
|-
|0x3FF67||      REV                  ||A_AUTH
|-
|0x4000E||      KSV                  ||A_AUTH
|-{{cellcolors|lightgrey}}
| ||                                || N/A ?
|-
|0x400C6||      portscan            ||A_AUTH
|-
|0x3FBF1||      eepcsum              ||A_AUTH
|-
|0x40388||      patchinfo            ||A_AUTH
|-
|0x4039E||      poll                ||INT
|-
|0x403BA||      recv                ||INT
|-
|0x403D6||      send                ||INT
|-
|0x403F2||      LS                  ||INT
|-
|0x4040E||      hversion            ||INT
|-
|}
</div>
<div style="float:left;">.
</div>
<div style="float:left;">
{| class="wikitable sortable"
|+SW3-304
! Address!!      Command!!              Permission
|-
|0x3E21D||      hdmi                ||A_AUTH
|-
|0x3B8F0||      tsensor              ||A_AUTH
|-
|0x3BAF6||      tmp                  ||A_AUTH
|-
|0x3BD48||      trp                  ||A_AUTH
|-
|0x3BD66||      tshutdown            ||A_AUTH
|-
|0x3BD84||      tzone                ||A_AUTH
|-
|0x3BDEA||      thrm                ||A_AUTH
|-
|0x3C07E||      duty                ||A_AUTH
|-
|0x3C2DA||      fanconpolicy        ||A_AUTH
|-
|0x3C469||      fanconmode          ||A_AUTH
|-
|0x3C579||      fantbl              ||A_AUTH
|-
|0x3C79E||      fanservo            ||A_AUTH
|-
|0x3CA03||      fanservostat        ||A_AUTH
|-
|0x3CB6B||      fanservosetval      ||A_AUTH
|-
|0x3BF11||      hyst                ||A_AUTH
|-
|0x3CE8E||      powupcause          ||A_AUTH
|-
|0x3CF03||      syspowdown          ||A_AUTH
|-
|0x3D183||      devpm                ||A_AUTH
|-
|0x3D38C||      powerstate          ||A_AUTH
|-
|0x3D5E9||      nonfatalerror        ||A_AUTH
|-
|0x3B489||      getrtc              ||INT
|-
|0x3A9A1||      help                ||A_AUTH
|-
|0x3AB4D||      meminfo              ||INT
|-
|0x3ABD9||      rbe                  ||INT
|-
|0x3AE72||      DISABLEALLERASE      ||A_AUTH
|-
|0x3AEF7||      task                ||INT
|-
|0x3B0BF||      cleareep            ||INT
|-
|0x3B0F8||      commt                ||INT
|-
|0x3B3FA||      bestat              ||A_AUTH
|-
|0x39739||      bringup              ||A_AUTH
|-
|0x39892||      shutdown            ||A_AUTH
|-
|0x39911||      r                    ||A_AUTH
|-
|0x39911||      r16                  ||A_AUTH
|-
|0x39911||      r32                  ||A_AUTH
|-
|0x3A432||      r64                  ||A_AUTH
|-
|0x3A432||      r64d                ||A_AUTH
|-
|0x39CB1||      w                    ||A_AUTH
|-
|0x39CB1||      w16                  ||A_AUTH
|-
|0x39CB1||      w32                  ||A_AUTH
|-
|0x3A337||      w64                  ||A_AUTH
|-
|0x3A337||      wbe                  ||A_AUTH
|-
|0x39739||      BOOT                ||A_AUTH
|-
|0x39892||      HALT                ||A_AUTH
|-
|0x398F1||      BOOTENABLE          ||A_AUTH
|-
|0x39911||      R8                  ||A_AUTH
|-
|0x39911||      R16                  ||A_AUTH
|-
|0x39911||      R32                  ||A_AUTH
|-
|0x39CB1||      W8                  ||A_AUTH
|-
|0x39CB1||      W16                  ||A_AUTH
|-
|0x39CB1||      W32                  ||A_AUTH
|-
|0x3A538||      EEP                  ||A_AUTH
|-
|0x3A62E||      PDAREA              ||A_AUTH
|-
|0x3A62E||      CSAREA              ||A_AUTH
|-
|0x3A8AC||      portset              ||INT
|-
|0x3A96F||      extend              ||A_AUTH
|-
|0xA0FF ||      version              ||ANY
|-
|0xA15A ||      revision            ||ANY
|-
|0xA280 ||      setcmdlong          ||ANY
|-
|0xA1F2 ||      VER                  ||ANY
|-
|0xA280 ||      SETCMDLONG          ||ANY
|-
|0xA389 ||      csum                ||A_AUTH
|-
|0xA5BD ||      AUTH1                ||B_AUTH
|-
|0xA5BD ||      AUTH2                ||B_AUTH
|-
|0xA763 ||      AUTHVER              ||ANY
|-
|0x3CC7D||      ERRLOG              ||ANY
|-
|0x3CC7D||      errlog              ||ANY
|-
|0x3D7FE||      powersw              ||A_AUTH
|-
|0x3D81C||      ejectsw              ||A_AUTH
|-
|0x3D83C||      doorsw              ||A_AUTH
|-
|0x3D8D7||      buzzduty            ||INT
|-
|0x3D936||      buzz                ||INT
|-
|0x404D8||      VID                  ||A_AUTH
|-
|0x405FF||      CID                  ||A_AUTH
|-
|0x405FF||      ECID                ||A_AUTH
|-
|0x40751||      SPU                  ||A_AUTH
|-
|0x407FC||      REV                  ||A_AUTH
|-
|0x408A3||      KSV                  ||A_AUTH
|-
|0x4095B||      MOUNTINFO            ||A_AUTH
|-
|0x40A2A||      portscan            ||A_AUTH
|-
|0x40486||      eepcsum              ||A_AUTH
|-
|0x40CF2||      patchinfo            ||A_AUTH
|-
|0x40D08||      poll                ||INT
|-
|0x40D24||      recv                ||INT
|-
|0x40D40||      send                ||INT
|-
|0x40D5C||      LS                  ||INT
|-
|0x40D78||      hversion            ||INT
|}
</div>
</div>
<br style="clear: both;" />


= Access to Syscon from Linux =
= Access to Syscon from Linux =
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)