Editing PRE-IPL

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 352: Line 352:
0xBC100058 |= 0x00800000; // Enable GPIO clock
0xBC100058 |= 0x00800000; // Enable GPIO clock
0xBC100050 |= 0x0000608E; // Enable bus clock for AW (which is GE) (RegA, RegB, Edram), KIRK, NAND (EMCSM) and APB (for syscon?)
0xBC100050 |= 0x0000608E; // Enable bus clock for AW (which is GE) (RegA, RegB, Edram), KIRK, NAND (EMCSM) and APB (for syscon?)
0xBC10004C &= ~0x408;     // Clear reset for AW and KIRK
0xBC10004C &= ~0x408; // Clear reset for AW and KIRK
0xBC100078 |= 2;         // IO enable NAND (EMCSM)
0xBC100078 |= 2; // IO enable NAND (EMCSM)
0xBE240000 &= ~0x10;     // Disable GPIO pin 4 output
0xBE240000 &= ~0x10; // Disable GPIO pin 4 output
0xBE240040 |= 0x10;       // Enable GPIO pin 4 input
0xBE240040 |= 0x10; // Enable GPIO pin 4 input
sleep(1);                 // Wait a bit
sleep(1); // Wait a bit
0xBD500010 = 1;           // Initialize GE Edram
0xBD500010 = 1; // Initialize GE Edram
while (*0xBD500010 & 1 != 0) {} // Wait for the Edram to be initialized
while (*0xBD500010 & 1 != 0) {} // Wait for the Edram to be initialized
0xBD500040 = 1;           // Finish initializing GE Edram
0xBD500040 = 1; // Finish initializing GE Edram


if (*0xBC100068 >> 16 != 0) { // Unknown bits
if (*0xBC100068 >> 16 != 0) { // Unknown bits
Please note that all contributions to PSP Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PSP 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)