apalis_t30: colibri_imx7: colibri_t30: fix ethernet functionality
Since commit aa7a648747
("net: Stop including NFS overhead in defragment max") the following
has been reproducibly observed while trying to transfer data over TFTP:
Load address: 0x80408000
Loading: EHCI timed out on TD - token=0x8008d80
T EHCI timed out on TD - token=0x88008d80
Rx: failed to receive: -5
This patch fixes this by lowering our TFTP block size to be within the
standard maximal de-fragmentation aka IP packet size again.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
			
			
This commit is contained in:
		
							parent
							
								
									86e5a04bb8
								
							
						
					
					
						commit
						f7c81e2879
					
				|  | @ -52,7 +52,7 @@ | ||||||
| 
 | 
 | ||||||
| /* General networking support */ | /* General networking support */ | ||||||
| #define CONFIG_IP_DEFRAG | #define CONFIG_IP_DEFRAG | ||||||
| #define CONFIG_TFTP_BLOCKSIZE		16384 | #define CONFIG_TFTP_BLOCKSIZE		16352 | ||||||
| #define CONFIG_TFTP_TSIZE | #define CONFIG_TFTP_TSIZE | ||||||
| 
 | 
 | ||||||
| /* Miscellaneous commands */ | /* Miscellaneous commands */ | ||||||
|  |  | ||||||
|  | @ -44,9 +44,9 @@ | ||||||
| 
 | 
 | ||||||
| #define CONFIG_PHYLIB | #define CONFIG_PHYLIB | ||||||
| #define CONFIG_PHY_MICREL | #define CONFIG_PHY_MICREL | ||||||
| #define CONFIG_TFTP_TSIZE |  | ||||||
| #define CONFIG_IP_DEFRAG | #define CONFIG_IP_DEFRAG | ||||||
| #define CONFIG_TFTP_BLOCKSIZE		16384 | #define CONFIG_TFTP_BLOCKSIZE		16352 | ||||||
|  | #define CONFIG_TFTP_TSIZE | ||||||
| 
 | 
 | ||||||
| /* ENET1 */ | /* ENET1 */ | ||||||
| #define IMX_FEC_BASE			ENET_IPS_BASE_ADDR | #define IMX_FEC_BASE			ENET_IPS_BASE_ADDR | ||||||
|  |  | ||||||
|  | @ -48,8 +48,7 @@ | ||||||
| 
 | 
 | ||||||
| /* General networking support */ | /* General networking support */ | ||||||
| #define CONFIG_IP_DEFRAG | #define CONFIG_IP_DEFRAG | ||||||
| #define CONFIG_NET_MAXDEFRAG		(16384 + 4096 + 24) | #define CONFIG_TFTP_BLOCKSIZE		16352 | ||||||
| #define CONFIG_TFTP_BLOCKSIZE		16384 |  | ||||||
| #define CONFIG_TFTP_TSIZE | #define CONFIG_TFTP_TSIZE | ||||||
| 
 | 
 | ||||||
| /* Miscellaneous commands */ | /* Miscellaneous commands */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue