Книга: Embedded Linux Primer: A Practical, Real-World Approach

Appendix B. U-Boot Configurable Commands

Appendix B. U-Boot Configurable Commands

U-Boot has more than 60 configurable commands. These are summarized here in Table B-1 from a recent U-Boot snapshot. In addition to these are a large number of nonstandard commands, some of which depend on specific hardware or are experimental. For the complete and up-to-date listing, consult the source code. The commands are defined in the .../include/cmd_confdefs.h header file from the top-level U-Boot source directory.

Table B-1. U-Boot Configurable Commands

Command Set Commands
CFG_CMD_BDI bdinfo
CFG_CMD_LOADS loads
CFG_CMD_LOADB loadb
CFG_CMD_IMI iminfo
CFG_CMD_CACHE icache, dcache
CFG_CMD_FLASH flinfo, erase, protect
CFG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base, loop, mtest
CFG_CMD_NET bootp, tftpboot, rarpboot
CFG_CMD_ENV saveenv
CFG_CMD_KGDB kgdb
CFG_CMD_PCMCIA PCMCIA support
CFG_CMD_IDE IDE hard disk support
CFG_CMD_PCI pciinfo
CFG_CMD_IRQ irqinfo
CFG_CMD_BOOTD bootd
CFG_CMD_CONSOLE coninfo
CFG_CMD_EEPROM EEPROM read/write support
CFG_CMD_ASKENV ask for environment variable
CFG_CMD_RUN run command in environment variable
CFG_CMD_ECHO echo arguments
CFG_CMD_I2C I2C serial bus support
CFG_CMD_REGINFO Register dump
CFG_CMD_IMMAP IMMR dump support
CFG_CMD_DATE Support for RTC, date/time, and so on.
CFG_CMD_DHCP DHCP support
CFG_CMD_BEDBUG Includes BedBug debugger
CFG_CMD_FDC Floppy disk support
CFG_CMD_SCSI SCSI support
CFG_CMD_AUTOSCRIPT Autoscript support
CFG_CMD_MII MII support
CFG_CMD_SETGETDCR DCR support on 4xx
CFG_CMD_BSP Board-specific functions
CFG_CMD_ELF ELF (VxWorks) load/boot command
CFG_CMD_MISC Miscellaneous functions, such as sleep
CFG_CMD_USB USB support
CFG_CMD_DOC Disk-on-chip support
CFG_CMD_JFFS2 JFFS2 support
CFG_CMD_DTT Digital therm and thermostat
CFG_CMD_SDRAM SDRAM DIMM SPD info printout
CFG_CMD_DIAG Diagnostics
CFG_CMD_FPGA FPGA configuration support
CFG_CMD_HWFLOW RTS/CTS hardware flow control
CFG_CMD_SAVES Saves S record dump
CFG_CMD_SPI SPI utility
CFG_CMD_FDOS Floppy DOS support
CFG_CMD_VFD VFD support (TRAB)
CFG_CMD_NAND NAND support
CFG_CMD_BMP BMP support
CFG_CMD_PORTIO Port I/O
CFG_CMD_PING Ping support
CFG_CMD_MMC MMC support
CFG_CMD_FAT FAT support
CFG_CMD_IMLS Lists all found images
CFG_CMD_ITEST Integer (and string) test
CFG_CMD_NFS NFS support
CFG_CMD_REISER Reiserfs support
CFG_CMD_CDP Cisco Discovery Protocol
CFG_CMD_XIMG Loads part of multi-image
CFG_CMD_UNIVERSE Tundra Universe support
CFG_CMD_EXT2 EXT2 support
CFG_CMD_SNTP SNTP support
CFG_CMD_DISPLAY Display support

Оглавление книги


Генерация: 1.396. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз