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
jow
800c8c564b
[package] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-16 23:34:38 +00:00
juhosg
a24b24783c
package/mtd: fix automatic partition size detection in fis_remap
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 07:16:27 +00:00
juhosg
07f362a34d
package/mtd: add fixtrx command
...
* patch by Bernhard Loos
* note: trailing whitespaces are removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:33 +00:00
juhosg
60d74152dd
package/mtd: reuse existing crc32 stuff in the trx code
...
* 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
2010-03-27 17:38:30 +00:00
nbd
9b205741b6
mtd: fix typo (thx, Plouj)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-21 23:48:52 +00:00
jow
baab9a6aec
[package] 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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19 21:28:22 +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
3a0a80e129
mtd: add support for rewriting the fis table layout on redboot based systems
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 09:58:41 +00:00
nbd
e04d6b1f56
fix jffs2 eof marker search in mtd (patch by Daniel Dickinson)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-05 23:38:51 +00:00
nbd
796a9d1091
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
nbd
816a2302d9
remove accidentally committed debug message
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-02 18:31:26 +00:00
nbd
64c023294f
mtd: fix image check on non-broadcom platforms
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-02 18:19: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
8114ef99e3
mtd: improve support for reading input from a pipe. fixes sysupgrade
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 18:24:18 +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
093822cb53
mtd: use broadcom specific code on linux 2.6 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-22 17:06:03 +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
be7a97c144
oops. forgot one file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-20 21:27:29 +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
nbd
4f8894887d
add 'mtd refresh' command
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-19 21:53:44 +00:00
mbm
2e59ffe7de
Add a "Rebooting ..." message to the mtd util
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 08:54:37 +00:00
mbm
70020451ee
change handling of non-trx files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-10 14:46:15 +00:00
mbm
75f5660b07
fallback when devfs names aren't found
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-09 08:58:37 +00:00
nbd
1967751704
add reboot fix for mtd (thanks, wbx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-26 01:03:21 +00:00
nbd
91244ebf6b
fix mtd compile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:45:59 +00:00
nbd
053826c1ef
ignore mtd erase errors (will probably be required for nand flash)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-25 19:47:09 +00:00
nbd
f66fe68a96
turn target runtime check of mtd into a compile-time check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-24 18:11:33 +00:00
nbd
641016ec3d
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-23 14:52:04 +00:00
nico
91c63e9822
move source file to src/.
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:03:31 +00:00