[U-Boot-Users] [PATCH]: Support for EP8260 H2 (300MHz)

I was going through my records and noticed that I neglected to send in the updated patch for this hardware.
The problem with the original patch I submitted was that the SYPCR[BMT] was not being set to 0x6 (48 clocks) as specified in the latest revision of the user manual. Without studying the design in detail, I am not sure why this is the case. However, if the BMT is not set to 0x6, FCC3 will generate TX buffer underrun errors for larger packets when used in Linux.
In any event, here is the patch that adds support for this latest H2 version of the EP8260 board from Embedded Planet.
CHANGELOG
* Patch by Jeff Angielski, 02 Sep 2004 - Added support for H2 revision of the EP8260 board. Fixed the formatting for some of the EP8260 related source files.
Jeff Angielski

In message 1094137991.4392.11.camel@localhost.localdomain you wrote:
sure why this is the case. However, if the BMT is not set to 0x6, FCC3 will generate TX buffer underrun errors for larger packets when used in Linux.
Do you mean that the Linux driver depends on initial values set by U-Boot? This needs to be fixed in Linux, then.
- Patch by Jeff Angielski, 02 Sep 2004
- Added support for H2 revision of the EP8260 board. Fixed the
formatting for some of the EP8260 related source files.
Sorry, rejected, as it would corrupt my CVS repository.
...
diff -uNr u-boot/board/lwmon/CVS/Entries u-boot-ep8260/board/lwmon/CVS/Entries --- u-boot/board/lwmon/CVS/Entries 2004-09-01 09:32:03.000000000 -0400 +++ u-boot-ep8260/board/lwmon/CVS/Entries 2004-08-31 14:40:29.000000000 -0400 @@ -4,5 +4,5 @@ /lwmon.c/1.14/Sun Aug 1 22:48:17 2004/-ko/ /u-boot.lds/1.3/Fri Jun 27 21:32:14 2003/-ko/ /u-boot.lds.debug/1.2/Fri Jun 27 21:32:14 2003/-ko/ -/flash.c/1.4/Wed Sep 1 13:32:03 2004/-ko/ +/flash.c/1.4/Tue Aug 31 18:40:21 2004/-ko/ D diff -uNr u-boot/common/CVS/Entries u-boot-ep8260/common/CVS/Entries --- u-boot/common/CVS/Entries 2004-09-01 09:32:03.000000000 -0400 +++ u-boot-ep8260/common/CVS/Entries 2004-08-31 14:40:31.000000000 -0400 @@ -82,5 +82,5 @@ /usb_storage.c/1.8/Mon May 3 20:45:33 2004/-ko/ /virtex2.c/1.2/Fri Feb 27 00:07:27 2004/-ko/ /xilinx.c/1.2/Sat Dec 6 19:49:24 2003/-ko/ -/cmd_fat.c/1.9/Wed Sep 1 13:32:03 2004/-ko/ +/cmd_fat.c/1.9/Tue Aug 31 18:40:29 2004/-ko/ D diff -uNr u-boot/cpu/mpc8260/CVS/Entries u-boot-ep8260/cpu/mpc8260/CVS/Entries --- u-boot/cpu/mpc8260/CVS/Entries 2004-08-03 13:47:00.000000000 -0400 +++ u-boot-ep8260/cpu/mpc8260/CVS/Entries 2004-08-31 14:40:31.000000000 -0400 @@ -3,7 +3,6 @@ /commproc.c/1.4/Tue Aug 5 17:43:33 2003/-ko/ /config.mk/1.3/Mon Nov 17 21:14:39 2003/-ko/ /cpu.c/1.8/Thu Apr 15 18:22:43 2004/-ko/ -/cpu_init.c/1.5/Sun Mar 14 16:51:45 2004/-ko/ /ether_fcc.c/1.6/Tue Mar 23 22:14:28 2004/-ko/ /ether_scc.c/1.4/Tue Mar 23 22:14:28 2004/-ko/ /i2c.c/1.4/Fri Jun 27 21:32:35 2003/-ko/ @@ -17,4 +16,5 @@ /spi.c/1.2/Fri Jun 27 21:32:35 2003/-ko/ /start.S/1.8/Thu Jul 24 23:39:08 2003/-ko/ /traps.c/1.5/Tue Mar 23 23:20:24 2004/-ko/ +/cpu_init.c/1.5/Mon Aug 16 19:05:01 2004/-ko/ D diff -uNr u-boot/cpu/mpc8xx/CVS/Entries u-boot-ep8260/cpu/mpc8xx/CVS/Entries --- u-boot/cpu/mpc8xx/CVS/Entries 2004-09-01 09:32:04.000000000 -0400 +++ u-boot-ep8260/cpu/mpc8xx/CVS/Entries 2004-08-31 14:40:34.000000000 -0400 @@ -19,5 +19,5 @@ /upatch.c/1.2/Fri Jun 27 21:32:35 2003/-ko/ /video.c/1.5/Wed Jul 16 21:53:03 2003/-ko/ /wlkbd.c/1.1.1.1/Tue Aug 27 10:04:54 2002/-ko/ -/speed.c/1.11/Wed Sep 1 13:32:03 2004/-ko/ +/speed.c/1.11/Tue Aug 31 18:40:31 2004/-ko/ D diff -uNr u-boot/CVS/Entries u-boot-ep8260/CVS/Entries --- u-boot/CVS/Entries 2004-09-01 09:32:03.000000000 -0400 +++ u-boot-ep8260/CVS/Entries 2004-08-31 14:40:21.000000000 -0400 @@ -33,6 +33,6 @@ D/post//// D/rtc//// D/tools//// -/CHANGELOG/1.352/Wed Sep 1 13:32:03 2004/-ko/ -/MAINTAINERS/1.53/Wed Sep 1 13:32:03 2004/-ko/ -/Makefile/1.144/Wed Sep 1 13:32:03 2004/-ko/ +/CHANGELOG/1.352/Tue Aug 31 18:40:13 2004/-ko/ +/MAINTAINERS/1.53/Tue Aug 31 18:40:13 2004/-ko/ +/Makefile/1.144/Tue Aug 31 18:40:13 2004/-ko/ diff -uNr u-boot/include/configs/CVS/Entries u-boot-ep8260/include/configs/CVS/Entries --- u-boot/include/configs/CVS/Entries 2004-09-01 09:32:04.000000000 -0400 +++ u-boot-ep8260/include/configs/CVS/Entries 2004-08-31 14:40:50.000000000 -0400 @@ -226,6 +226,6 @@ /xsengine.h/1.1/Wed Jun 9 15:37:24 2004/-ko/ /Total5200.h/1.4/Thu Aug 5 20:06:14 2004/-ko/ /NC650.h/1.1/Sat Aug 28 22:45:59 2004/-ko/ -/TQM5200.h/1.4/Wed Sep 1 13:32:04 2004/-ko/ -/lwmon.h/1.23/Wed Sep 1 13:32:04 2004/-ko/ +/TQM5200.h/1.4/Tue Aug 31 18:40:37 2004/-ko/ +/lwmon.h/1.23/Tue Aug 31 18:40:37 2004/-ko/ D
...
Never mess around with CVS repository files!!!
Best regards,
Wolfgang Denk

Oops, you are quite right. Sorry for the inconvenience.
Jeff
On Thu, 2004-09-02 at 15:00, Jon Loeliger wrote:
On Thu, 2004-09-02 at 12:49, Wolfgang Denk wrote:
...
Never mess around with CVS repository files!!!
Wolfgang Denk
Jeff,
You might want to add --exclude=CVS to your diff line.
jdl
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

BTW, I forgot to mention that the patch attached previously, ep8260h2.diff.updated, is the fixed patch. No more references to CVS.
I will attach it again to make life easier...
Again, sorry for the inconvenience.
Jeff
On Thu, 2004-09-02 at 16:45, Jeff Angielski wrote:
Oops, you are quite right. Sorry for the inconvenience.
Jeff
On Thu, 2004-09-02 at 15:00, Jon Loeliger wrote:
On Thu, 2004-09-02 at 12:49, Wolfgang Denk wrote:
...
Never mess around with CVS repository files!!!
Wolfgang Denk
Jeff,
You might want to add --exclude=CVS to your diff line.
jdl
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

In message 1094164240.7371.6.camel@localhost.localdomain you wrote:
BTW, I forgot to mention that the patch attached previously, ep8260h2.diff.updated, is the fixed patch. No more references to CVS.
Was:
* Patch by Jeff Angielski, 02 Sep 2004: Add Added support for H2 revision of the EP8260 board. Fixed formatting for some of the EP8260 related source files.
Added. Thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Jeff Angielski
-
Jon Loeliger
-
Wolfgang Denk