<html><body><p><font size="2">Correct.  The way we do it is to make a complete image, and then handle the ecc/chunking during the write process itself.</font><br><font size="2"><br>--<br>Dan Crowell<br>Senior Software Engineer - Power Systems Enablement Firmware<br>IBM Rochester: t/l 553-2987<br>dcrowell@us.ibm.com</font><br><br><img width="16" height="16" src="cid:1__=09BB0EAFDFE540AB8f9e8a93df938690918c09B@" border="0" alt="Inactive hide details for "Marty E. Plummer" ---07/19/2019 04:04:13 PM---On Fri, Jul 19, 2019 at 01:33:14PM -0500, Daniel M Cro"><font size="2" color="#424282">"Marty E. Plummer" ---07/19/2019 04:04:13 PM---On Fri, Jul 19, 2019 at 01:33:14PM -0500, Daniel M Crowell wrote: ></font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">"Marty E. Plummer" <hanetzer@startmail.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Daniel M Crowell <dcrowell@us.ibm.com></font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">Dean Sanner <dsanner@us.ibm.com>, openpower-firmware@lists.ozlabs.org, Stewart Smith <stewart@linux.ibm.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">07/19/2019 04:04 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[EXTERNAL] Re: [OpenPower-Firmware] SBE questions</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">On Fri, Jul 19, 2019 at 01:33:14PM -0500, Daniel M Crowell wrote:<br>> <br>> I can answer one question.<br>> <br>> > Also, why 65529 and not 64*1024=65536?<br>> With the 9-byte ECC algorithm there are 6 bytes leftover.  We don't cross<br>> chips with the data/ecc so the last 6 bytes are not part of the image.<br>> <br>Ah, so if I were to 'manually' cook an image to write to the seeprom I<br>would have to be careful about said size? Eg, after adding ecc it cannot<br>be larger than 4*65529 bytes, and it would need to be split into 3 or 4<br>65529 byte chunks (maybe not a full 65529 for the last fourth) prior to<br>writing to the seeprom banks?<br>> --<br>> Dan Crowell<br>> Senior Software Engineer - Power Systems Enablement Firmware<br>> IBM Rochester: t/l 553-2987<br>> dcrowell@us.ibm.com<br><br></font></tt><br><br><BR>
</body></html>