summaryrefslogtreecommitdiffstats
path: root/package/mtd
Commit message (Collapse)AuthorAgeFilesLines
* mtd: install header files to staging directoryJörg Krause2016-05-011-0/+3
| | | | | | | These header files are required by swupdate. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd-utils: ubinize: fix return code on errorLuca Ceresoli2016-04-131-0/+64
| | | | | | | | | | | | | | 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 <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: fix static build with uuidBaruch Siach2015-09-131-1/+6
| | | | | | | | | | | | | | | | | | | 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 <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: add mtdpart optionGustavo Zacarias2015-08-282-0/+4
| | | | | | | | 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 <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: drop unconditional non LFS buildBaruch Siach2015-08-181-2/+0
| | | | | | | | | | | 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 <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: bump to version 1.5.2Gustavo Zacarias2015-08-047-246/+3
| | | | | | | Patches upstream so drop them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mtd: add patch to fix host build error with gcc 5.1Jörg Krause2015-07-111-0/+76
| | | | | | | | | | | | | | | | | 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 <joerg.krause@embedded.rocks> Tested-by: Doug Kehn <rdkehn@yahoo.com> Tested-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: Add xattr supportClayton Shotwell2015-07-061-1/+12
| | | | | | | | Adding extended attribute support for the mtd tools when the attr package is selected. This is needed for SELinux support. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mtd: add hash fileFabio Porcedda2015-06-021-0/+3
| | | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mtd: fix musl compileJörg Krause2015-04-254-17/+123
| | | | | | | | | | | | | | | | | | | | | Update rpmatch patch to commit 5923077649ca167991a24ca05bd285fdf6fa1a06 and expand to musl. Rename it. Add more patches to fix compile issues with musl. Patches sent upstream: 1) "include/common.h: fix build against musl" http://patchwork.ozlabs.org/patch/464074/ 2) "lib/libfec.c: fix build against musl" http://patchwork.ozlabs.org/patch/464073/ 3) "serve_image: do not include error.h" http://patchwork.ozlabs.org/patch/464416/ 4) "recv_image: do not include error.h" http://patchwork.ozlabs.org/patch/464417/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-10-231-3/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mtd: install libubi.a and libmtd.a to stagingRomain Naour2014-09-281-5/+9
| | | | | | | | | | | | | Currently, the mtd package only installs the mtd utilities into the target directory. However, the mtd-utils also provide two static libraries (libmtd.a and libubi.a) that can be used by other packages or tools. Therefore, this commit extends the mtd package by adding the installation to the staging directory of those two libraries. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Maxime Hadjinlian2014-06-081-1/+1
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: fix build against recent uClibc 0.9.33Baruch Siach2014-04-162-45/+61
| | | | | | | | | | | | | Commit fae7cc33a1 added a local rpmatch() implementation. However, the rpmatch() implementation was backported to the 0.9.33 branch, thus breaking the Buildroot default toolchain. Rename the local rpmatch() to avoid collision. Fixes: http://autobuild.buildroot.net/results/51f/51fe39bd942e4d8d0045ac810708719b9459e21f/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: fix build against uClibcBaruch Siach2014-04-131-0/+45
| | | | | | | | | | Add a rpmatch() implementation when uClibc is missing one. Fixes: http://autobuild.buildroot.net/results/171/17187c3c9ba2b9df2bb6ac103e9a54706f07c28b/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: Add ubiblock toolEzequiel García2014-04-102-0/+5
| | | | | | | | | The new release adds a new userspace tool called ubiblock. This is used to control UBI's new block device feature which will be added in Linux v3.15. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: bump to version 1.5.1Ezequiel García2014-04-101-1/+1
| | | | | Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: Allow to select the host variantEzequiel García2014-02-021-0/+6
| | | | | | | | | | If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable. [Peter: fix include order] Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: Add a more verbose menu textEzequiel García2014-02-021-2/+4
| | | | | | | | | mtd-utils also contain ubi/ubifs tools, so let's add it to the menu option. Also, add an URL to stick to the help message standard. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the empty trailing line(s)Jerzy Grzegorek2014-01-041-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-2/+2
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: add option to build mkfs.ubifs for targetPaul B. Henson2013-07-292-0/+17
| | | | | | | | [Thomas: implement simplifications suggested by Thomas De Schampheleire, add missing 'depends' on required toolchain features.] Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: add options to build flash_otp_unlock and flash_otp_writeArnout Vandecappelle (Essensium/Mind)2013-01-132-0/+8
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: fixup after CPPFLAGS additionPeter Korsgaard2012-10-111-4/+3
| | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/c55e4c9741109c66f8f66ab7e3f4f1664826056a mtd appends to CFLAGS/CPPFLAGS, but doesn't use override - So we need to pass flags in the environment and not on the make command line to get the combination of our flags and mtd's. At the same time cleanup the host build to use a similar form (HOST_CONFIGURE_OPTS) as target build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: add license infoDanomi Manchego2012-08-151-0/+3
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2012-05-311-1/+1
|\ | | | | | | | | Conflicts: toolchain/kernel-headers/Config.in
| * mtd: bump to 1.5.0Yegor Yefremov2012-05-141-1/+1
| | | | | | | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | mtd: fix build when no sub options are enabledPeter Korsgaard2012-05-251-0/+5
|/ | | | | | | | | | mtd-utils with no sub options enabled should be a noop, but we end up calling make with the default target (E.G. to build everything), breaking the build if zlib/lzo aren't available. Fixes http://autobuild.buildroot.net/results/a0781db394792e6d3831c1884fc4bb3525fedb2e/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: build after busybox if enabledPeter Korsgaard2012-03-041-0/+4
| | | | | | | Busybox also provides flash applets nowadays, so ensure the mtd version takes precedence if both are enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: bump versionPeter Korsgaard2011-12-171-1/+1
| | | | | | Fixes an issue with erases on NOR flash with linux 3.2+. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: bump versionPeter Korsgaard2011-11-191-1/+1
| | | | | | | Identical to 1.4.7, except that the version number in the Makefile is correct. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: bump version, cleanupPeter Korsgaard2011-11-182-36/+6
| | | | | | flash_eraseall / flash_info are no more, and simplify build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: make sure that dest dir exists before installing mtd filesDanomi Mocelopolis2011-11-021-2/+2
| | | | | | | Closes #4387 Signed-off-by: Danomi Mocelopolis <d_mo1234@yahoo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump to 1.4.6Yegor Yefremov2011-08-221-5/+5
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-06-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionH Hartley Sweeten2011-04-041-1/+1
| | | | | | | | | | Bump mtd-utils version to 1.4.4 which contains the flash_eraseall -j bug-fix. http://lists.infradead.org/pipermail/linux-mtd/2011-March/034505.html Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-03-181-1/+1
| | | | | | Fixes flash_erase argument handling (start should be in bytes, not blocks). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-01-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: ensure libmtd.a always gets builtPeter Korsgaard2010-11-181-3/+1
| | | | | | | | | Closes #2785 If only ubi* is selected, libmtd.a wouldn't get built breaking the build. Based on patch by Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2010-10-162-241/+1
| | | | | | For mkfs.jffs2 bugfix. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: fix big endian crc calculationPeter Korsgaard2010-10-151-0/+240
| | | | | | Taken from upstream git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud