Commit Graph

48 Commits (5e48d47dfe7134080ef13fddb506a461d109a2de)

Author SHA1 Message Date
Gabor Juhos 091ea63719 package/mtd: don't append jffs2 data multiple times
SVN-Revision: 27358
13 years ago
Gabor Juhos 9abe5cf110 package/mtd: make fixtrx available on ar71xx as well
SVN-Revision: 24911
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Jo-Philipp Wich 2c63c1543e mtd: whitespace cleanup
SVN-Revision: 24135
14 years ago
Jo-Philipp Wich 04b604704b mtd: fix r24132
SVN-Revision: 24134
14 years ago
Alexandros C. Couloumbis f5a54d6601 package/mtd: (enhancement) add option to prevent erase when writing to flash. (closes #8308)
SVN-Revision: 24132
14 years ago
Gabor Juhos 2a541325d3 package/mtd: write remaining data after adding file to the jffs2 partition
SVN-Revision: 22881
14 years ago
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
14 years ago
Gabor Juhos ebab30b7c7 package/mtd: fix automatic partition size detection in fis_remap
SVN-Revision: 20537
14 years ago
Gabor Juhos 37712c70c5 package/mtd: add fixtrx command
* patch by Bernhard Loos
 * note: trailing whitespaces are removed

SVN-Revision: 20524
14 years ago
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
14 years ago
Felix Fietkau 91dc246123 mtd: fix typo (thx, Plouj)
SVN-Revision: 19263
15 years ago
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
15 years ago
Felix Fietkau 5b02773940 mtd: fix wrong open() return code checks
SVN-Revision: 17666
15 years ago
Felix Fietkau 9474d99dc0 mtd: bump release
SVN-Revision: 17661
15 years ago
Felix Fietkau a512be592f mtd: update copyright headers
SVN-Revision: 17660
15 years ago
Felix Fietkau 63c91af404 mtd: add support for rewriting the fis table layout on redboot based systems
SVN-Revision: 17659
15 years ago
Andy Boyett a5f80019ef bump some revisions and update copyrights
SVN-Revision: 17554
15 years ago
Felix Fietkau 40e46b9830 fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
SVN-Revision: 17522
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Felix Fietkau 0d71217695 remove accidentally committed debug message
SVN-Revision: 12827
16 years ago
Felix Fietkau 8f567ff728 mtd: fix image check on non-broadcom platforms
SVN-Revision: 12825
16 years ago
Felix Fietkau a38c409d6a fix some warnings
SVN-Revision: 12707
16 years ago
Felix Fietkau 5a0a3cbc00 mtd: improve support for reading input from a pipe. fixes sysupgrade
SVN-Revision: 12706
16 years ago
Felix Fietkau bbd9eb4669 clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices
SVN-Revision: 12655
16 years ago
Felix Fietkau d374e28a2b mtd: use broadcom specific code on linux 2.6 as well
SVN-Revision: 12651
16 years ago
Felix Fietkau 413b45df85 fix mtd target define for brcm-2.4
SVN-Revision: 12650
16 years ago
Felix Fietkau 4ac7d33b7a mtd: add jffs2 cleanmarker for big endian systems
SVN-Revision: 12418
16 years ago
Felix Fietkau 753e5b492d add support for appending a file to jffs2 during reflash on the fly
SVN-Revision: 12250
16 years ago
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
17 years ago
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
17 years ago
Felix Fietkau ff917433fb oops. forgot one file
SVN-Revision: 8445
17 years ago
Felix Fietkau a91350732c cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
SVN-Revision: 8444
17 years ago
Felix Fietkau 5307d511aa add 'mtd refresh' command
SVN-Revision: 8439
17 years ago
Mike Baker 9a66abf108 Add a "Rebooting ..." message to the mtd util
SVN-Revision: 7159
17 years ago
Mike Baker 653cfd2ff9 change handling of non-trx files
SVN-Revision: 6924
17 years ago
Mike Baker 99c848c555 fallback when devfs names aren't found
SVN-Revision: 6541
17 years ago
Felix Fietkau 97b0e81658 add reboot fix for mtd (thanks, wbx)
SVN-Revision: 5645
18 years ago
Felix Fietkau c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
18 years ago
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
18 years ago
Felix Fietkau 0f4a0fa10a fix mtd compile
SVN-Revision: 5505
18 years ago
Felix Fietkau 97e54a1932 ignore mtd erase errors (will probably be required for nand flash)
SVN-Revision: 5292
18 years ago
Felix Fietkau 426ecdecef turn target runtime check of mtd into a compile-time check
SVN-Revision: 5285
18 years ago
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
18 years ago
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 8 years ago