Commit graph

7 commits

Author SHA1 Message Date
John Crispin
4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00
Felix Fietkau
5832e754fb mtd: fix trx_fixup
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
2012-07-25 17:28:32 +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
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
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
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