[U-Boot-Users] TQM866M CPU glitch

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

Hello,
in message 200604191447.k3JElKhT003105@opentech.lzu.edu.cn you wrote:
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
Any chance that you use old code?
This is supposed to be solved by this commit:
commit 7b4fd36b0322ec98836a8459d9be80e2777fdc05 tree 92deb9ddf1153c64ff1ced9392816e60b4ecaa03 parent 0a112d8696dcffdf87a7066e2dade1eacbdd80d9 author Wolfgang Denk wd@atlas.denx.de Sat, 18 Mar 2006 23:31:12 +0100 committer Wolfgang Denk wd@atlas.denx.de Sat, 18 Mar 2006 23:31:12 +0100
Add support for MPC859/866 Rev. A.0
A different issue is that I can't get the ehternet to work, the error on network access is:
Works fine here.
Did you set the jumpers on the board correctly? See the FAQ: http://www.denx.de/wiki/view/DULG/EthernetProblemsOnTQM8xxL
Best regards,
Wolfgang Denk
participants (2)
-
Nicholas Mc Guire
-
Wolfgang Denk