aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src
Commit message (Collapse)AuthorAgeFilesLines
* package/mtd: make fixtrx available on ar71xx as wellGabor Juhos2011-01-052-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added OpenWRT-specific field to imagetag so that we can record the real root ↵Daniel Dickinson2010-12-261-3/+3
| | | | | | | | length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Added trx_fixup for brcm63xx imagetag, and made references to fix_trx ↵Daniel Dickinson2010-12-262-6/+77
| | | | | | | | use the weak reference rather than the brcm47xx ifdef. This fixes a bug in which sysupgrade failed due to changing bad CRC on reboot. Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Added fixtrx for brcm63xx imagetag. This allows brcm63xx boards which ↵Daniel Dickinson2010-12-264-1/+247
| | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: Changed mtd_fixtrx and related functions to be weak references. The ↵Daniel Dickinson2010-12-263-115/+120
| | | | | | | | weak references only lead to actual functions for brcm47xx Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: whitespace cleanupJo-Philipp Wich2010-11-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: fix r24132Jo-Philipp Wich2010-11-241-29/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: (enhancement) add option to prevent erase when writing to ↵Alexandros C. Couloumbis2010-11-241-1/+10
| | | | | | flash. (closes #8308) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: write remaining data after adding file to the jffs2 partitionGabor Juhos2010-09-032-8/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: request locked pages when mmap'ing the FIS table, cures ↵Jo-Philipp Wich2010-06-161-1/+1
| | | | | | | | | | random segfaults in table rewrite until http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2d4dc890b5c8fabd818a8586607e6843c4375e62 is added. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: fix automatic partition size detection in fis_remapGabor Juhos2010-03-281-7/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: add fixtrx commandGabor Juhos2010-03-272-4/+110
| | | | | | | | * patch by Bernhard Loos * note: trailing whitespaces are removed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20524 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/mtd: reuse existing crc32 stuff in the trx codeGabor Juhos2010-03-272-34/+9
| | | | | | | | * patch by Bernhard Loos * note: fixed compiler error on brcm47xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix typo (thx, Plouj)Felix Fietkau2010-01-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mtd: treat failure to open FIS partition as fatal when a ↵Jo-Philipp Wich2010-01-191-1/+1
| | | | | | fis_layout is given, aborts mtd write if reformat is needed and FIS table not available git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix wrong open() return code checksFelix Fietkau2009-09-212-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: update copyright headersFelix Fietkau2009-09-213-5/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add support for rewriting the fis table layout on redboot based systemsFelix Fietkau2009-09-214-50/+443
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)Felix Fietkau2009-09-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-173-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove accidentally committed debug messageFelix Fietkau2008-10-021-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix image check on non-broadcom platformsFelix Fietkau2008-10-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix some warningsFelix Fietkau2008-09-252-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: improve support for reading input from a pipe. fixes sysupgradeFelix Fietkau2008-09-251-9/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up mtd, fix up trx header when integrating jffs2 data on broadcom devicesFelix Fietkau2008-09-235-78/+204
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: use broadcom specific code on linux 2.6 as wellFelix Fietkau2008-09-221-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add jffs2 cleanmarker for big endian systemsFelix Fietkau2008-08-281-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for appending a file to jffs2 during reflash on the flyFelix Fietkau2008-08-083-58/+109
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵Felix Fietkau2007-08-212-3/+6
| | | | | | implemented for x86-2.6 at the moment, but can be ported to other platforms easily git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oops. forgot one fileFelix Fietkau2007-08-201-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleanup mtd, implement jffs2write - one step closer to config preserving ↵Felix Fietkau2007-08-207-134/+809
| | | | | | system upgrades git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add 'mtd refresh' commandFelix Fietkau2007-08-192-1/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a "Rebooting ..." message to the mtd utilMike Baker2007-05-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change handling of non-trx filesMike Baker2007-04-101-13/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fallback when devfs names aren't foundMike Baker2007-03-091-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add reboot fix for mtd (thanks, wbx)Felix Fietkau2006-11-261-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mtd compileFelix Fietkau2006-11-123-2/+306
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ignore mtd erase errors (will probably be required for nand flash)Felix Fietkau2006-10-251-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* turn target runtime check of mtd into a compile-time checkFelix Fietkau2006-10-241-18/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improve mtd image check - don't check trx header if the target partition is ↵Felix Fietkau2006-10-231-10/+15
| | | | | | not 'linux', don't display image check messages with -qq and -f, fixes #850 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move source file to src/.Nicolas Thill2006-06-182-0/+487
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3991 3c298f89-4303-0410-b956-a3cf2f4a3e73