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