Project

General

Profile

Actions

Feature #8235

closed

fwflash for sd needs to handle partial writes

Added by Robert Mustacchi over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
cmd - userland programs
Start date:
2017-05-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

For more background on this problem, please see https://github.com/joyent/rfd/blob/master/rfd/0031/README.md. The high level problem is that we have firmware images whose size is larger than the amount of memory we can write in a single DMA buffer.

To handle this, we've added the ability to get the maximum size we can write from a device. We then say that if the firmware image is larger than the device size, we instead will do series of partial writes to the controller to perform the firmware upgrade. However, if it fits, then we'll instead opt to do the single traditional write.


Related issues

Related to illumos gate - Bug #5012: mpt_sas fails to issue writes >1MBNew2014-07-17

Actions
Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed

git commit 0b4d657578b8f707371421ebae5b3837023b4144

commit  0b4d657578b8f707371421ebae5b3837023b4144
Author: Robert Mustacchi <rm@joyent.com>
Date:   2019-01-16T00:48:38.000Z

    8235 fwflash for sd needs to handle partial writes
    8236 fwflash sd plugin shouldn't hardcode maximum image size
    8237 libscsi improperly translates request sense and isolate options to uscsi
    Reviewed by: Joshua M. Clulow <jmc@joyent.com>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions #2

Updated by Marcel Telka almost 4 years ago

  • Related to Bug #5012: mpt_sas fails to issue writes >1MB added
Actions

Also available in: Atom PDF