Commit Graph

48 Commits (19eaf1c5f78afb7133e9208dd4d94938c19b3d08)

Author SHA1 Message Date
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 fc3a1d0ba3 Added OpenWRT-specific field to imagetag so that we can record the real root 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>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Daniel Dickinson b3bcc483b2 mtd: Added trx_fixup for brcm63xx imagetag, and made references to fix_trx 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>

SVN-Revision: 24837
2010-12-26 04:18:08 +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
Jo-Philipp Wich 2dcfed2eff mtd: request locked pages when mmap'ing the FIS table, cures 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.
SVN-Revision: 21823
2010-06-16 23:34:38 +00:00
Gabor Juhos ebab30b7c7 package/mtd: fix automatic partition size detection in fis_remap
SVN-Revision: 20537
2010-03-28 07:16:27 +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
Gabor Juhos 6758494897 package/mtd: reuse existing crc32 stuff in the trx code
* patch by Bernhard Loos
 * note: fixed compiler error on brcm47xx

SVN-Revision: 20523
2010-03-27 17:38:30 +00:00
Felix Fietkau 91dc246123 mtd: fix typo (thx, Plouj)
SVN-Revision: 19263
2010-01-21 23:48:52 +00:00
Jo-Philipp Wich c8e7192064 mtd: treat failure to open FIS partition as fatal when a fis_layout is given, aborts mtd write if reformat is needed and FIS table not available
SVN-Revision: 19231
2010-01-19 21:28:22 +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 9474d99dc0 mtd: bump release
SVN-Revision: 17661
2009-09-21 11:19:08 +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
Andy Boyett a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
2009-09-10 10:07:04 +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 413b45df85 fix mtd target define for brcm-2.4
SVN-Revision: 12650
2008-09-22 17:03:06 +00:00
Felix Fietkau 4ac7d33b7a mtd: add jffs2 cleanmarker for big endian systems
SVN-Revision: 12418
2008-08-28 00:15:22 +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
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +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 ff917433fb oops. forgot one file
SVN-Revision: 8445
2007-08-20 21:27:29 +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 c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
2006-11-23 00:29:07 +00:00
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
2006-11-12 05:06:56 +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