| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We do not use anything from it, and it is not available with all libcs.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34294
|
|
|
|
|
|
|
|
|
|
|
|
| |
Export bcm963xx_tag.h so mtd can use it without using kernel includes.
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
from original location, refresh patches, use a more matching patch
number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 34103
|
|
|
|
|
|
| |
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33841
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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: 17660
|
|
|
|
| |
SVN-Revision: 17659
|
|
|
|
| |
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: 12418
|
|
|
|
| |
SVN-Revision: 12250
|
|
|
|
|
|
| |
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: 5505
|
|
|
|
| |
SVN-Revision: 5292
|
|
|
|
| |
SVN-Revision: 5285
|
|
|
|
|
|
| |
not 'linux', don't display image check messages with -qq and -f, fixes #850
SVN-Revision: 5269
|