Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mtd: fix trx_fixup | Felix Fietkau | 2012-07-25 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | With the BRCM47xx image I have built (Linksys E3000), there are additional writes following the completion of "mtd_replace_jffs2" which invalidate the 'trx_fixup' performed by 'mtd_replace_jffs2'. Moving the 'trx_fixup' to somewhere after all writes have completed fixes the problem. I also noticed that 'erasesize' used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by 'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this. Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at offset 0; which may be the cause of the problem described in Ticket #8960. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 32866 | ||||
* | mtd - add partition offset parameter | Jo-Philipp Wich | 2012-07-04 | 1 | -6/+20 |
| | | | | | | | | | The offset parameter can be used to write the data at the offset instead of writing it to the beginning of the partition. Signed-off-by: Marek Linder <lindner_marek@yahoo.de> SVN-Revision: 32600 | ||||
* | mtd: define MTDREFRESH if not defined (external kernel) | Florian Fainelli | 2012-02-06 | 1 | -0/+4 |
| | | | | SVN-Revision: 30340 | ||||
* | target: linux: mtd: fix MTDREFRESH to an arbitrary high number | Jonas Gorski | 2011-11-09 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | package/mtd: don't append jffs2 data multiple times | Gabor Juhos | 2011-07-02 | 1 | -0/+3 |
| | | | | SVN-Revision: 27358 | ||||
* | package/mtd: make fixtrx available on ar71xx as well | Gabor Juhos | 2011-01-05 | 1 | -2/+2 |
| | | | | SVN-Revision: 24911 | ||||
* | mtd: Added fixtrx for brcm63xx imagetag. This allows brcm63xx boards which ↵ | Daniel Dickinson | 2010-12-26 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | mtd: Changed mtd_fixtrx and related functions to be weak references. The ↵ | Daniel Dickinson | 2010-12-26 | 1 | -106/+23 |
| | | | | | | | | weak references only lead to actual functions for brcm47xx Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> SVN-Revision: 24833 | ||||
* | mtd: whitespace cleanup | Jo-Philipp Wich | 2010-11-24 | 1 | -1/+1 |
| | | | | SVN-Revision: 24135 | ||||
* | mtd: fix r24132 | Jo-Philipp Wich | 2010-11-24 | 1 | -29/+29 |
| | | | | SVN-Revision: 24134 | ||||
* | package/mtd: (enhancement) add option to prevent erase when writing to ↵ | Alexandros C. Couloumbis | 2010-11-24 | 1 | -1/+10 |
| | | | | | | flash. (closes #8308) SVN-Revision: 24132 | ||||
* | package/mtd: write remaining data after adding file to the jffs2 partition | Gabor Juhos | 2010-09-03 | 1 | -7/+29 |
| | | | | SVN-Revision: 22881 | ||||
* | package/mtd: add fixtrx command | Gabor Juhos | 2010-03-27 | 1 | -2/+109 |
| | | | | | | | * patch by Bernhard Loos * note: trailing whitespaces are removed SVN-Revision: 20524 | ||||
* | mtd: fix typo (thx, Plouj) | Felix Fietkau | 2010-01-21 | 1 | -1/+1 |
| | | | | SVN-Revision: 19263 | ||||
* | mtd: fix wrong open() return code checks | Felix Fietkau | 2009-09-21 | 1 | -6/+6 |
| | | | | SVN-Revision: 17666 | ||||
* | mtd: update copyright headers | Felix Fietkau | 2009-09-21 | 1 | -5/+4 |
| | | | | SVN-Revision: 17660 | ||||
* | mtd: add support for rewriting the fis table layout on redboot based systems | Felix Fietkau | 2009-09-21 | 1 | -50/+199 |
| | | | | SVN-Revision: 17659 | ||||
* | fix jffs2 eof marker search in mtd (patch by Daniel Dickinson) | Felix Fietkau | 2009-09-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 17522 | ||||
* | get rid of $Id$ - it has never helped us and it has broken too many patches ;) | Felix Fietkau | 2009-04-17 | 1 | -1/+0 |
| | | | | SVN-Revision: 15242 | ||||
* | remove accidentally committed debug message | Felix Fietkau | 2008-10-02 | 1 | -3/+1 |
| | | | | SVN-Revision: 12827 | ||||
* | mtd: fix image check on non-broadcom platforms | Felix Fietkau | 2008-10-02 | 1 | -1/+1 |
| | | | | SVN-Revision: 12825 | ||||
* | fix some warnings | Felix Fietkau | 2008-09-25 | 1 | -1/+3 |
| | | | | SVN-Revision: 12707 | ||||
* | mtd: improve support for reading input from a pipe. fixes sysupgrade | Felix Fietkau | 2008-09-25 | 1 | -9/+21 |
| | | | | SVN-Revision: 12706 | ||||
* | clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices | Felix Fietkau | 2008-09-23 | 1 | -72/+12 |
| | | | | SVN-Revision: 12655 | ||||
* | mtd: use broadcom specific code on linux 2.6 as well | Felix Fietkau | 2008-09-22 | 1 | -0/+4 |
| | | | | SVN-Revision: 12651 | ||||
* | add support for appending a file to jffs2 during reflash on the fly | Felix Fietkau | 2008-08-08 | 1 | -26/+49 |
| | | | | SVN-Revision: 12250 | ||||
* | add sysupgrade script for config preserving system upgrades. only ↵ | Felix Fietkau | 2007-08-21 | 1 | -1/+1 |
| | | | | | | implemented for x86-2.6 at the moment, but can be ported to other platforms easily SVN-Revision: 8456 | ||||
* | cleanup mtd, implement jffs2write - one step closer to config preserving ↵ | Felix Fietkau | 2007-08-20 | 1 | -124/+171 |
| | | | | | | system upgrades SVN-Revision: 8444 | ||||
* | add 'mtd refresh' command | Felix Fietkau | 2007-08-19 | 1 | -1/+32 |
| | | | | SVN-Revision: 8439 | ||||
* | Add a "Rebooting ..." message to the mtd util | Mike Baker | 2007-05-10 | 1 | -1/+2 |
| | | | | SVN-Revision: 7159 | ||||
* | change handling of non-trx files | Mike Baker | 2007-04-10 | 1 | -13/+2 |
| | | | | SVN-Revision: 6924 | ||||
* | fallback when devfs names aren't found | Mike Baker | 2007-03-09 | 1 | -1/+6 |
| | | | | SVN-Revision: 6541 | ||||
* | add reboot fix for mtd (thanks, wbx) | Felix Fietkau | 2006-11-26 | 1 | -4/+8 |
| | | | | SVN-Revision: 5645 | ||||
* | fix mtd compile | Felix Fietkau | 2006-11-12 | 1 | -1/+1 |
| | | | | SVN-Revision: 5505 | ||||
* | ignore mtd erase errors (will probably be required for nand flash) | Felix Fietkau | 2006-10-25 | 1 | -5/+2 |
| | | | | SVN-Revision: 5292 | ||||
* | turn target runtime check of mtd into a compile-time check | Felix Fietkau | 2006-10-24 | 1 | -18/+6 |
| | | | | SVN-Revision: 5285 | ||||
* | improve mtd image check - don't check trx header if the target partition is ↵ | Felix Fietkau | 2006-10-23 | 1 | -10/+15 |
| | | | | | | not 'linux', don't display image check messages with -qq and -f, fixes #850 SVN-Revision: 5269 | ||||
* | finally move buildroot-ng to trunk | Felix Fietkau | 2016-03-20 | 1 | -0/+475 |