<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/mtd, branch 2016.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-08-17T06:35:49+00:00</updated>
<entry>
<title>mtd: fix musl build issue</title>
<updated>2016-08-17T06:35:49+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahul.bedarkar@imgtec.com</email>
</author>
<published>2016-08-15T06:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=850e74c3639733986ff40b96fbca7d355aee738c'/>
<id>urn:sha1:850e74c3639733986ff40b96fbca7d355aee738c</id>
<content type='text'>
With musl C library, we get following build error

  integck.c:37:28: fatal error: bits/stdio_lim.h: No such file or directory
   #include &lt;bits/stdio_lim.h&gt;
                              ^
  compilation terminated.
  make[2]: *** [integck] Error 1

Header &lt;bits/stdio_lim.h&gt; is not available in musl C library. However
&lt;stdio.h&gt; has all definition that &lt;bits/stdio_lim.h&gt; supposed to be
providing. Moreover &lt;bits/stdio_lim.h&gt; shouldn't be included directly
instead we should be using &lt;stdio.h&gt;.

Since we already include &lt;stdio.h&gt; and in case of uClibc or glibc
&lt;bits/stdio_lim.h&gt; gets included internally, we can safely remove it.

Fixes:

  http://autobuild.buildroot.net/results/175/1754861457af520480cc34d7d2d0edff2868ff66/

Signed-off-by: Rahul Bedarkar &lt;rahul.bedarkar@imgtec.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>mtd: integck needs MMU support</title>
<updated>2016-08-11T13:01:16+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahul.bedarkar@imgtec.com</email>
</author>
<published>2016-08-10T16:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=de1aecde52b14feccc42fd51534a56b7434c23be'/>
<id>urn:sha1:de1aecde52b14feccc42fd51534a56b7434c23be</id>
<content type='text'>
After fixing build issue related to MS_DIRSYNC and MS_RELATIME, we get
following build error with blackfin external toolchain.

fstest_monitor.c: In function 'main':
fstest_monitor.c:237: warning: implicit declaration of function 'fork'
/tmp/ccCzZIuW.o: In function 'main':
/home/rahul.bedarkar/buildroot/output/build/mtd-1.5.2/tests/fs-tests/utils/fstest_monitor.c:237: undefined reference to '_fork'
collect2: ld returned 1 exit status
make[2]: *** [fstest_monitor] Error 1

Since it uses fork(), add dependency on MMU support for integck.

Signed-off-by: Rahul Bedarkar &lt;rahul.bedarkar@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: add option to install mtd integrity test</title>
<updated>2016-07-16T09:49:40+00:00</updated>
<author>
<name>Yugendra Sai Babu Nadupuru</name>
<email>yugendra.sai.babu.nadupuru@rockwellcollins.com</email>
</author>
<published>2016-07-14T21:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=77f23c4d66e6cad62ce8a77f6d1b5fd2d109471f'/>
<id>urn:sha1:77f23c4d66e6cad62ce8a77f6d1b5fd2d109471f</id>
<content type='text'>
The mtd tests have proven very useful in testing both flash stability
and JFFS2 changes. Adding an option to install the integrity test.

Signed-off-by: Yugendra Sai Babu Nadupuru &lt;yugendra.sai.babu.nadupuru@rockwellcollins.com&gt;
Signed-off-by: Matt Weber &lt;matthew.weber@rockwellcollins.com&gt;
[Thomas: rename Config.in option, misc improvements in .mk file, add
patch to fix build with uClibc/musl.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: install header files to staging directory</title>
<updated>2016-05-01T20:36:29+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2016-04-29T07:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5a61c2cc775263ba7c4814b92d35b923ad0617a0'/>
<id>urn:sha1:5a61c2cc775263ba7c4814b92d35b923ad0617a0</id>
<content type='text'>
These header files are required by swupdate.

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd-utils: ubinize: fix return code on error</title>
<updated>2016-04-13T20:27:20+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca@lucaceresoli.net</email>
</author>
<published>2016-04-12T23:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0b52b8f9ba40b88a981f188ff127069c8ba82ab0'/>
<id>urn:sha1:0b52b8f9ba40b88a981f188ff127069c8ba82ab0</id>
<content type='text'>
ubinize 1.5.2 (currently packaged in Buildroot) returns 0 in case of
some errors. This can lead to unnoticed errors in the middle of a
build.

Fix by adding a patch from upstream, which is not yet present in any
released version.

Fetch from: http://git.infradead.org/mtd-utils.git/commit/5f50207231414bfdbac8f0f974a2824f24177d6e

Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: fix static build with uuid</title>
<updated>2015-09-13T20:43:35+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2015-09-11T04:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=bfcf697712e5b636d755751ac0f69afed253f46a'/>
<id>urn:sha1:bfcf697712e5b636d755751ac0f69afed253f46a</id>
<content type='text'>
The uuid library might depend on gettext. Use pkg-config to discover uuid
dependencies at build time, and edit Makefile accordingly to avoid missing
symbols when linking statically.

Based on a patch from Vicente Olivert Riera.

Fixes:
http://autobuild.buildroot.net/results/2dd/2ddd714446d9eb75701bd48c117dc5bbbd291a76/
http://autobuild.buildroot.net/results/3af/3af4ef252c8cb2b22134d91ce48e5930c60ec437/
http://autobuild.buildroot.net/results/648/648341fce974e8f016eee57c95d7511a886eef49/

[Peter: drop MTD_MKFSUBIFS_LIBS variable]
Cc: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Tested-by: Gergely Imreh &lt;imrehg@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>mtd: add mtdpart option</title>
<updated>2015-08-28T17:47:54+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2015-08-04T11:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=68847ad739e881e603e0473e34ed27ccade55ef9'/>
<id>urn:sha1:68847ad739e881e603e0473e34ed27ccade55ef9</id>
<content type='text'>
As pointed by Jörg Krause one of the novelties of the 1.5.2 release is
the new mtdpart tool, so add an option for it.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: drop unconditional non LFS build</title>
<updated>2015-08-18T20:43:43+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2015-08-11T04:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=81cfbee3410e236a3e6c7a64c9bfbed821706482'/>
<id>urn:sha1:81cfbee3410e236a3e6c7a64c9bfbed821706482</id>
<content type='text'>
Buildroot removed non LFS support in the 2015.05 release. We now pass
-D_FILE_OFFSET_BITS=64 unconditionally, so the mtd WITHOUT_LARGEFILE make
variable has no effect.

[Thomas: keep using += for other assigments of MTD_MAKE_OPTS.]

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>mtd: bump to version 1.5.2</title>
<updated>2015-08-04T09:27:00+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2015-08-03T20:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=a7eceb9cba466f68598f61135c96e211ba6e5b26'/>
<id>urn:sha1:a7eceb9cba466f68598f61135c96e211ba6e5b26</id>
<content type='text'>
Patches upstream so drop them.

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/mtd: add patch to fix host build error with gcc 5.1</title>
<updated>2015-07-11T10:17:26+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2015-05-26T10:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=77fbc684c56d3d247419c6473c67ba5f60b0c093'/>
<id>urn:sha1:77fbc684c56d3d247419c6473c67ba5f60b0c093</id>
<content type='text'>
host-mtd build fails with gcc 5.1:
  error: redefinition of ‘hashtable_iterator_key’
  error: redefinition of ‘hashtable_iterator_value’

Indeed, both functions are defined twice - once in the header and once in the
source file. This is permitted in C11 (and maybe in C99).

Add a patch sent to upstream:
https://patchwork.ozlabs.org/patch/467254/

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Tested-by: Doug Kehn &lt;rdkehn@yahoo.com&gt;
Tested-by: Romain Naour &lt;romain.naour@openwide.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
