1
1
comment "UBI debugging options"
7
select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
11
9
This option enables UBI debugging.
13
13
config MTD_UBI_DEBUG_MSG
14
14
bool "UBI debugging messages"
15
depends on MTD_UBI_DEBUG
18
16
This option enables UBI debugging messages.
20
18
config MTD_UBI_DEBUG_PARANOID
21
19
bool "Extra self-checks"
23
depends on MTD_UBI_DEBUG
25
21
This option enables extra checks in UBI code. Note this slows UBI down
28
24
config MTD_UBI_DEBUG_DISABLE_BGT
29
25
bool "Do not enable the UBI background thread"
30
depends on MTD_UBI_DEBUG
33
27
This option switches the background thread off by default. The thread
34
28
may be also be enabled/disabled via UBI sysfs.
36
30
config MTD_UBI_DEBUG_EMULATE_BITFLIPS
37
31
bool "Emulate flash bit-flips"
38
depends on MTD_UBI_DEBUG
41
33
This option emulates bit-flips with probability 1/50, which in turn
42
34
causes scrubbing. Useful for debugging and stressing UBI.
44
36
config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
45
37
bool "Emulate flash write failures"
46
depends on MTD_UBI_DEBUG
49
39
This option emulates write failures with probability 1/100. Useful for
50
40
debugging and testing how UBI handlines errors.
52
42
config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
53
43
bool "Emulate flash erase failures"
54
depends on MTD_UBI_DEBUG
57
45
This option emulates erase failures with probability 1/100. Useful for
58
46
debugging and testing how UBI handlines errors.
60
menu "Additional UBI debugging messages"
61
depends on MTD_UBI_DEBUG
48
comment "Additional UBI debugging messages"
63
50
config MTD_UBI_DEBUG_MSG_BLD
64
51
bool "Additional UBI initialization and build messages"
66
depends on MTD_UBI_DEBUG
68
53
This option enables detailed UBI initialization and device build
69
54
debugging messages.
71
56
config MTD_UBI_DEBUG_MSG_EBA
72
57
bool "Eraseblock association unit messages"
74
depends on MTD_UBI_DEBUG
76
59
This option enables debugging messages from the UBI eraseblock
79
62
config MTD_UBI_DEBUG_MSG_WL
80
63
bool "Wear-leveling unit messages"
82
depends on MTD_UBI_DEBUG
84
65
This option enables debugging messages from the UBI wear-leveling
87
68
config MTD_UBI_DEBUG_MSG_IO
88
69
bool "Input/output unit messages"
90
depends on MTD_UBI_DEBUG
92
71
This option enables debugging messages from the UBI input/output unit.
94
endmenu # UBI debugging messages