From: Robert Schwebel Date: Sat, 12 Jun 2004 21:01:45 +0200 Subject: [U-Boot-Users] [PATCH] 405 OCM warning Message-ID: <20040612190145.GF12815@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 # # 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: