Editing Hard Drive
Jump to navigation
Jump to search
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 2: | Line 2: | ||
Connecting a hard drive to the PS2 requires a [[Network Adaptor]]. | Connecting a hard drive to the PS2 requires a [[Network Adaptor]]. | ||
All official hard drives run special firmware, which implements some additional proprietary ATA-commands | All official hard drives run special firmware, which implements some additional proprietary ATA-commands. Thus, official software requires official Sony PS2 hard drives. Homebrew software such as OPL does not require any of the proprietary commands, which means that a generic hard drive can be used as well for this purpose. | ||
The [[PSX]]'s internal hard drive implements the same proprietary ATA-commands, which are required for the console to boot. That's why the PSX's hard drive can only be replaced by another PSX's hard drive or one of the official Sony PS2 hard drives (which however only have a capacity of 40 GB, vs. 160 GB or 250 GB in the PSX). ''Note: DESR-x500 and DESR-x700 require the DVR-partition to boot. Thus, these consoles can NOT boot from a 40 GB PS2 drive!'' | The [[PSX]]'s internal hard drive implements the same proprietary ATA-commands, which are required for the console to boot. That's why the PSX's hard drive can only be replaced by another PSX's hard drive or one of the official Sony PS2 hard drives (which however only have a capacity of 40 GB, vs. 160 GB or 250 GB in the PSX). ''Note: DESR-x500 and DESR-x700 require the DVR-partition to boot. Thus, these consoles can NOT boot from a 40 GB PS2 drive!'' | ||
For external hard drives (used with early SCPH-1X000 consoles), a special expandable vertical stand (SCPH-10220) was available separately, which allows the external hard drive to be placed vertically next to the vertical PS2 console. | For external hard drives (used with early SCPH-1X000 consoles), a special expandable vertical stand (SCPH-10220) was available separately, which allows the external hard drive to be placed vertically next to the vertical PS2 console. | ||
Official PS2 software does not support 48-bit LBA, so drive size is generally limited to 128 GiB. In practice, this doesn't matter much, since the only drives supported by official software are the official drives sold by | Official PS2 software does not support 48-bit LBA, so drive size is generally limited to 128 GiB. In practice, this doesn't matter much, since the only drives supported by official software are the official drives sold by sony with their firmware customizations, which are all 40 GB in size. | ||
Most homebrew software supports 48-bit LBA, so this isn't an issue here. | Most homebrew software supports 48-bit LBA, so this isn't an issue here. | ||
Line 24: | Line 22: | ||
=== SCPH-20401 === | === SCPH-20401 === | ||
* Internal hard drive for use with an expansion bay type Network Adaptor (SCPH- | * Internal hard drive for use with an expansion bay type Network Adaptor (SCPH-1025, SCPH-10281, SCPH-10350) on any console that has the expansion bay (SCPH-3XXXX or SCPH-5XXXX) | ||
* Comes with mounting brackets preinstalled (bracket type depends on height of the actual OEM drive) | * Comes with mounting brackets preinstalled (bracket type depends on height of the actual OEM drive) | ||
* Power is provided by the console through the Network Adaptor | * Power is provided by the console through the Network Adaptor | ||
* Capacity: 40 GB | * Capacity: 40 GB | ||
== OEM drives used == | == OEM drives used == | ||
Line 36: | Line 31: | ||
''For PSX hard drives, see [[PSX#Hard_Drive|PSX Hard drives]]''<br/> | ''For PSX hard drives, see [[PSX#Hard_Drive|PSX Hard drives]]''<br/> | ||
All official PS2 hard drives are 40 GB 3.5 inch IDE/P-ATA drives. They are all rebranded to Sony SCPH-20401, including those used in the SCPH-20400 external hard drive assembly for early PS2 consoles with PCMCIA slot | All official PS2 hard drives are 40 GB 3.5 inch IDE/P-ATA drives. They are all rebranded to Sony SCPH-20401, including those used in the SCPH-20400 external hard drive assembly for early PS2 consoles with PCMCIA slot. | ||
* IBM "DeskStar" DTLA-305040 (standard height bracket) | * IBM "DeskStar" DTLA-305040 (standard height bracket) | ||
Line 45: | Line 40: | ||
== Sony custom ATA commands == | == Sony custom ATA commands == | ||
The firmware of official PS2/PSX hard drives | The firmware of official PS2/PSX hard drives supports the following non-standard/vendor-specific ATA commands: | ||
<pre> | <pre> | ||
enum ATA_C_CODES { | enum ATA_C_CODES { | ||
//left out standard commands | //left out standard commands | ||
//this is the only vendor specific opcode used. other SCE non-standard commands override standard commands, see below. | |||
ATA_C_SCE_SECURITY_CONTROL = 0x8e, | ATA_C_SCE_SECURITY_CONTROL = 0x8e, | ||
}; | }; | ||
enum ATA_SCE_SECURITY_CODES { | enum ATA_SCE_SECURITY_CODES { | ||
//These commands may override standard ATA commands that use the same opcodes | |||
ATA_SCE_IDENTIFY_DRIVE = 0xec, | ATA_SCE_IDENTIFY_DRIVE = 0xec, | ||
Line 65: | Line 62: | ||
};</pre> | };</pre> | ||
''Source: [https://github.com/ps2dev/ps2sdk/blob/master/common/include/atahw.h ps2sdk/common/include/atahw.h]'' | ''Source: [https://github.com/ps2dev/ps2sdk/blob/master/common/include/atahw.h ps2sdk/common/include/atahw.h]'' | ||
== Bundles including the hard drive == | == Bundles including the hard drive == | ||
Line 190: | Line 127: | ||
* Contains (incomplete, WIP): | * Contains (incomplete, WIP): | ||
** Internal hard drive 40 GB with mounting brackets (SCPH-20401), pre-formatted for Linux | ** Internal hard drive 40 GB with mounting brackets (SCPH-20401), pre-formatted for Linux | ||
** Network adapter, Ethernet-only version | ** Network adapter, Ethernet-only version, | ||
** USB mouse (SCPH-10230) | ** USB mouse (SCPH-10230) | ||
** USB keyboard, US (SCPH-10240 E) | ** USB keyboard, US (SCPH-10240 E) | ||
=== Europe === | === Europe === | ||
Line 200: | Line 136: | ||
==== Linux kit ==== | ==== Linux kit ==== | ||
==== University Development Kit ==== | ==== University Development Kit ==== |