- CFG_RX_ETH_BUFFER added.
This commit is contained in:
		
							parent
							
								
									c602883592
								
							
						
					
					
						commit
						53cf9435cc
					
				
							
								
								
									
										8
									
								
								README
								
								
								
								
							
							
						
						
									
										8
									
								
								README
								
								
								
								
							|  | @ -1442,6 +1442,14 @@ Configuration Settings: | ||||||
| 		Define if the flash driver uses extra elements in the | 		Define if the flash driver uses extra elements in the | ||||||
| 		common flash structure for storing flash geometry | 		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 management | The following definitions that deal with the placement and management | ||||||
| of environment data (variable area); in general, we support the | of environment data (variable area); in general, we support the | ||||||
| following configurations: | following configurations: | ||||||
|  |  | ||||||
|  | @ -125,6 +125,10 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_ZERO_BOOTDELAY_CHECK	/* check for keypress on bootdelay==0 */ | #define CONFIG_ZERO_BOOTDELAY_CHECK	/* check for keypress on bootdelay==0 */ | ||||||
| 
 | 
 | ||||||
|  | #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | ||||||
|  | 
 | ||||||
|  | #define CFG_RX_ETH_BUFFER	16      /* use 16 rx buffer on 405 emac */ | ||||||
|  | 
 | ||||||
| /*-----------------------------------------------------------------------
 | /*-----------------------------------------------------------------------
 | ||||||
|  * NAND-FLASH stuff |  * NAND-FLASH stuff | ||||||
|  *----------------------------------------------------------------------- |  *----------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | @ -441,6 +441,7 @@ | ||||||
| #define CONFIG_NET_MULTI		/* Multi ethernet cards support 	*/ | #define CONFIG_NET_MULTI		/* Multi ethernet cards support 	*/ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| 
 | 
 | ||||||
| #define PCI_ENET0_IOADDR	0x00104000 | #define PCI_ENET0_IOADDR	0x00104000 | ||||||
| #define PCI_ENET0_MEMADDR	0x82000000 | #define PCI_ENET0_MEMADDR	0x82000000 | ||||||
|  |  | ||||||
|  | @ -146,6 +146,8 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | ||||||
| 
 | 
 | ||||||
|  | #define CFG_RX_ETH_BUFFER	16      /* use 16 rx buffer on 405 emac */ | ||||||
|  | 
 | ||||||
| /*-----------------------------------------------------------------------
 | /*-----------------------------------------------------------------------
 | ||||||
|  * PCI stuff |  * PCI stuff | ||||||
|  *----------------------------------------------------------------------- |  *----------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | @ -55,15 +55,7 @@ | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #undef	CONFIG_BOOTARGS | #undef	CONFIG_BOOTARGS | ||||||
| #define CONFIG_RAMBOOTCOMMAND							\ | #define CONFIG_BOOTCOMMAND	"bootm 100000"	/* default boot command	*/ | ||||||
| 	"setenv bootargs root=/dev/ram rw nfsroot=$(serverip):$(rootpath) "	\ |  | ||||||
| 	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ |  | ||||||
| 	"bootm ffc00000 ffca0000" |  | ||||||
| #define CONFIG_NFSBOOTCOMMAND							\ |  | ||||||
| 	"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) "	\ |  | ||||||
| 	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;"	\ |  | ||||||
| 	"bootm ffc00000" |  | ||||||
| #define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND |  | ||||||
| 
 | 
 | ||||||
| #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ | #define CONFIG_LOADS_ECHO	1	/* echo on for serial download	*/ | ||||||
| #define CFG_LOADS_BAUD_CHANGE	1	/* allow baudrate change	*/ | #define CFG_LOADS_BAUD_CHANGE	1	/* allow baudrate change	*/ | ||||||
|  | @ -73,12 +65,7 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_RTC_M48T35A	1		/* ST Electronics M48 timekeeper */ | #define CONFIG_RTC_M48T35A	1		/* ST Electronics M48 timekeeper */ | ||||||
| 
 | 
 | ||||||
| #if 0 /* test-only */
 |  | ||||||
| #define CONFIG_BOOTP_MASK	(CONFIG_BOOTP_DEFAULT |  \ |  | ||||||
| 				 CONFIG_BOOTP_VENDOREX) |  | ||||||
| #else |  | ||||||
| #define CONFIG_BOOTP_MASK       (CONFIG_BOOTP_DEFAULT) | #define CONFIG_BOOTP_MASK       (CONFIG_BOOTP_DEFAULT) | ||||||
| #endif |  | ||||||
| 
 | 
 | ||||||
| #define CONFIG_COMMANDS	      ( CONFIG_CMD_DFL	| \ | #define CONFIG_COMMANDS	      ( CONFIG_CMD_DFL	| \ | ||||||
| 				CFG_CMD_DHCP	| \ | 				CFG_CMD_DHCP	| \ | ||||||
|  | @ -147,6 +134,8 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | ||||||
| 
 | 
 | ||||||
|  | #define CFG_RX_ETH_BUFFER	16      /* use 16 rx buffer on 405 emac */ | ||||||
|  | 
 | ||||||
| /*-----------------------------------------------------------------------
 | /*-----------------------------------------------------------------------
 | ||||||
|  * PCI stuff |  * PCI stuff | ||||||
|  *----------------------------------------------------------------------- |  *----------------------------------------------------------------------- | ||||||
|  | @ -202,7 +191,7 @@ | ||||||
| #define CFG_FLASH_BASE		0xFFFC0000 | #define CFG_FLASH_BASE		0xFFFC0000 | ||||||
| #define CFG_MONITOR_BASE	CFG_FLASH_BASE | #define CFG_MONITOR_BASE	CFG_FLASH_BASE | ||||||
| #define CFG_MONITOR_LEN		(256 * 1024)	/* Reserve 256 kB for Monitor	*/ | #define CFG_MONITOR_LEN		(256 * 1024)	/* Reserve 256 kB for Monitor	*/ | ||||||
| #define CFG_MALLOC_LEN		(128 * 1024)	/* Reserve 128 kB for malloc()	*/ | #define CFG_MALLOC_LEN		(256 * 1024)	/* Reserve 256 kB for malloc()	*/ | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  * For booting Linux, the board info and command line data |  * For booting Linux, the board info and command line data | ||||||
|  | @ -360,7 +349,7 @@ | ||||||
| #define CFG_FPGA_STATUS_TS_IRQ  0x1000 | #define CFG_FPGA_STATUS_TS_IRQ  0x1000 | ||||||
| 
 | 
 | ||||||
| #define CFG_FPGA_SPARTAN2       1           /* using Xilinx Spartan 2 now    */ | #define CFG_FPGA_SPARTAN2       1           /* using Xilinx Spartan 2 now    */ | ||||||
| #define CFG_FPGA_MAX_SIZE       64*1024     /* 64kByte is enough for XC2S15  */ | #define CFG_FPGA_MAX_SIZE       128*1024    /* 128kByte is enough for XC2S30 */ | ||||||
| 
 | 
 | ||||||
| /* FPGA program pin configuration */ | /* FPGA program pin configuration */ | ||||||
| #define CFG_FPGA_PRG            0x04000000  /* FPGA program pin (ppc output) */ | #define CFG_FPGA_PRG            0x04000000  /* FPGA program pin (ppc output) */ | ||||||
|  |  | ||||||
|  | @ -304,6 +304,7 @@ | ||||||
| #define CFG_ETH_IOBASE	     0x00104000 | #define CFG_ETH_IOBASE	     0x00104000 | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define PCI_ENET0_IOADDR	0x00104000 | #define PCI_ENET0_IOADDR	0x00104000 | ||||||
| #define PCI_ENET0_MEMADDR	0x80000000 | #define PCI_ENET0_MEMADDR	0x80000000 | ||||||
| #endif	/* __CONFIG_H */ | #endif	/* __CONFIG_H */ | ||||||
|  |  | ||||||
|  | @ -333,6 +333,7 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_NET_MULTI        /* Multi ethernet cards support */ | #define CONFIG_NET_MULTI        /* Multi ethernet cards support */ | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define CONFIG_EEPRO100_SROM_WRITE | #define CONFIG_EEPRO100_SROM_WRITE | ||||||
| 
 | 
 | ||||||
| #endif    /* __CONFIG_H */ | #endif    /* __CONFIG_H */ | ||||||
|  |  | ||||||
|  | @ -94,6 +94,7 @@ | ||||||
| #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100				/* Ethernet Express PRO 100	*/ | #define CONFIG_EEPRO100				/* Ethernet Express PRO 100	*/ | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| 
 | 
 | ||||||
| #define PCI_ENET0_IOADDR	0x80000000 | #define PCI_ENET0_IOADDR	0x80000000 | ||||||
| #define PCI_ENET0_MEMADDR	0x80000000 | #define PCI_ENET0_MEMADDR	0x80000000 | ||||||
|  |  | ||||||
|  | @ -261,6 +261,7 @@ | ||||||
| #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define CONFIG_TULIP | #define CONFIG_TULIP | ||||||
| 
 | 
 | ||||||
| #endif	/* __CONFIG_H */ | #endif	/* __CONFIG_H */ | ||||||
|  |  | ||||||
|  | @ -263,6 +263,7 @@ | ||||||
| #define CONFIG_NET_MULTI		/* Multi ethernet cards support */ | #define CONFIG_NET_MULTI		/* Multi ethernet cards support */ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define CONFIG_TULIP | #define CONFIG_TULIP | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -316,6 +316,7 @@ | ||||||
| #ifdef	CONFIG_PCI | #ifdef	CONFIG_PCI | ||||||
| #define CONFIG_PCI_PNP | #define CONFIG_PCI_PNP | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  |  | ||||||
|  | @ -128,6 +128,10 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_ZERO_BOOTDELAY_CHECK	/* check for keypress on bootdelay==0 */ | #define CONFIG_ZERO_BOOTDELAY_CHECK	/* check for keypress on bootdelay==0 */ | ||||||
| 
 | 
 | ||||||
|  | #define CONFIG_VERSION_VARIABLE	1       /* include version env variable */ | ||||||
|  | 
 | ||||||
|  | #define CFG_RX_ETH_BUFFER	16      /* use 16 rx buffer on 405 emac */ | ||||||
|  | 
 | ||||||
| /*-----------------------------------------------------------------------
 | /*-----------------------------------------------------------------------
 | ||||||
|  * PCI stuff |  * PCI stuff | ||||||
|  *----------------------------------------------------------------------- |  *----------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | @ -82,6 +82,7 @@ | ||||||
| #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| 
 | 
 | ||||||
| #define PCI_ENET0_IOADDR	0x80000000 | #define PCI_ENET0_IOADDR	0x80000000 | ||||||
| #define PCI_ENET0_MEMADDR	0x80000000 | #define PCI_ENET0_MEMADDR	0x80000000 | ||||||
|  |  | ||||||
|  | @ -81,6 +81,7 @@ | ||||||
| #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | #define CONFIG_NET_MULTI			/* Multi ethernet cards support */ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define CONFIG_NATSEMI | #define CONFIG_NATSEMI | ||||||
| #define CONFIG_NS8382X | #define CONFIG_NS8382X | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -155,6 +155,7 @@ | ||||||
|  */ |  */ | ||||||
| #define CONFIG_NET_MULTI        /* Multi ethernet cards support */ | #define CONFIG_NET_MULTI        /* Multi ethernet cards support */ | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| 
 | 
 | ||||||
| /************************************************************
 | /************************************************************
 | ||||||
|  * IDE/ATA stuff |  * IDE/ATA stuff | ||||||
|  |  | ||||||
|  | @ -125,6 +125,7 @@ protect on $(u-boot_startaddr) $(u-boot_endaddr)" | ||||||
| #define CONFIG_PCI_SCAN_SHOW | #define CONFIG_PCI_SCAN_SHOW | ||||||
| #define CONFIG_NET_MULTI | #define CONFIG_NET_MULTI | ||||||
| #define CONFIG_EEPRO100 | #define CONFIG_EEPRO100 | ||||||
|  | #define CFG_RX_ETH_BUFFER	8               /* use 8 rx buffer on eepro100  */ | ||||||
| #define CONFIG_EEPRO100_SROM_WRITE | #define CONFIG_EEPRO100_SROM_WRITE | ||||||
| 
 | 
 | ||||||
| #define PCI_ENET0_IOADDR	0xF0000000 | #define PCI_ENET0_IOADDR	0xF0000000 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue