[DNX#2006040142001034] [U-Boot-Users] M5235EVB port

Wilson Callan - RPM wcallan at racepointmedia.com
Mon May 15 19:49:06 CEST 2006


Here is a patch to the below patch to fix a problem with the ethernet buffer
descriptors:

diff -Naur u-boot-1.1.4-new/CHANGELOG u-boot-1.1.4-bd/CHANGELOG
--- u-boot-1.1.4-new/CHANGELOG    2005-12-16 11:39:27.000000000 -0500
+++ u-boot-1.1.4-bd/CHANGELOG    2006-05-15 13:39:33.000000000 -0400
@@ -2,6 +2,10 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Fix M5235 Ethernet Buffer Descriptors.  Put them in internal RAM instead
+  right in the middle of where an image loads.
+  Patch by Wilson Callan, 15 May 2006
+
 * Changes to Yellowstone & Yosemite 440EP/GR eval boards:
   - Changed GPIO setup to enable another address line in order to
     address 64M of FLASH.
diff -Naur u-boot-1.1.4-new/include/configs/M5235EVB.h
u-boot-1.1.4-bd/include/configs/M5235EVB.h
--- u-boot-1.1.4-new/include/configs/M5235EVB.h    2006-02-22
15:43:15.000000000 -0500
+++ u-boot-1.1.4-bd/include/configs/M5235EVB.h    2006-05-15
10:03:21.000000000 -0400
@@ -89,9 +89,6 @@
  */
 #define    CFG_MBAR        0x40000000
 
-#undef    CFG_DISCOVER_PHY
-#define    CFG_ENET_BD_BASE    0x380000
-
 /*-----------------------------------------------------------------------
  * Definitions for initial stack pointer and data area (in DPRAM)
  */
@@ -101,6 +98,9 @@
 #define CFG_GBL_DATA_OFFSET    (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
 #define CFG_INIT_SP_OFFSET    CFG_GBL_DATA_OFFSET
 
+#undef    CFG_DISCOVER_PHY
+#define    CFG_ENET_BD_BASE    CFG_INIT_RAM_ADDR
+
 /*-----------------------------------------------------------------------
  * Start addresses for the final memory configuration
  * (Set up by the startup code)



On 3/31/06 6:50 PM, "DENX Support System" <support at denx.de> wrote:

> Hello list,
> 
> inside the automatic U-Boot patch tracking system a new ticket
> [DNX#2006040142001034] was created:
> 
> <snip>
>> Attached is my recent port to coldfire 5235.  Please take a look at
>> it as it is my first look at U-Boot (which by the way, is very
>> nice!)  I'd be happy if this code was added to the archive for others
>> to use.
>> 
>> thanks, wilson
> </snip>
> 
> Your U-Boot support team
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 





More information about the U-Boot mailing list