[U-Boot-Users] [PATCH] 405 OCM warning

Robert Schwebel robert at schwebel.de
Sat Jun 12 21:01:45 CEST 2004


Hi, 

any chance to get this in? It took too much time to let anybody else do
the same stuff again...

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4
-------------- next part --------------
# 
# Author:	Robert Schwebel <r.schwebel at pengutronix.de>
# 
# Description:	ChangeLog:
#		* Patch added by Robert Schwebel, 14 May 2004:
#		  add warning for OCM on PPC. 
#
# State:	2004-05-14: submit
#
#		2004-06-12: submitted

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- u-boot-ptx-test/README~readme	2004-02-10 13:01:19.000000000 +0100
+++ u-boot-ptx-test/README	2004-02-10 13:04:46.000000000 +0100
@@ -2961,6 +2961,13 @@
 	-Chris Hallinan
 	DS4.COM, Inc.
 
+NOTE: for IBM 405GP the On Chip Memory (OCM) is mapped on virtual
+addresses! So take care that you configure it to be mapped
+(CFG_OCM_DATA_ADDR) in an area which is not used by your operating
+system's virtual addresses. For Linux it has to be located above the
+maximum task size (see CONFIG_TASK_SIZE in the Linux configuration).
+Otherwhise you will see strange effects with your user land stack. 
+
 It is essential to remember this, since it has some impact on the C
 code for the initialization procedures:
 


More information about the U-Boot mailing list