Commit graph

36 commits

Author SHA1 Message Date
Florian Fainelli
486d54bf05 mtd: define MTDREFRESH if not defined (external kernel)
SVN-Revision: 30340
2012-02-06 17:15:40 +00:00
Jonas Gorski
f53128f79b target: linux: mtd: fix MTDREFRESH to an arbitrary high number
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
2011-11-09 21:16:36 +00:00
Gabor Juhos
091ea63719 package/mtd: don't append jffs2 data multiple times
SVN-Revision: 27358
2011-07-02 08:38:00 +00:00
Gabor Juhos
9abe5cf110 package/mtd: make fixtrx available on ar71xx as well
SVN-Revision: 24911
2011-01-05 19:27:55 +00:00
Daniel Dickinson
daa854ee2d mtd: Added fixtrx for brcm63xx imagetag. This allows brcm63xx boards which experience a CRC on second boot due to the JFFS2 creation / DEADC0DE deletion to work correctly when mtd fixtrx is run on first boot
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24835
2010-12-26 04:18:01 +00:00
Daniel Dickinson
b1362f94bc mtd: Changed mtd_fixtrx and related functions to be weak references. The weak references only lead to actual functions for brcm47xx
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24833
2010-12-26 04:17:51 +00:00
Jo-Philipp Wich
2c63c1543e mtd: whitespace cleanup
SVN-Revision: 24135
2010-11-24 16:21:25 +00:00
Jo-Philipp Wich
04b604704b mtd: fix r24132
SVN-Revision: 24134
2010-11-24 16:18:34 +00:00
Alexandros C. Couloumbis
f5a54d6601 package/mtd: (enhancement) add option to prevent erase when writing to flash. (closes #8308)
SVN-Revision: 24132
2010-11-24 14:10:01 +00:00
Gabor Juhos
2a541325d3 package/mtd: write remaining data after adding file to the jffs2 partition
SVN-Revision: 22881
2010-09-03 18:14:32 +00:00
Gabor Juhos
37712c70c5 package/mtd: add fixtrx command
* patch by Bernhard Loos
 * note: trailing whitespaces are removed

SVN-Revision: 20524
2010-03-27 17:38:33 +00:00
Felix Fietkau
91dc246123 mtd: fix typo (thx, Plouj)
SVN-Revision: 19263
2010-01-21 23:48:52 +00:00
Felix Fietkau
5b02773940 mtd: fix wrong open() return code checks
SVN-Revision: 17666
2009-09-21 19:13:34 +00:00
Felix Fietkau
a512be592f mtd: update copyright headers
SVN-Revision: 17660
2009-09-21 10:09:02 +00:00
Felix Fietkau
63c91af404 mtd: add support for rewriting the fis table layout on redboot based systems
SVN-Revision: 17659
2009-09-21 09:58:41 +00:00
Felix Fietkau
40e46b9830 fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
SVN-Revision: 17522
2009-09-05 23:38:51 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Felix Fietkau
0d71217695 remove accidentally committed debug message
SVN-Revision: 12827
2008-10-02 18:31:26 +00:00
Felix Fietkau
8f567ff728 mtd: fix image check on non-broadcom platforms
SVN-Revision: 12825
2008-10-02 18:19:02 +00:00
Felix Fietkau
a38c409d6a fix some warnings
SVN-Revision: 12707
2008-09-25 18:24:53 +00:00
Felix Fietkau
5a0a3cbc00 mtd: improve support for reading input from a pipe. fixes sysupgrade
SVN-Revision: 12706
2008-09-25 18:24:18 +00:00
Felix Fietkau
bbd9eb4669 clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices
SVN-Revision: 12655
2008-09-23 09:23:58 +00:00
Felix Fietkau
d374e28a2b mtd: use broadcom specific code on linux 2.6 as well
SVN-Revision: 12651
2008-09-22 17:06:03 +00:00
Felix Fietkau
753e5b492d add support for appending a file to jffs2 during reflash on the fly
SVN-Revision: 12250
2008-08-08 22:43:19 +00:00
Felix Fietkau
1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
SVN-Revision: 8456
2007-08-21 18:23:57 +00:00
Felix Fietkau
a91350732c cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
SVN-Revision: 8444
2007-08-20 16:12:24 +00:00
Felix Fietkau
5307d511aa add 'mtd refresh' command
SVN-Revision: 8439
2007-08-19 21:53:44 +00:00
Mike Baker
9a66abf108 Add a "Rebooting ..." message to the mtd util
SVN-Revision: 7159
2007-05-10 08:54:37 +00:00
Mike Baker
653cfd2ff9 change handling of non-trx files
SVN-Revision: 6924
2007-04-10 14:46:15 +00:00
Mike Baker
99c848c555 fallback when devfs names aren't found
SVN-Revision: 6541
2007-03-09 08:58:37 +00:00
Felix Fietkau
97b0e81658 add reboot fix for mtd (thanks, wbx)
SVN-Revision: 5645
2006-11-26 01:03:21 +00:00
Felix Fietkau
0f4a0fa10a fix mtd compile
SVN-Revision: 5505
2006-11-12 01:45:59 +00:00
Felix Fietkau
97e54a1932 ignore mtd erase errors (will probably be required for nand flash)
SVN-Revision: 5292
2006-10-25 19:47:09 +00:00
Felix Fietkau
426ecdecef turn target runtime check of mtd into a compile-time check
SVN-Revision: 5285
2006-10-24 18:11:33 +00:00
Felix Fietkau
4f9190d1c8 improve mtd image check - don't check trx header if the target partition is not 'linux', don't display image check messages with -qq and -f, fixes #850
SVN-Revision: 5269
2006-10-23 14:52:04 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00