[U-Boot-Users] TQM866M CPU glitch

Nicholas Mc Guire mcguire at lzu.edu.cn
Wed Apr 19 16:47:20 CEST 2006


Hi !

 I have a TQM866M board here, and it seems that the ID that this board is
 using is not checked for in cpu/mpc8xx/cpu.c - not sure if this patch is
 usable - but it fixes the problem of indentifying the right CPU for me

diff -rbNu u-boot-1.1.4/cpu/mpc8xx/cpu.c u-boot-1.1.4.hofrat/cpu/mpc8xx/cpu.c
--- u-boot-1.1.4/cpu/mpc8xx/cpu.c	2006-04-19 15:17:20.000000000 +0200
+++ u-boot-1.1.4.hofrat/cpu/mpc8xx/cpu.c	2006-04-19 15:00:37.000000000 +0200
@@ -108,6 +108,15 @@
 		"PC866x"; /* Unknown chip from MPC866 family */
 # endif
 		break;
+	case 0x08010004: pre = 'M'; suf = ""; m = 1;
+		if (id_str == NULL)
+			id_str =
+# if defined(CONFIG_MPC866P)
+		"PC866P";
+# else
+		"PC866x"; /* Unknown chip from MPC866 family */
+# endif
+		break;
 	case 0x09000000: pre = 'M'; mid = suf = ""; m = 1;
 		if (id_str == NULL)
 			id_str = "PC885"; /* 870/875/880/885 */
diff -rbNu u-boot-1.1.4/include/configs/TQM866M.h u-boot-1.1.4.hofrat/include/configs/TQM866M.h
--- u-boot-1.1.4/include/configs/TQM866M.h	2006-04-19 15:58:51.000000000 +0200
+++ u-boot-1.1.4.hofrat/include/configs/TQM866M.h	2006-04-19 15:59:04.000000000 +0200
@@ -34,6 +34,7 @@
  */
 
 #define CONFIG_MPC866		1	/* This is a MPC866 CPU		*/
+#define CONFIG_MPC866P		1	/* This is a MPC866P CPU	*/
 #define CONFIG_TQM866M		1	/* ...on a TQM8xxM module	*/
 
 #define CONFIG_8xx_OSCLK		10000000	/*  10 MHz - PLL input clock	*/



A different issue is that I can't get the ehternet to work, the error on 
network access is:
...
TX not ready
TX timeout
...

Any known issues with ehtnernet on TQM866 ? could not find anything in the list
except for SRAM issues (that seem not to exist any way) - any hint would be 
appreciated.

thx!
hofrat

-- 
Nicholas Mc Guire                                     University of Lanzhou
Distributed & Embedded System Lab                   http://dslab.lzu.edu.cn
School of Information Science and Engeneering            mcguire at lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000                          .P.R.China
Tel:+86-931-8912025                                     Fax:+86-931-8912022
Lichtensteinstr. 31, Mistelbach A-2130                              Austria
Tel:+43-2572-201082                                     Fax:+43-2572-201084




More information about the U-Boot mailing list