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_EMULATE_BITFLIPS
37 bool "Emulate flash bit-flips"
38 depends on MTD_UBI_DEBUG
41 This option emulates bit-flips with probability 1/50, which in turn
42 causes scrubbing. Useful for debugging and stressing UBI.
44 config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
45 bool "Emulate flash write failures"
46 depends on MTD_UBI_DEBUG
49 This option emulates write failures with probability 1/100. Useful for
50 debugging and testing how UBI handlines errors.
52 config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
53 bool "Emulate flash erase failures"
54 depends on MTD_UBI_DEBUG
57 This option emulates erase failures with probability 1/100. Useful for
58 debugging and testing how UBI handlines errors.
60 menu "Additional UBI debugging messages"
61 depends on MTD_UBI_DEBUG
63 config MTD_UBI_DEBUG_MSG_BLD
64 bool "Additional UBI initialization and build messages"
66 depends on MTD_UBI_DEBUG
68 This option enables detailed UBI initialization and device build
71 config MTD_UBI_DEBUG_MSG_EBA
72 bool "Eraseblock association unit messages"
74 depends on MTD_UBI_DEBUG
76 This option enables debugging messages from the UBI eraseblock
79 config MTD_UBI_DEBUG_MSG_WL
80 bool "Wear-leveling unit messages"
82 depends on MTD_UBI_DEBUG
84 This option enables debugging messages from the UBI wear-leveling
87 config MTD_UBI_DEBUG_MSG_IO
88 bool "Input/output unit messages"
90 depends on MTD_UBI_DEBUG
92 This option enables debugging messages from the UBI input/output unit.
94 endmenu # UBI debugging messages