Philipp's Computing Blog

Success is about speed and efficiency

Update the Firmware of an OCZ Agility 3 SSD via the Linux Command Line

Boot a Linux system (not from the SSD itself!). For example a Ubuntu Live distribution. Run the following commands in your terminal (consider choosing a later firmware version if available from OCZ):

cd ~/Downloads
wget http://www.ocztechnology.com/files/ssd_tools/fwupd_v2.12.05.tar.gz
tar -xf fwupd_v2.12.05.tar.gz
sudo su
### The next step is flashing the SSD:
~/Downloads/fwupd_v2.12.05/linux64/fwupd –log /dev/sd?
# ( ↑ This will create save a log file in you working directory: fwupd.log )

Error message when running this on a MacBook Pro (early 2011) on Ubuntu 11.10 64bit Live CD:

Firmware update FAILED on /dev/sda/: drive OCZ-AGILITY3

The solution: http://www.ocztechnologyforum.com/forum/showthread.php?92009-Updating-firmware-of-Vertex-3-Agility-3-Solid-3-drives-on-2011-Macs-using-a-Linux-CD

setpci -s 00:1f.2 90.b=60
sh -c "echo 1 > /sys/bus/pci/devices/0000\:00\:1f.2/remove"
sh -c "echo 1 > /sys/bus/pci/rescan"

then continue with the fwupd command.

This didn't work though using the 64bit 11.10 Ubuntu CD so I tried it with the 32bit Ubuntu 11.04 Live CD.

Resources