summaryrefslogtreecommitdiffstats
path: root/fastboot/fs.c
Commit message (Collapse)AuthorAgeFilesLines
* fastboot: fix windows sdk build (don't do f2fs dyn load on windows)JP Abgrall2014-06-171-3/+6
| | | | | | | | Only do f2fs dynamic loading on linux. Adds a stub for windows builds. Change-Id: I7bbaaa1b2ff5992709d904b7ace40ae263d32922 Signed-off-by: JP Abgrall <jpa@google.com>
* F2FS support for fastboot format and fsmgrJP Abgrall2014-06-171-3/+9
| | | | | | | | | | | | | - Enables fsck.f2fs for partitions with type F2FS. - Adds support for f2fs as format fs-type. - f2fs is optional and support is dlopen()d when needed. Needs changes in system/extras/f2fs_utils external/f2fs-tools Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870 Signed-off-by: JP Abgrall <jpa@google.com>
* fastboot: support for overriding format fs-type and sizeJP Abgrall2014-05-061-2/+2
| | | | | | | | | | This changes allows overriding the fs-type and size that are normally returned by the booloader. This is in preparation for supporting other FSes. Change-Id: I8d141a0d4d14df9fe84d3b131484e9696fcd8870 Signed-off-by: JP Abgrall <jpa@google.com>
* fastboot: allow format on devices with small buffersDmitry Grinberg2014-05-061-0/+56
Formatting large partitions on devices with small transfer buffers did not work before since format used a strange path through the code to send data. It now uses the normal path. Also cleaned up a bit. FS code now lives in a separate file and the custom path for format is gone. Change-Id: If4e01cabc2e250b7c02ca7ce8c268e51d49e1529