Hi there..
Here comes my initial release of a NOR flasher soft for the PS3 called "NORway". I know, there are other "WIP" projects, but I got a little impatient, so I've decided to create my own solution. It's a port of "noralizer" by marcan, a pretty good working NOR flasher implementation for another FPGA board.
Anyway, here's the README.txt, which should explain everything:
NORway v0.5
This project has been ported for the Teensy++ 2.0 from the original NOR flasher tool ("noralizer" by Hector Martin "marcan" <hector @marcan soft.com>) that was used to flash AsbestOS onto the demo PS3 at 27C3, and for experimentation.
Contents:
\teensy\NORway.avrsln - Source code for the Teensy++ 2.0 (AVR Studio 5.0)
\teensy\default\NORway.hex - Compiled hex-file for the Teensy++ 2.0 (AT90USB1286)
\hwinstall\install-*.jpg - Some pics of how I've mounted the Teensy (CECH-2504A/B)
\hwinstall\nor_testpoints.png - Connection diagram of the NOR testpoints (CECH-2504A/B)
\hwinstall\teensy.jpg - Teensy connection points (see chart below)
\serial_install.exe - Teensy serial drivers for Windows
\norpatch.exe - Small tool to verify content of NOR dump (recognizes any OFW),
replace ros0/ros1 with new core os (.NET 2.0 required)
\NORway.py - PC Python client
\changes.txt - Version history
\perf-test.txt - Performance tests for the different writing modes
\README.txt - This file
Hardware connections (see "\hwinstall\nor_testpoints.png" + "\hwinstall\teensy.jpg"):
PS3 Teensy
A0-7 PF0-7
A8-15 PA0-7
A16-22 PB0-6
D0-7 PD0-7
D8-15 PC0-7
CE# PE0
OE# PE1
RESET# PE4
WE# PE5
RY/BY# PE6
TRISTATE# PE7
GND GND
--------------------------------------------
Powering option 1 (voltage regulator, Teensy powered by USB):
Install the 3.3V voltage regulator available at pjrc.com! 5V trace has to be cut and 3V pads have to be shorted!
Please refer to https://www.pjrc.com/teensy/3volt.html
DON'T CONNECT THE VCC SOLDER PADS TO ANYTHING!
--------------------------------------------
--------------------------------------------
Powering option 2 (external power, Teensy powered by console):
Connect Teensy's VCC solder pad to PS3's 3.3V supply (see connection diagram). 5V trace has to be cut and
3V pads have to be shorted!
Please refer to https://www.pjrc.com/teensy/3volt.html
DON'T INSTALL VOLTAGE REGULATOR!
--------------------------------------------
Connection diagrams for other boards can be found at:
http://ps3devwiki.com/index.php?title=Hardware_flashing
Prerequisites for Windows:
Python 2.7.2 (http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi)
pyserial 2.5 (http://pypi.python.org/packages/any/...-2.5.win32.exe)
Usage:
Install Python + pyserial (see "Prerequisites for Windows"). Install drivers. Connect Teensy directly to your PC (not an USB hub, might cause trouble). Flash Teensy with "\teensy\default\NORway.hex" and reset it after completion. Start Windows' "Device Manager", expand the "Ports (COM & LPT)" node, you should see something like "USB Serial (Communication Class, Abstract Control Model) (COM4)". This tells you that "COM4" (or whatever shows up) is the COM port used by Teensy.
At the command prompt enter "NORway.py" to display help.
Procedure to dump your flash:
- PS3 is turned off
- At the command prompt enter:
NORway.py <your com port>
- Turn on your PS3, it shouldn't boot
- At the command prompt enter:
NORway.py <your com port> dump flash.bin
- When dumping is finished enter:
NORway.py <your com port> release
- Power off your PS3 (disconnect Teensy if PS3 doesn't boot when restarted)
Dumping takes about 1 minute. A file "flash.bin" with a size of exactly 16 MB (16.777.216 bytes) has been created in your current directory.
Writing a complete flash using the "write" command takes about 7 minutes.
IMPORTANT:
Before you flash your PS3 with anything new, make sure that the content of your dump is correct (use the supplied tool "norpatch.exe", it's able to recognize any OFW core os). And keep your original dump in a safe place. You might need it.
Support thread:
http://www.ps3hax.net/showthread.php?t=25408
More information available at (thanks to eussNL and all contributors for maintaining this great wiki!):
http://ps3devwiki.com/wiki/Teensy_2.0%2B%2B
http://ps3devwiki.com/wiki/Hardware_flashing
It's tested on Win7 x86/x64, but should also work just fine on any other x86/x64 Windows >=XP. Basically it should also work on Linux and OSX, but I didn't test. If you're running Linux/OSX, you probably know what to do. ;-) Serial drivers are not required for Linux/OSX.
Thanks to "marcan" for the original implementation.
Thanks to "CrackMyDay" for code optimizations and his Samsung tutorial!
check this out if you run into troubles (last resort):
http://www.ps3hax.net/showthread.php...070#post284070
Thanks to everyone else for contributing and beta testing!
-- judges (judges@eEcho.com)
|
PS: I've already managed to downgrade my OFW 3.61 to CFW 3.55. There're minor things to rule out, but expect a downgrade tutorial coming soon..
PPS: Thanks to defyboy for the original idea of using a Teensy for flashing!
Update 28th July, 2011:
v0.2 released! Documentation updated to include the required 3.3V voltage regulator plus Teensy clock rate changed to 8 MHz!
Update 9th August, 2011:
v0.3 released! Major performance improvements!
Update 30th March, 2012:
v0.4 released! See "changes.txt"!
Update 23rd July, 2012:
v0.5 released! See "changes.txt"!
Source repository: https://github.com/hjudges/NORway
Latest beta: https://github.com/hjudges/NORway/zipball/master
Download (v0.5): https://github.com/downloads/hjudges...ORway_v0.5.zip
Mirror: http://www.mediafire.com/download.php?12zv68gocc5q653
Download (psgrade/service jig for keeping Teensy installed in PS3): https://github.com/downloads/hjudges..._2.0_noLED.zip
Mirror: http://www.mediafire.com/download.php?063bv7wj9378mek
Download (NANDway Signal Booster Edition): http://www.mediafire.com/?d45whs7elw59iuc
Post: http://www.ps3hax.net/showthread.php...130#post576130