aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src/fis.c
Commit message (Collapse)AuthorAgeFilesLines
* packages: clean up the package folderJohn Crispin2013-06-211-262/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
* mtd - remove partition table assumption when writing fis tableJo-Philipp Wich2012-07-041-3/+13
| | | | | | | | | | | | | | | | | 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
* mtd: request locked pages when mmap'ing the FIS table, cures random ↵Jo-Philipp Wich2010-06-161-1/+1
| | | | | | 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
* package/mtd: fix automatic partition size detection in fis_remapGabor Juhos2010-03-281-7/+19
| | | | SVN-Revision: 20537
* mtd: treat failure to open FIS partition as fatal when a fis_layout is ↵Jo-Philipp Wich2010-01-191-1/+1
| | | | | | given, aborts mtd write if reformat is needed and FIS table not available SVN-Revision: 19231
* mtd: update copyright headersFelix Fietkau2009-09-211-0/+14
| | | | SVN-Revision: 17660
* mtd: add support for rewriting the fis table layout on redboot based systemsFelix Fietkau2009-09-211-0/+226
SVN-Revision: 17659