1 comment "UBI debugging options"
11 This option enables UBI debugging.
13 config MTD_UBI_DEBUG_MSG
14 bool "UBI debugging messages"
15 depends on MTD_UBI_DEBUG
18 This option enables UBI debugging messages.
20 config MTD_UBI_DEBUG_PARANOID
21 bool "Extra self-checks"
23 depends on MTD_UBI_DEBUG
25 This option enables extra checks in UBI code. Note this slows UBI down
28 config MTD_UBI_DEBUG_DISABLE_BGT
29 bool "Do not enable the UBI background thread"
30 depends on MTD_UBI_DEBUG
33 This option switches the background thread off by default. The thread
34 may be also be enabled/disabled via UBI sysfs.
36 config MTD_UBI_DEBUG_USERSPACE_IO
37 bool "Direct user-space write/erase support"
39 depends on MTD_UBI_DEBUG
41 By default, users cannot directly write and erase individual
42 eraseblocks of dynamic volumes, and have to use update operation
43 instead. This option enables this capability - it is very useful for
44 debugging and testing.
46 config MTD_UBI_DEBUG_EMULATE_BITFLIPS
47 bool "Emulate flash bit-flips"
48 depends on MTD_UBI_DEBUG
51 This option emulates bit-flips with probability 1/50, which in turn
52 causes scrubbing. Useful for debugging and stressing UBI.
54 config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
55 bool "Emulate flash write failures"
56 depends on MTD_UBI_DEBUG
59 This option emulates write failures with probability 1/100. Useful for
60 debugging and testing how UBI handlines errors.
62 config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
63 bool "Emulate flash erase failures"
64 depends on MTD_UBI_DEBUG
67 This option emulates erase failures with probability 1/100. Useful for
68 debugging and testing how UBI handlines errors.
70 menu "Additional UBI debugging messages"
71 depends on MTD_UBI_DEBUG
73 config MTD_UBI_DEBUG_MSG_BLD
74 bool "Additional UBI initialization and build messages"
76 depends on MTD_UBI_DEBUG
78 This option enables detailed UBI initialization and device build
81 config MTD_UBI_DEBUG_MSG_EBA
82 bool "Eraseblock association unit messages"
84 depends on MTD_UBI_DEBUG
86 This option enables debugging messages from the UBI eraseblock
89 config MTD_UBI_DEBUG_MSG_WL
90 bool "Wear-leveling unit messages"
92 depends on MTD_UBI_DEBUG
94 This option enables debugging messages from the UBI wear-leveling
97 config MTD_UBI_DEBUG_MSG_IO
98 bool "Input/output unit messages"
100 depends on MTD_UBI_DEBUG
102 This option enables debugging messages from the UBI input/output unit.
104 endmenu # UBI debugging messages