| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Use the image tag header from the kernel instead of an external header
file.
SVN-Revision: 33654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
* vmlinux.bin.l7 0xA8710000
* rootfs 0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 32601
|
|
|
|
|
|
|
|
|
| |
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.
Signed-off-by: Marek Linder <lindner_marek@yahoo.de>
SVN-Revision: 32600
|
|
|
|
| |
SVN-Revision: 30340
|
|
|
|
|
|
| |
$(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain
SVN-Revision: 29779
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 27358
|
|
|
|
| |
SVN-Revision: 24911
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
weak references only lead to actual functions for brcm47xx
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>
SVN-Revision: 24833
|
|
|
|
| |
SVN-Revision: 24135
|
|
|
|
| |
SVN-Revision: 24134
|
|
|
|
|
|
| |
flash. (closes #8308)
SVN-Revision: 24132
|
|
|
|
| |
SVN-Revision: 22881
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 20537
|
|
|
|
|
|
|
| |
* patch by Bernhard Loos
* note: trailing whitespaces are removed
SVN-Revision: 20524
|
|
|
|
|
|
|
| |
* patch by Bernhard Loos
* note: fixed compiler error on brcm47xx
SVN-Revision: 20523
|
|
|
|
| |
SVN-Revision: 19263
|
|
|
|
|
|
| |
given, aborts mtd write if reformat is needed and FIS table not available
SVN-Revision: 19231
|
|
|
|
| |
SVN-Revision: 17666
|
|
|
|
| |
SVN-Revision: 17661
|
|
|
|
| |
SVN-Revision: 17660
|
|
|
|
| |
SVN-Revision: 17659
|
|
|
|
| |
SVN-Revision: 17554
|
|
|
|
| |
SVN-Revision: 17522
|
|
|
|
| |
SVN-Revision: 15242
|
|
|
|
| |
SVN-Revision: 12827
|
|
|
|
| |
SVN-Revision: 12825
|
|
|
|
| |
SVN-Revision: 12707
|
|
|
|
| |
SVN-Revision: 12706
|
|
|
|
| |
SVN-Revision: 12655
|
|
|
|
| |
SVN-Revision: 12651
|
|
|
|
| |
SVN-Revision: 12650
|
|
|
|
| |
SVN-Revision: 12418
|
|
|
|
| |
SVN-Revision: 12250
|
|
|
|
|
|
| |
DESCRIPTION=TITLE
SVN-Revision: 8659
|
|
|
|
|
|
| |
implemented for x86-2.6 at the moment, but can be ported to other platforms easily
SVN-Revision: 8456
|
|
|
|
| |
SVN-Revision: 8445
|
|
|
|
|
|
| |
system upgrades
SVN-Revision: 8444
|
|
|
|
| |
SVN-Revision: 8439
|
|
|
|
| |
SVN-Revision: 7159
|
|
|
|
| |
SVN-Revision: 6924
|
|
|
|
| |
SVN-Revision: 6541
|
|
|
|
| |
SVN-Revision: 5645
|
|
|
|
| |
SVN-Revision: 5624
|
|
|
|
| |
SVN-Revision: 5512
|