diff options
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 66 |
1 files changed, 64 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 29de857ba7c..5fcf37e67b9 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1238,6 +1238,7 @@ config CMD_FPGAD config CMD_FUSE bool "fuse - support for the fuse subssystem" + depends on !COMPILE_TEST help (deprecated - needs conversion to driver model) This allows reading, sensing, programming or overriding fuses @@ -1289,6 +1290,7 @@ config CMD_GPT_RENAME config CMD_IDE bool "ide - Support for IDE drivers" + depends on !COMPILE_TEST select IDE help Provides an 'ide' command which allows accessing the IDE drive, @@ -1306,12 +1308,23 @@ config CMD_IO config CMD_IOTRACE bool "iotrace - Support for tracing I/O activity" + depends on IO_TRACE help Provides an 'iotrace' command which supports recording I/O reads and writes in a trace buffer in memory . It also maintains a checksum of the trace records (even if space is exhausted) so that the sequence of I/O accesses can be verified. + Example output from the 'iotrace stats' command is below. + + iotrace is enabled + Start: 10000000 (buffer start address) + Size: 00010000 (buffer size) + Offset: 00000120 (current buffer offset) + Output: 10000120 (start + offset) + Count: 00000018 (number of trace records) + CRC32: 9526fb66 (CRC32 of all trace records) + When debugging drivers it is useful to see what I/O accesses were done and in what order. @@ -1511,6 +1524,44 @@ config CMD_MTD_OTP help MTD commands for OTP access. +config CMD_MTD_MARKBAD + bool "mtd markbad" + depends on CMD_MTD + help + MTD markbad command support. + + This is a clone of "nand markbad" command, but for 'mtd' subsystem. + +config CMD_MTD_NAND_WRITE_TEST + bool "mtd nand_write_test (destructive)" + depends on CMD_MTD + help + MTD nand_write_test command support. + + Writes blocks of NAND flash with different patterns. + This is useful to determine if a block that caused a write error + is still good or should be marked as bad. + + This is a clone of "nand torture" command, but for 'mtd' subsystem. + + WARNING: This test will destroy any data on blocks being tested. + +config CMD_MTD_NAND_READ_TEST + bool "mtd nand_read_test" + depends on CMD_MTD + help + MTD nand_read_test command support. + + Reads blocks of NAND flash in normal and raw modes and compares results. + The following statuses can be returned for a block: + * non-ecc reading failed, + * ecc reading failed, + * block is bad, + * bitflips is above maximum, + * actual number of biflips above reported one, + * bitflips reached it maximum value, + * block is ok. + config CMD_MUX bool "mux" depends on MULTIPLEXER @@ -1558,6 +1609,7 @@ config CMD_NVME config CMD_ONENAND bool "onenand - access to onenand device" depends on MTD + depends on !COMPILE_TEST help OneNAND is a brand of NAND ('Not AND' gate) flash which provides various useful features. This command allows reading, writing, @@ -1567,6 +1619,7 @@ config CMD_ONENAND config USE_ONENAND_BOARD_INIT bool "Call onenand_board_init() in the onenand command" depends on CMD_ONENAND + depends on !COMPILE_TEST config CMD_OSD bool "osd" @@ -1791,6 +1844,14 @@ endmenu menu "Shell scripting commands" + +config CMD_C5_PL330_DMA + bool "Release Reset DMA Channels for PL330 Handshake" + depends on TARGET_SOCFPGA_CYCLONE5_SOCDK + help + Provides access to Reset Manager Per2ModRst. Enables DMA + channels for ARM PrimeCell PL330 via reset release. + config CMD_CAT bool "cat" help @@ -2425,7 +2486,7 @@ config CMD_SLEEP config CMD_MP bool "support for multiprocessor commands" - depends on MP + depends on MP && !CPU default y help This enables commands to bringup different processors @@ -2883,6 +2944,7 @@ config JFFS2_PART_SIZE config CMD_MTDPARTS bool "MTD partition support" + depends on !COMPILE_TEST depends on MTD select MTD_PARTITIONS help @@ -2996,7 +3058,7 @@ config CMD_EVENT config CMD_IRQ bool "irq - Show information about interrupts" - depends on !ARM && !MIPS && !RISCV && !SH + depends on NIOS2 || PPC || X86 help This enables two commands: |