9
0
Fork 0
barebox/lib
Sascha Hauer 3dca2b0bf7 ubiformat: Fix formatting devices with unreadable areas
When parts of a Nand device are not readable due to excessive bit flips
we should not bail out with an error as this means we can never repair
the device by flashing a fresh image using ubiformat. Instead, treat a
failed read as a corrupt block and ignore the read failure.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-05-20 07:58:07 +02:00
..
bootstrap Merge branch 'for-next/misc' 2016-01-11 13:11:06 +01:00
fonts font: fbconsole: add custom font supports 2015-11-23 08:21:08 +01:00
gui graphics_utils: check for valid framebuffer before creating a screen 2015-11-13 08:37:13 +01:00
logo string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
lz4 lz4: fix another possible overrun 2014-07-02 08:19:45 +02:00
lzo treewide: fix 'new blank line at EOF' formatting error 2015-07-02 09:39:58 +02:00
reed_solomon lib: Import reed solomon code from kernel 2015-12-10 08:49:52 +01:00
xz decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
zlib_inflate decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
Kconfig remove now unused libmtd 2016-04-06 10:17:52 +02:00
Makefile Add list_sort from u-boot v2016.03 2016-04-08 13:33:18 +02:00
bcd.c lib: import 'bcd' from linux-3.15 2014-07-31 07:30:51 +02:00
bch.c lib: add BCH encoding/decoding 2012-01-02 12:34:58 +01:00
bitmap.c lib: Add bitmap functions from kernel 2014-07-17 23:01:15 +02:00
bitrev.c lib: add bitrev utility 2012-01-02 12:34:58 +01:00
bzlib_private.h NULL: keep NULL definition in stddef.h only 2016-04-14 08:00:26 +02:00
cmdlinepart.c cmndlinepart: skip devname if partstr already contains it 2015-02-12 09:33:44 +01:00
ctype.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
decompress_bunzip2.c lib: decompress: remove redundant INT_MAX define 2015-01-21 14:58:07 +01:00
decompress_inflate.c decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
decompress_unlz4.c decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
decompress_unlzo.c decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
decompress_unxz.c decompressors: Use malloc/free wrappers 2016-04-08 13:33:18 +02:00
display_options.c lib: declared buffer is too small to hold string 2016-04-12 08:05:35 +02:00
div64.c svn_rev_639 2007-07-05 18:02:12 +02:00
find_next_bit.c U-Boot-V2:Bitops: asm-generic bitops 2008-08-15 08:47:49 +02:00
fnmatch.c treewide: fix 'new blank line at EOF' formatting error 2015-07-02 09:39:58 +02:00
gcd.c lib: Add gcd() function 2015-03-05 09:11:33 +01:00
getopt.c getopt: change optstring to const char* 2013-02-11 20:57:34 +01:00
glob.c whole tree: remove trailing whitespaces 2016-04-21 15:17:52 +02:00
hexdump.c lib: Add hex2bin and bin2hex implementations 2015-03-13 08:22:27 +01:00
kfifo.c lib: fix whitespace, drop blank lines at EOF 2014-01-06 09:24:22 +01:00
libbb.c move file helper functions to separate file 2014-08-07 06:13:51 +02:00
libfile.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
libgen.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
libscan.c ubiformat: Fix formatting devices with unreadable areas 2016-05-20 07:58:07 +02:00
libubigen.c ubiformat: Use mtd-peb API 2016-04-06 10:17:52 +02:00
list_sort.c Add list_sort from u-boot v2016.03 2016-04-08 13:33:18 +02:00
make_directory.c move make_directory declaration to libfile.h 2016-04-15 12:21:45 +02:00
math.c lib: math: Return NULL pointer 2014-02-24 08:59:04 +01:00
misc.c lib: Add hex2bin and bin2hex implementations 2015-03-13 08:22:27 +01:00
notifier.c lib: fix whitespace, drop blank lines at EOF 2014-01-06 09:24:22 +01:00
parameter.c Merge branch 'for-next/include-cleanup' 2016-05-09 08:49:42 +02:00
process_escape_sequence.c process_escape_sequence: add support for \u 2016-02-17 13:50:45 +01:00
qsort.c qsort: Fix wrong check 2012-08-03 08:28:18 +02:00
random.c treewide: fix 'new blank line at EOF' formatting error 2015-07-02 09:39:58 +02:00
ratp.c Add Reliable Asynchronous Transfer Protocol 2016-01-18 09:25:04 +01:00
rbtree.c whole tree: remove trailing whitespaces 2016-04-21 15:17:52 +02:00
readkey.c stdio: rename getc to getchar 2016-04-15 12:21:46 +02:00
readline.c Merge branch 'for-next/ratp' 2016-02-08 08:27:01 +01:00
readline_simple.c stdio: rename getc to getchar 2016-04-15 12:21:46 +02:00
recursive_action.c rm: implement -r 2012-11-29 20:21:29 +01:00
show_progress.c show_progress: print spaces with %*s 2016-04-15 12:21:45 +02:00
stmp-device.c ARM: MXS: introduce stmp device support 2013-07-23 16:25:13 +02:00
string.c string: Introduce strtobool 2016-04-29 11:29:25 +02:00
stringlist.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
strtox.c treewide: fix 'new blank line at EOF' formatting error 2015-07-02 09:39:58 +02:00
uncompress.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
unlink-recursive.c move unlink_recursive declaration to libfile.h 2016-04-15 12:21:45 +02:00
vsprintf.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
wchar.c lib: add wchar strdup 2014-12-09 09:59:10 +01:00
xfuncs.c string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
xymodem.c xymodem.c: fix compiler warning 2012-11-26 08:56:25 +01:00