<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/image-sparse.c, branch v2017.01-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/common/image-sparse.c?h=v2017.01-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/common/image-sparse.c?h=v2017.01-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-06-27T20:37:39Z</updated>
<entry>
<title>fastboot: sparse: improve CHUNK_TYPE_FILL write performance</title>
<updated>2016-06-27T20:37:39Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-06-07T18:19:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0abd63b26de890dc3ea8d70f2022fd587cdc686b'/>
<id>urn:sha1:0abd63b26de890dc3ea8d70f2022fd587cdc686b</id>
<content type='text'>
- increase the size of the fill buffer
- testing has shown a 10x improvement when the sparse image
  has large CHUNK_TYPE_FILL chunks

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: implement reserve()</title>
<updated>2016-06-27T20:37:39Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-06-07T18:19:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2c72404687f1061d042769cc65ef90e6c3da3f96'/>
<id>urn:sha1:2c72404687f1061d042769cc65ef90e6c3da3f96</id>
<content type='text'>
In order to process the CHUNK_TYPE_DONT_CARE properly, there is
a requirement to be able to 'reserve' a specified number of blocks
in the storage media. Because of the special handling of "bad blocks"
in NAND devices, this is implemented in a storage abstraction function.

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
Reviewed-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: resync common/image-sparse.c (part 2)</title>
<updated>2016-06-27T20:37:38Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-06-07T18:19:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bc34799c8e6d8907b18e02c405576aa6bf9ce15'/>
<id>urn:sha1:9bc34799c8e6d8907b18e02c405576aa6bf9ce15</id>
<content type='text'>
- update fastboot_okay() and fastboot_fail()

This file originally came from upstream code.

While retaining the storage abstraction feature, this is the second
set of the changes required to resync with the
  cmd_flash_mmc_sparse_img()
in the file
  aboot.c
from
  https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: resync common/image-sparse.c (part 1)</title>
<updated>2016-06-27T20:37:36Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-06-07T18:19:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cc0f08cd347ea9741375a70c490c6bee684f7bac'/>
<id>urn:sha1:cc0f08cd347ea9741375a70c490c6bee684f7bac</id>
<content type='text'>
This file originally came from upstream code.

While retaining the storage abstraction feature, this is the first
set of the changes required to resync with the
  cmd_flash_mmc_sparse_img()
in the file
  aboot.c
from
  https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: remove session-id logic</title>
<updated>2016-06-27T20:36:33Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-06-07T18:19:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64ece84854ae49f40e9b9d4d88502247774f9d2f'/>
<id>urn:sha1:64ece84854ae49f40e9b9d4d88502247774f9d2f</id>
<content type='text'>
This "session-id" alogrithm is not required, and currently corrupts
the stored image whenever more the one "session" is required.

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: remove unnecessary logging</title>
<updated>2016-04-12T00:48:29Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-02-09T19:19:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3793541b15d631476e91343a21c5b23b19c9da8'/>
<id>urn:sha1:e3793541b15d631476e91343a21c5b23b19c9da8</id>
<content type='text'>
remove logging of the 'skipped' blocks

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: fix block addressing for don't care chunk type</title>
<updated>2016-04-12T00:48:29Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2016-02-09T19:19:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7529dbad1722bd6d6ef2a0af0e818902a296d64'/>
<id>urn:sha1:c7529dbad1722bd6d6ef2a0af0e818902a296d64</id>
<content type='text'>
When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented,
it dropped 9981945 (aboot: fix block addressing for don't care chunk type).

This re-implements the required fix for the "don't care chunk type"...

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>fastboot: sparse: fix sparse blocks calculation</title>
<updated>2016-04-11T16:44:37Z</updated>
<author>
<name>Jeffy Chen</name>
<email>jeffy.chen@rock-chips.com</email>
</author>
<published>2016-02-03T10:13:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d3bafe32ca47bc3872837c1fe7874f9913de103f'/>
<id>urn:sha1:d3bafe32ca47bc3872837c1fe7874f9913de103f</id>
<content type='text'>
It may overflow in sparse_block_size_to_storage, use uint64_t instead in
the calculation.

Signed-off-by: Jeffy Chen &lt;jeffy.chen@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>sparse: Rename the file and header</title>
<updated>2015-11-12T18:18:59Z</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-10-15T12:34:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d4ef38de2f65e9d122e1c40221f303ade0eac97'/>
<id>urn:sha1:3d4ef38de2f65e9d122e1c40221f303ade0eac97</id>
<content type='text'>
The Android sparse image format is currently supported through a file
called aboot, which isn't really such a great name, since the sparse image
format is only used for transferring data with fastboot.

Rename the file and header to a file called "sparse", which also makes it
consistent with the header defining the image structures.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
