[U-Boot] TSEC ethernet controller problems (crc errors/ corruption)
Kim Phillips
kim.phillips at freescale.com
Sat Jun 6 02:38:29 CEST 2009
On Fri, 05 Jun 2009 14:45:38 -0400
Paul Gortmaker <paul.gortmaker at windriver.com> wrote:
> I applied the chunk below onto a checkout of v2009.06-rc2 and it
> works fine on sbc8349; tested both TSEC and at both 100 and 1GB.
>
> Tested-by: Paul Gortmaker <paul.gortmaker at windriver.com>
Thanks Paul, Ira, and Dave.
I've applied the following on u-boot-mpc83xx master:
mpc83xx: fix tsec "Got error 4" errors - don't set SICRH_TSOBI1 to RMII/RTBI operation
While not making a difference on the MPC8349EMDS, changing the output buffer
impedance on TSEC1 to 2.5V has negative effect on other mpc83xx based boards -
they start dropping frame data consequently prompting TSEC errors and a general
loss of 1000mbit networking.
U-Boot always operated this PHY interface in GMII mode. It is assumed this
was missed in the clean up by the original board porters, and copied along
to the TQM and sbc boards.
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
Acked-by: Ira Snyder <iws at ovro.caltech.edu>
Tested-by: Paul Gortmaker <paul.gortmaker at windriver.com>
Cc: Dave Liu <DaveLiu at freescale.com>
Cc: Marian Balakowicz <m8 at semihalf.com>
---
include/configs/MPC8349EMDS.h | 2 +-
include/configs/TQM834x.h | 2 +-
include/configs/sbc8349.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h
index 3c57403..2d2799e 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -598,7 +598,7 @@
#define CONFIG_SYS_SCCR_TSEC2CM 1 /* TSEC2 & I2C0 clock mode (0-3) */
/* System IO Config */
-#define CONFIG_SYS_SICRH SICRH_TSOBI1
+#define CONFIG_SYS_SICRH 0
#define CONFIG_SYS_SICRL SICRL_LDP_A
#define CONFIG_SYS_HID0_INIT 0x000000000
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 5ca8720..5510730 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -393,7 +393,7 @@ extern int tqm834x_num_flash_banks;
#endif
/* System IO Config */
-#define CONFIG_SYS_SICRH SICRH_TSOBI1
+#define CONFIG_SYS_SICRH 0
#define CONFIG_SYS_SICRL SICRL_LDP_A
/* i-cache and d-cache disabled */
diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h
index d0338f1..edd928d 100644
--- a/include/configs/sbc8349.h
+++ b/include/configs/sbc8349.h
@@ -519,7 +519,7 @@
#endif
/* System IO Config */
-#define CONFIG_SYS_SICRH SICRH_TSOBI1
+#define CONFIG_SYS_SICRH 0
#define CONFIG_SYS_SICRL SICRL_LDP_A
#define CONFIG_SYS_HID0_INIT 0x000000000
--
1.6.3.1
More information about the U-Boot
mailing list