1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 02:29:43 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
nbd
a596792a94 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 17:28:32 +00:00
cshore
449cb3140d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:08 +00:00
juhosg
b73df9f67e package/mtd: write remaining data after adding file to the jffs2 partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:32 +00:00
nbd
f0c31da5a2 mtd: fix wrong open() return code checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 19:13:34 +00:00
nbd
2c2e02d729 mtd: update copyright headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 10:09:02 +00:00
nbd
a7c35fcd0d fix some warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 18:24:53 +00:00
nbd
82cd54f3ea clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 09:23:58 +00:00
nbd
da0a101791 mtd: add jffs2 cleanmarker for big endian systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:22 +00:00
nbd
201ca503a1 add support for appending a file to jffs2 during reflash on the fly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 22:43:19 +00:00
nbd
6c1223e189 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:23:57 +00:00
nbd
c52dd373c6 cleanup mtd, implement jffs2write - one step closer to config preserving system upgrades
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-20 16:12:24 +00:00