<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git, branch factory-pit-4390.B</title>
<subtitle>review.coreboot.org: vboot.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/'/>
<entry>
<title>futility: Use flashrom for 'dump_fmap -x'</title>
<updated>2013-07-12T03:30:07+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-07-03T08:45:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=c1bbc75e3ba77019c62eda69db556109faeba607'/>
<id>c1bbc75e3ba77019c62eda69db556109faeba607</id>
<content type='text'>
New ARM boards use an FDTMAP, which is basically just an FDT. This means
that we don't have two potentially conflicting flash maps in the image.
Flashrom supports this without issue, but the firmware signer needs
dump_fmap to support it also.

It would be nice if we had libfmap implementing all this, but this is
apparently a long-running clean-up task. So the next best thing is to
deal with the flashmap in one program - i.e. flashrom.

So support FDTMAP in futility by redirecting 'dump_fmap -x' to flashrom.

BUG=chromium:256912
BRANCH=none
TEST=manual
With the flashrom -x option added, run this:
sudo futility dump_fmap -x /build/peach_pit/firmware/image-peach-pit.bin
gbb_utility --rootkey=rootkey.bin GBB

See that the various chunks of data from the image are output and that
gbb_utility completes without error.

Change-Id: Id8b2c774a16bdd07968765be5e6609b1b0661a0f
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/60862
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New ARM boards use an FDTMAP, which is basically just an FDT. This means
that we don't have two potentially conflicting flash maps in the image.
Flashrom supports this without issue, but the firmware signer needs
dump_fmap to support it also.

It would be nice if we had libfmap implementing all this, but this is
apparently a long-running clean-up task. So the next best thing is to
deal with the flashmap in one program - i.e. flashrom.

So support FDTMAP in futility by redirecting 'dump_fmap -x' to flashrom.

BUG=chromium:256912
BRANCH=none
TEST=manual
With the flashrom -x option added, run this:
sudo futility dump_fmap -x /build/peach_pit/firmware/image-peach-pit.bin
gbb_utility --rootkey=rootkey.bin GBB

See that the various chunks of data from the image are output and that
gbb_utility completes without error.

Change-Id: Id8b2c774a16bdd07968765be5e6609b1b0661a0f
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/60862
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Port MTD structures to use 64-bit byte offsets instead of sectors.</title>
<updated>2013-07-03T23:02:34+00:00</updated>
<author>
<name>Albert Chaulk</name>
<email>achaulk@chromium.org</email>
</author>
<published>2013-06-25T18:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=289b604f6154b118f3c47aa35b09e99a4e144814'/>
<id>289b604f6154b118f3c47aa35b09e99a4e144814</id>
<content type='text'>
As per the discussion on issue 221745 we will be using 64-bit byte offsets
for the MTD partition table and converting to/from sectors internally in cgpt.
Existing interfaces do not change, eg sizes are still reported in sectors, only
the on-disk representation is affected.

BRANCH=none
BUG=chromium:221745
TEST=unit tests pass

Change-Id: Id312d42783acfdabe6eb8aea11dcbd298e00a100
Reviewed-on: https://gerrit.chromium.org/gerrit/60919
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per the discussion on issue 221745 we will be using 64-bit byte offsets
for the MTD partition table and converting to/from sectors internally in cgpt.
Existing interfaces do not change, eg sizes are still reported in sectors, only
the on-disk representation is affected.

BRANCH=none
BUG=chromium:221745
TEST=unit tests pass

Change-Id: Id312d42783acfdabe6eb8aea11dcbd298e00a100
Reviewed-on: https://gerrit.chromium.org/gerrit/60919
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD modification commands: add &amp; prioritize</title>
<updated>2013-07-03T21:22:20+00:00</updated>
<author>
<name>Albert Chaulk</name>
<email>achaulk@chromium.org</email>
</author>
<published>2013-04-02T21:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=7d401c5cd58ec422e239b28c334fc2e94778f565'/>
<id>7d401c5cd58ec422e239b28c334fc2e94778f565</id>
<content type='text'>
Additionally renames the new functions in add to be CamelCase style

BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Original-Change-Id: Ic173f99d7ca4af025403ab11f37061c33c9d59ea
Reviewed-on: https://gerrit.chromium.org/gerrit/47173
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit c3aad2fd06a21097cffd10ec5b168e728616b868)

Change-Id: Ib3bb947ffcd5c0f40398a27a721e392b895c9da0
Reviewed-on: https://gerrit.chromium.org/gerrit/49795
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Additionally renames the new functions in add to be CamelCase style

BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Original-Change-Id: Ic173f99d7ca4af025403ab11f37061c33c9d59ea
Reviewed-on: https://gerrit.chromium.org/gerrit/47173
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit c3aad2fd06a21097cffd10ec5b168e728616b868)

Change-Id: Ib3bb947ffcd5c0f40398a27a721e392b895c9da0
Reviewed-on: https://gerrit.chromium.org/gerrit/49795
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix recovery mode entry due to invalid FW hash.</title>
<updated>2013-06-27T00:44:44+00:00</updated>
<author>
<name>Aaron Durbin</name>
<email>adurbin@chromium.org</email>
</author>
<published>2013-06-26T22:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=952c2d32452fc582900cc542edd75c7da6b3f830'/>
<id>952c2d32452fc582900cc542edd75c7da6b3f830</id>
<content type='text'>
If FW hash is invalid, it is possible for boot to continue as normal
because the shared recovery reason is not updated. Update the shared
recovery reason to ensure the bootloader knows to do a recovery boot.

This change affects only systems that do not support RO_NORMAL (ex.
Haswell systems).

BUG=chrome-os-partner:20518.
TEST=Run firmware_CorruptBothFwSigAB on Peppy, verify PASS.
BRANCH=None.
Signed-off-by: Aaron Durbin &lt;adurbin@chromium.org&gt;
Signed-off-by: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;

Change-Id: I3b311416bf8c504deb4154e5850d967253c9dc17
Reviewed-on: https://gerrit.chromium.org/gerrit/60148
Reviewed-by: Aaron Durbin &lt;adurbin@chromium.org&gt;
Commit-Queue: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;
Tested-by: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If FW hash is invalid, it is possible for boot to continue as normal
because the shared recovery reason is not updated. Update the shared
recovery reason to ensure the bootloader knows to do a recovery boot.

This change affects only systems that do not support RO_NORMAL (ex.
Haswell systems).

BUG=chrome-os-partner:20518.
TEST=Run firmware_CorruptBothFwSigAB on Peppy, verify PASS.
BRANCH=None.
Signed-off-by: Aaron Durbin &lt;adurbin@chromium.org&gt;
Signed-off-by: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;

Change-Id: I3b311416bf8c504deb4154e5850d967253c9dc17
Reviewed-on: https://gerrit.chromium.org/gerrit/60148
Reviewed-by: Aaron Durbin &lt;adurbin@chromium.org&gt;
Commit-Queue: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;
Tested-by: Shawn Nematbakhsh &lt;shawnn@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD search commands: show &amp; find</title>
<updated>2013-06-25T02:57:27+00:00</updated>
<author>
<name>Albert Chaulk</name>
<email>achaulk@chromium.org</email>
</author>
<published>2013-04-02T21:35:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=1c568bccc442afd91ea7ee5367668ba9ebc06a40'/>
<id>1c568bccc442afd91ea7ee5367668ba9ebc06a40</id>
<content type='text'>
BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Change-Id: I8a5c1afab238eb10f38d865405ea2828715685d8
Original-Change-Id: I3d72fecbb3ef95252aa35d56885288340537b1c5
Reviewed-on: https://gerrit.chromium.org/gerrit/47175
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/49794
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Change-Id: I8a5c1afab238eb10f38d865405ea2828715685d8
Original-Change-Id: I3d72fecbb3ef95252aa35d56885288340537b1c5
Reviewed-on: https://gerrit.chromium.org/gerrit/47175
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/49794
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bugfixes &amp; MTD create command</title>
<updated>2013-06-24T22:44:41+00:00</updated>
<author>
<name>Albert Chaulk</name>
<email>achaulk@chromium.org</email>
</author>
<published>2013-04-02T20:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=92f22e7c2a1ca08034ac3ad21b2af60347c1c4fb'/>
<id>92f22e7c2a1ca08034ac3ad21b2af60347c1c4fb</id>
<content type='text'>
Fix some bugs in the cgpt implementation of the flash I/O functions &amp; load
logic, it was validating too much at load time.

Implement the create command for MTD

BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Original-Change-Id: I2f52637d82962f4d805aa827c5c37685f10e76ea
Reviewed-on: https://gerrit.chromium.org/gerrit/47172
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit 931544744ba410dad267064b87d504b0b4c24772)

Change-Id: If9364155fb2c030645adc6ee6f3fbe5373bcc153
Reviewed-on: https://gerrit.chromium.org/gerrit/49793
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix some bugs in the cgpt implementation of the flash I/O functions &amp; load
logic, it was validating too much at load time.

Implement the create command for MTD

BUG=chromium:221745
TEST=MTD version of run_cgpt_tests.sh passes
BRANCH=none

Original-Change-Id: I2f52637d82962f4d805aa827c5c37685f10e76ea
Reviewed-on: https://gerrit.chromium.org/gerrit/47172
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit 931544744ba410dad267064b87d504b0b4c24772)

Change-Id: If9364155fb2c030645adc6ee6f3fbe5373bcc153
Reviewed-on: https://gerrit.chromium.org/gerrit/49793
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgpt: do not show length of 1 for undefined partitions</title>
<updated>2013-06-24T20:08:12+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@chromium.org</email>
</author>
<published>2013-05-03T22:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=98624d37447d01a9a78d9e0a1f55cbbce2ee99e4'/>
<id>98624d37447d01a9a78d9e0a1f55cbbce2ee99e4</id>
<content type='text'>
If a partition isn't "defined", then don't declare its size as 1.

BUG=chromium:236941
TEST=`cbuildbot {x86,amd64,arm}-generic-full` pass
TEST=`cgpt show -i 100 -s chromiumos_image.bin` shows 0
BRANCH=none

Change-Id: I538546b6b37a9137958d6f926a58753cf52c946a
Reviewed-on: https://gerrit.chromium.org/gerrit/50074
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Mike Frysinger &lt;vapier@chromium.org&gt;
Tested-by: Mike Frysinger &lt;vapier@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a partition isn't "defined", then don't declare its size as 1.

BUG=chromium:236941
TEST=`cbuildbot {x86,amd64,arm}-generic-full` pass
TEST=`cgpt show -i 100 -s chromiumos_image.bin` shows 0
BRANCH=none

Change-Id: I538546b6b37a9137958d6f926a58753cf52c946a
Reviewed-on: https://gerrit.chromium.org/gerrit/50074
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Commit-Queue: Mike Frysinger &lt;vapier@chromium.org&gt;
Tested-by: Mike Frysinger &lt;vapier@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct debug message typo</title>
<updated>2013-06-24T20:08:11+00:00</updated>
<author>
<name>Vadim Bendebury</name>
<email>vbendeb@chromium.org</email>
</author>
<published>2013-06-21T23:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=48b26dff12fdbf37f1effc358aa7e77ba13736ff'/>
<id>48b26dff12fdbf37f1effc358aa7e77ba13736ff</id>
<content type='text'>
BRANCH=none
BUG=none
TEST=manual
   . observe proper function name reported in the debug output

Change-Id: I03f87f0f5816db73a105687cd1a67f21c891f677
Signed-off-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/59642
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BRANCH=none
BUG=none
TEST=manual
   . observe proper function name reported in the debug output

Change-Id: I03f87f0f5816db73a105687cd1a67f21c891f677
Signed-off-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
Reviewed-on: https://gerrit.chromium.org/gerrit/59642
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dump_fmap: Find correct FMAP structure by checking version.</title>
<updated>2013-06-22T03:16:54+00:00</updated>
<author>
<name>Hung-Te Lin</name>
<email>hungte@chromium.org</email>
</author>
<published>2013-06-20T02:32:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=556ec4fd6089cc54dc06902d9c4e1831609332a5'/>
<id>556ec4fd6089cc54dc06902d9c4e1831609332a5</id>
<content type='text'>
Firmware images reading its own FMAP structure may have FMAP signature in code
and cause dump_fmap to parse incorrectly. Since currently there is only one
major version for FMAP (and the structure defined in fmap.h also applies only to
current version), we can improve that by checking major version number to skip
signatures in firmware code.

BUG=chromium:236347
TEST=emerge vboot_reference; dump_fmap /build/daisy/firmware/image.bin # success
BRANCH=none

Change-Id: I1d8f49bb88357e7a3a945fbdba9d9a7c4e177ac4
Reviewed-on: https://gerrit.chromium.org/gerrit/59362
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Reviewed-by: David Hendricks &lt;dhendrix@chromium.org&gt;
Tested-by: Hung-Te Lin &lt;hungte@chromium.org&gt;
Commit-Queue: Gabe Black &lt;gabeblack@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Firmware images reading its own FMAP structure may have FMAP signature in code
and cause dump_fmap to parse incorrectly. Since currently there is only one
major version for FMAP (and the structure defined in fmap.h also applies only to
current version), we can improve that by checking major version number to skip
signatures in firmware code.

BUG=chromium:236347
TEST=emerge vboot_reference; dump_fmap /build/daisy/firmware/image.bin # success
BRANCH=none

Change-Id: I1d8f49bb88357e7a3a945fbdba9d9a7c4e177ac4
Reviewed-on: https://gerrit.chromium.org/gerrit/59362
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
Reviewed-by: David Hendricks &lt;dhendrix@chromium.org&gt;
Tested-by: Hung-Te Lin &lt;hungte@chromium.org&gt;
Commit-Queue: Gabe Black &lt;gabeblack@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Enables MTD mode via command line option.</title>
<updated>2013-06-21T18:50:39+00:00</updated>
<author>
<name>Albert Chaulk</name>
<email>achaulk@chromium.org</email>
</author>
<published>2013-03-29T22:02:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=a75071c25295e392a21b8deddccaf2f3f0d0f041'/>
<id>a75071c25295e392a21b8deddccaf2f3f0d0f041</id>
<content type='text'>
Enables MTD mode with a command line option of
-N=&lt;write page bytes&gt;,&lt;write pages per erase block&gt;,
&lt;erase block offset to fts partition&gt;,&lt;erase block size of fts partition&gt;

The problem is that we need to know exactly where the fts store partition is
and what the layout of the flash chip is in order to be able to use it
properly. This will vary per-device however, so for flexibility and testing
purposes, this command line option allows specification of arbitrary layouts.

BUG=chromium:221745
BRANCH=none
TEST=verified during development via prints

Original-Change-Id: I88640e777d5ccd4ffd3b39e1f131dc1d362c6b2c
Reviewed-on: https://gerrit.chromium.org/gerrit/46920
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit 2b768f99d246823f3711bbe4cf50ea9ab4588a06)

Change-Id: I35591d4fbec13c3887beef11fdefc84fc90b8e05
Reviewed-on: https://gerrit.chromium.org/gerrit/49792
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enables MTD mode with a command line option of
-N=&lt;write page bytes&gt;,&lt;write pages per erase block&gt;,
&lt;erase block offset to fts partition&gt;,&lt;erase block size of fts partition&gt;

The problem is that we need to know exactly where the fts store partition is
and what the layout of the flash chip is in order to be able to use it
properly. This will vary per-device however, so for flexibility and testing
purposes, this command line option allows specification of arbitrary layouts.

BUG=chromium:221745
BRANCH=none
TEST=verified during development via prints

Original-Change-Id: I88640e777d5ccd4ffd3b39e1f131dc1d362c6b2c
Reviewed-on: https://gerrit.chromium.org/gerrit/46920
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
(cherry picked from commit 2b768f99d246823f3711bbe4cf50ea9ab4588a06)

Change-Id: I35591d4fbec13c3887beef11fdefc84fc90b8e05
Reviewed-on: https://gerrit.chromium.org/gerrit/49792
Reviewed-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Tested-by: Albert Chaulk &lt;achaulk@chromium.org&gt;
Commit-Queue: Albert Chaulk &lt;achaulk@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
