⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 ATMEL公司的AT91RM9200芯片在嵌入式系统中应用非常多
💻
📖 第 1 页 / 共 5 页
字号:
- Error Recovery:		CONFIG_PANIC_HANG		Define this variable to stop the system in case of a		fatal error, so that you have to reset it manually.		This is probably NOT a good idea for an embedded		system where you want to system to reboot		automatically as fast as possible, but it may be		useful during development since you can try to debug		the conditions that lead to the situation.		CONFIG_NET_RETRY_COUNT		This variable defines the number of retries for		network operations like ARP, RARP, TFTP, or BOOTP		before giving up the operation. If not defined, a		default value of 5 is used.- Command Interpreter:		CFG_HUSH_PARSER		Define this variable to enable the "hush" shell (from		Busybox) as command line interpreter, thus enabling		powerful command line syntax like		if...then...else...fi conditionals or `&&' and '||'		constructs ("shell scripts").		If undefined, you get the old, much simpler behaviour		with a somewhat smaller memory footprint.		CFG_PROMPT_HUSH_PS2		This defines the secondary prompt string, which is		printed when the command interpreter needs more input		to complete a command. Usually "> ".	Note:                In the current implementation, the local variables                space and global environment variables space are                separated. Local variables are those you define by                simply typing `name=value'. To access a local                variable later on, you have write `$name' or                `${name}'; to execute the contents of a variable                directly type `$name' at the command prompt.		Global environment variables are those you use		setenv/printenv to work with. To run a command stored		in such a variable, you need to use the run command,		and you must not use the '$' sign to access them.		To store commands and special characters in a		variable, please use double quotation marks		surrounding the whole text of the variable, instead		of the backslashes before semicolons and special		symbols.- Default Environment		CONFIG_EXTRA_ENV_SETTINGS		Define this to contain any number of null terminated		strings (variable = value pairs) that will be part of		the default enviroment compiled into the boot image.		For example, place something like this in your		board's config file:		#define CONFIG_EXTRA_ENV_SETTINGS \			"myvar1=value1\0" \			"myvar2=value2\0"		Warning: This method is based on knowledge about the		internal format how the environment is stored by the		U-Boot code. This is NOT an official, exported		interface! Although it is unlikely that this format		will change soon, but there is no guarantee either.		You better know what you are doing here.		Note: overly (ab)use of the default environment is		discouraged. Make sure to check other ways to preset		the environment like the autoscript function or the		boot command first.- DataFlash Support		CONFIG_HAS_DATAFLASH                Defining this option enables DataFlash features and                allows to read/write in Dataflash via the standard                commands cp, md...- Show boot progress		CONFIG_SHOW_BOOT_PROGRESS		Defining this option allows to add some board-		specific code (calling a user-provided function		"show_boot_progress(int)") that enables you to show		the system's boot progress on some display (for		example, some LED's) on your board. At the moment,		the following checkpoints are implemented:  Arg	Where			When    1	common/cmd_bootm.c	before attempting to boot an image   -1	common/cmd_bootm.c	Image header has bad     magic number    2	common/cmd_bootm.c	Image header has correct magic number   -2	common/cmd_bootm.c	Image header has bad     checksum    3	common/cmd_bootm.c	Image header has correct checksum   -3	common/cmd_bootm.c	Image data   has bad     checksum    4	common/cmd_bootm.c	Image data   has correct checksum   -4	common/cmd_bootm.c	Image is for unsupported architecture    5	common/cmd_bootm.c	Architecture check OK   -5	common/cmd_bootm.c	Wrong Image Type (not kernel, multi, standalone)    6	common/cmd_bootm.c	Image Type check OK   -6	common/cmd_bootm.c	gunzip uncompression error   -7	common/cmd_bootm.c	Unimplemented compression type    7	common/cmd_bootm.c	Uncompression OK   -8	common/cmd_bootm.c	Wrong Image Type (not kernel, multi, standalone)    8	common/cmd_bootm.c	Image Type check OK   -9	common/cmd_bootm.c	Unsupported OS (not Linux, BSD, VxWorks, QNX)    9	common/cmd_bootm.c	Start initial ramdisk verification  -10	common/cmd_bootm.c	Ramdisk header has bad     magic number  -11	common/cmd_bootm.c	Ramdisk header has bad     checksum   10	common/cmd_bootm.c	Ramdisk header is OK  -12	common/cmd_bootm.c	Ramdisk data   has bad     checksum   11	common/cmd_bootm.c	Ramdisk data   has correct checksum   12	common/cmd_bootm.c	Ramdisk verification complete, start loading  -13	common/cmd_bootm.c	Wrong Image Type (not PPC Linux Ramdisk)   13	common/cmd_bootm.c	Start multifile image verification   14	common/cmd_bootm.c	No initial ramdisk, no multifile, continue.   15	common/cmd_bootm.c	All preparation done, transferring control to OS   -1	common/cmd_doc.c	Bad usage of "doc" command   -1	common/cmd_doc.c	No boot device   -1	common/cmd_doc.c	Unknown Chip ID on boot device   -1	common/cmd_doc.c	Read Error on boot device   -1	common/cmd_doc.c	Image header has bad magic number   -1	common/cmd_ide.c	Bad usage of "ide" command   -1	common/cmd_ide.c	No boot device   -1	common/cmd_ide.c	Unknown boot device   -1	common/cmd_ide.c	Unknown partition table   -1	common/cmd_ide.c	Invalid partition type   -1	common/cmd_ide.c	Read Error on boot device   -1	common/cmd_ide.c	Image header has bad magic number   -1	common/cmd_nvedit.c	Environment not changable, but has bad CRCModem Support:--------------[so far only for SMDK2400 and TRAB boards]- Modem support endable:		CONFIG_MODEM_SUPPORT- RTS/CTS Flow control enable:		CONFIG_HWFLOW- Modem debug support:		CONFIG_MODEM_SUPPORT_DEBUG		Enables debugging stuff (char screen[1024], dbg())		for modem support. Useful only with BDI2000.- General:		In the target system modem support is enabled when a		specific key (key combination) is pressed during		power-on. Otherwise U-Boot will boot normally		(autoboot). The key_pressed() fuction is called from		board_init(). Currently key_pressed() is a dummy		function, returning 1 and thus enabling modem		initialization.		If there are no modem init strings in the		environment, U-Boot proceed to autoboot; the		previous output (banner, info printfs) will be		supressed, though.		See also: doc/README.ModemConfiguration Settings:------------------------ CFG_LONGHELP: Defined when you want long help messages included;		undefine this when you're short of memory.- CFG_PROMPT:	This is what U-Boot prints on the console to		prompt for user input.- CFG_CBSIZE:	Buffer size for input from the Console- CFG_PBSIZE:	Buffer size for Console output- CFG_MAXARGS:	max. Number of arguments accepted for monitor commands- CFG_BARGSIZE: Buffer size for Boot Arguments which are passed to		the application (usually a Linux kernel) when it is		booted- CFG_BAUDRATE_TABLE:		List of legal baudrate settings for this board.- CFG_CONSOLE_INFO_QUIET 		Suppress display of console information at boot.- CFG_CONSOLE_IS_IN_ENV 		If the board specific function 			extern int overwrite_console (void); 		returns 1, the stdin, stderr and stdout are switched to the		serial port, else the settings in the environment are used.- CFG_CONSOLE_OVERWRITE_ROUTINE 		Enable the call to overwrite_console().- CFG_CONSOLE_ENV_OVERWRITE		Enable overwrite of previous console environment settings.- CFG_MEMTEST_START, CFG_MEMTEST_END:		Begin and End addresses of the area used by the		simple memory test.- CFG_ALT_MEMTEST: 		Enable an alternate, more extensive memory test.- CFG_TFTP_LOADADDR:		Default load address for network file downloads- CFG_LOADS_BAUD_CHANGE:		Enable temporary baudrate change while serial download- CFG_SDRAM_BASE:		Physical start address of SDRAM. _Must_ be 0 here.- CFG_MBIO_BASE:		Physical start address of Motherboard I/O (if using a		Cogent motherboard)- CFG_FLASH_BASE:		Physical start address of Flash memory.- CFG_MONITOR_BASE:		Physical start address of boot monitor code (set by		make config files to be same as the text base address		(TEXT_BASE) used when linking) - same as		CFG_FLASH_BASE when booting from flash.- CFG_MONITOR_LEN:                Size of memory reserved for monitor code, used to                determine _at_compile_time_ (!) if the environment is                embedded within the U-Boot image, or in a separate                flash sector.- CFG_MALLOC_LEN:		Size of DRAM reserved for malloc() use.- CFG_BOOTMAPSZ:		Maximum size of memory mapped by the startup code of		the Linux kernel; all data that must be processed by		the Linux kernel (bd_info, boot arguments, eventually		initrd image) must be put below this limit.- CFG_MAX_FLASH_BANKS:		Max number of Flash memory banks- CFG_MAX_FLASH_SECT:		Max number of sectors on a Flash chip- CFG_FLASH_ERASE_TOUT:		Timeout for Flash erase operations (in ms)- CFG_FLASH_WRITE_TOUT:		Timeout for Flash write operations (in ms)- CFG_DIRECT_FLASH_TFTP:		Enable TFTP transfers directly to flash memory;		without this option such a download has to be		performed in two steps: (1) download to RAM, and (2)		copy from RAM to flash.		The two-step approach is usually more reliable, since		you can check if the download worked before you erase		the flash, but in some situations (when sytem RAM is		too limited to allow for a tempory copy of the		downloaded image) this option may be very useful.- CFG_FLASH_CFI:		Define if the flash driver uses extra elements in the		common flash structure for storing flash geometry- CFG_RX_ETH_BUFFER:		Defines the number of ethernet receive buffers. On some		ethernet controllers it is recommended to set this value		to 8 or even higher (EEPRO100 or 405 EMAC), since all		buffers can be full shortly after enabling the interface		on high ethernet traffic.		Defaults to 4 if not defined.The following definitions that deal with the placement and managementof environment data (variable area); in general, we support thefollowing configurations:- CFG_ENV_IS_IN_FLASH:	Define this if the environment is in flash memory.	a) The environment occupies one whole flash sector, which is	   "embedded" in the text segment with the U-Boot code. This	   happens usually with "bottom boot sector" or "top boot	   sector" type flash chips, which have several smaller	   sectors at the start or the end. For instance, such a	   layout can have sector sizes of 8, 2x4, 16, Nx32 kB. In	   such a case you would place the environment in one of the	   4 kB sectors - with U-Boot code before and after it. With	   "top boot sector" type flash chips, you would put the	   environment in one of the last sectors, leaving a gap	   between U-Boot and the environment.	- CFG_ENV_OFFSET:	   Offset of environment data (variable area) to the	   beginning of flash memory; for instance, with bottom boot	   type flash chips the second sector can be used: the offset	   for this sector is given here.	   CFG_ENV_OFFSET is used relative to CFG_FLASH_BASE.	- CFG_ENV_ADDR:	   This is just another way to specify the start address of	   the flash sector containing the environment (instead of	   CFG_ENV_OFFSET).	- CFG_ENV_SECT_SIZE:	   Size of the sector containing the environment.	b) Sometimes flash chips have few, equal sized, BIG sectors.	   In such a case you don't want to spend a whole sector for	   the environment.	- CFG_ENV_SIZE:	   If you use this in combination with CFG_ENV_IS_IN_FLASH	   and CFG_ENV_SECT_SIZE, you can specify to use only a part	   of this flash sector for the environment. This saves	   memory for the RAM copy of the environment.	   It may also save flash memory if you decide to use this	   when your environment is "embedded" within U-Boot code,	   since then the remainder of the flash sector could be used	   for U-Boot code. It should be pointed out that this is	   STRONGLY DISCOURAGED from a robustness point of view:	   updating the environment in flash makes it always	   necessary to erase the WHOLE sector. If something goes	   wrong before the contents has been restored from a copy in	   RAM, your target system will be dead.	- CFG_ENV_ADDR_REDUND	  CFG_ENV_SIZE_REDUND	   These settings describe a second storage area used to hold	   a redundand copy of the environment data, so that there is	   a valid backup copy in case there is a power failure during	   a "saveenv" operation.BE CAREFUL! Any changes to the flash layout, and some changes to thesource code will make it necessary to adapt <board>/u-boot.lds*accordingly!- CFG_ENV_IS_IN_NVRAM:	Define this if you have some non-volatile memory device	(NVRAM, battery buffered SRAM) which you want to use for the	environment.	- CFG_ENV_ADDR:	- CFG_ENV_SIZE:	  These two #defines are used to determin the memory area you	  want to use for environment. It is assumed that this memory

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -