====== EEPROM External Read ====== ===== Information ===== * PiPROM ((https://github.com/grimdoomer/PiPROM)) * Pulls EEPROM data from the chip on the motherboard using a Raspberry Pi * This was tested on 2017-08-16 with a SOIC8 Pomona 5250 clip on a v1.6 Xbox * This can all be avoided by backing up the EEPROM when softmodding ((seriously, don't ignore the warnings like I did and then need to spend 6+ hours trying to fix a mistake that could have easily been reverted and fixed in minutes with an EEPROM backup :p)) ===== Prerequisites ===== * [[Distros:Raspbian]] ===== Enable I2C ===== **** sudo raspi-config ===== Test I2C Reading ===== * Requires the chip clip to be connected, and the Xbox powered on sudo i2cdetect -y 1 ===== Broadcom BCM 2835 C Library ===== ==== Download and Extract Source ==== * Check http://www.airspayce.com/mikem/bcm2835 for newer versions and change the URL as-needed mkdir -p ~/'PiPROM' && cd ~/'PiPROM' && wget -O ~/'PiPROM/bcm2835.tar.gz' 'http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz' && cd ~/'PiPROM' && tar zxvf ~/'PiPROM/bcm2835.tar.gz' && sync ==== Compile ==== **** cd ~/'PiPROM/bcm2835-'* && ./configure && make && sudo make check && sudo make install && sync ===== PiPROM ===== ==== Download Source ==== **** git clone -b 'master' 'https://github.com/grimdoomer/PiPROM.git' ~/'PiPROM/src' --depth 1 ==== Compile ==== * ''p2'' is a [[https://www.raspberrypi.org/products/raspberry-pi-2-model-b/ | Raspberry Pi 2 Model B]] cd ~/'PiPROM/src' && make p2 ==== Read EEPROM ==== * Requires the chip clip to be connected, and the Xbox powered on mkdir -p ~/'PiPROM/eeprom' && sudo ~/'PiPROM/src/PiPROM.a' -r ~/'PiPROM/eeprom/eeprom.bin'