raphael / linux-samus

Linux 4.16 on Chromebook Pixel 2015
GNU General Public License v2.0
181 stars 36 forks source link

SSD Firmware #124

Closed ehegnes closed 8 years ago

ehegnes commented 8 years ago

Prompted by @sprc's suggestion in issue #122, discussion of the SSD firmware shall be confined to this thread.

The following update was suggested by me:

@remexre, you are brave. There be dragons ahead/use at your own risk, and all that. If I were you (when I'm you in a few days), I'd dd my drive as a backup and run this command from a LiveCD with the device unmounted.

Firmware Blob: firmware-ssd-02.3.bin MD5SUM: 5cbc5c2da4bed35ea499d18dbde6d295 Command:

sudo hdparm --fwdownload-mode7 "/path/to/firmware.bin" --yes-i-know-what-i-am-doing --please-destroy-my-drive "/dev/sda"

This should all, presumably, work. I'm really not sure. :)

This didn't work, resulting in:

/dev/sda: fwdownload: xfer_mode=7 min=1 max=65535 size=461312 FAILED: Input/output error

But this also did not harm the drive.

Mentions: @remexre, @recri, @aeroevan

stefanwiegmann commented 8 years ago

:-) you basically did, what @ehegnes did. Restored ChromeOS, which in the process updated your firmware. It also wiped your ssd completely before doing that. This is "a" way to fix it. Good to know it works this way.

The other way I was curious about is doing the wipe yourself, keep the old firmware and install from scratch (Not ChromeOS). But this is hypothetical, if anybody tries this, please keep me posted.

cowlicks commented 8 years ago

@ehegnes I'd appreciate a write up. I'd like to dual boot Arch and chromeos so I can still get firmware updates. Also I've never installed Arch, I was on Debian before.

ehegnes commented 8 years ago

@cowlicks, I have been meaning to do a write up for a while. I'll make that a priority for the wiki. @colemickens pointed out above that he used this Arch wiki section to guide him in installing Arch alongside Chrome OS. That guide, however, is a mite vague, and I aim to provide something that is much more detailed.

vadixidav commented 8 years ago

Good news, they replaced my Pixel! I tried to make crouton work, but it just doesn't work well with Arch Linux. Hopefully there wont be another firmware bug like the previous one...

Just to be clear, ChromeOS permanently updates the firmware, right?