public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs
Date: Thu, 04 Nov 2010 14:32:15 +0100	[thread overview]
Message-ID: <4CD2B5DF.2080400@matrix-vision.de> (raw)
In-Reply-To: <OF350A930F.C39462D9-ONC12577D1.004759E2-C12577D1.0047824C@transmode.se>

Jocke,

[snip]

> still -E_TOO_LITTLE_INFO:
>    

sorry - thought it was clear already.

> "include weather booted from NAND or NOR, CPU type(e300cX) and
>   what reset vector is used."
>    
CPU:   e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz

- Boot from NOR Flash
- HRCW from I2C EEPROM
- Reset Vector 0x100, i.e. low boot.

Initial RAM ...

#define CONFIG_SYS_INIT_RAM_LOCK       1
#define CONFIG_SYS_INIT_RAM_ADDR       0xE6000000
#define CONFIG_SYS_INIT_RAM_SIZE        0x1000
#define CONFIG_SYS_GBL_DATA_SIZE        0x100
#define CONFIG_SYS_GBL_DATA_OFFSET  (CONFIG_SYS_INIT_RAM_SIZE - 
CONFIG_SYS_GBL_DATA_SIZE)

... mapped by BAT5

#define CONFIG_SYS_IBAT5L       (CONFIG_SYS_INIT_RAM_ADDR | BATL_PP_10)
#define CONFIG_SYS_IBAT5U       (CONFIG_SYS_INIT_RAM_ADDR | BATU_BL_128K 
| BATU_VS | BATU_VP)
#define CONFIG_SYS_DBAT5L       CONFIG_SYS_IBAT5L
#define CONFIG_SYS_DBAT5U       CONFIG_SYS_IBAT5U


Of course ELDK-4.2 toolchain.

>> My latest MPC8377 board does not even start without your suggested 4 nops.
>> It does not start (i.e. serial line completely dead) with any USB
>> functionality defined.
>>      
> Something else is broken here, no idea what.
>
>    
If it's an alignment or linking problem it could have the same root cause.
Just want to give as much information as I can.


Cheers,
Andr?

MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

  reply	other threads:[~2010-11-04 13:32 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  9:51 [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs Joakim Tjernlund
2010-10-18 20:39 ` Wolfgang Denk
2010-10-24 20:08   ` Schwarz, Andre
2010-10-24 20:18     ` Wolfgang Denk
2010-10-24 20:33       ` Schwarz, Andre
2010-10-24 20:48         ` Joakim Tjernlund
2010-10-25  8:24           ` Schwarz, Andre
2010-10-25 13:50           ` Andre Schwarz
2010-10-25 14:32             ` Joakim Tjernlund
2010-10-25 14:46               ` Andre Schwarz
2010-10-25 15:36                 ` Joakim Tjernlund
2010-10-25 17:16             ` Wolfgang Denk
2010-10-25 17:45               ` Andre Schwarz
2010-10-25 19:14                 ` Wolfgang Denk
2010-10-26 10:28                   ` Andre Schwarz
2010-10-26 12:34                   ` Andre Schwarz
2010-10-26 12:49                     ` Joakim Tjernlund
2010-11-04  9:10             ` Joakim Tjernlund
2010-11-04  9:57               ` Wolfgang Denk
2010-11-04 10:47                 ` Joakim Tjernlund
2010-11-04 10:54                   ` Joakim Tjernlund
2010-11-04 11:16                     ` Wolfgang Denk
2010-11-04 12:19                       ` Joakim Tjernlund
2010-11-04 12:46                         ` Wolfgang Denk
2010-11-04 12:58                           ` Joakim Tjernlund
2010-11-04 13:07                             ` Wolfgang Denk
2010-11-04 13:11                               ` Joakim Tjernlund
2010-11-04 10:58                   ` Andy Pont
2010-11-04 11:04                     ` Joakim Tjernlund
2010-11-04 12:14                     ` Andre Schwarz
2010-11-04 12:18                       ` Joakim Tjernlund
2010-11-04 12:28                         ` Andre Schwarz
     [not found]                           ` <OF350A930F.C39462D9-ONC <4CD2B5DF.2080400@matrix-vision.de>
2010-11-04 13:01                           ` Joakim Tjernlund
2010-11-04 13:32                             ` Andre Schwarz [this message]
2010-11-04 14:06                               ` Joakim Tjernlund
2010-11-04 14:49                                 ` Andre Schwarz
2010-11-04 15:10                                   ` Joakim Tjernlund
2010-11-04 16:53                                     ` Andre Schwarz
2010-11-04 10:59                   ` Reinhard Meyer
2010-11-04 10:00               ` Andre Schwarz
2010-11-04  9:50             ` Wolfgang Denk
2010-11-04 10:21               ` Joakim Tjernlund
2010-10-24 20:44       ` Joakim Tjernlund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD2B5DF.2080400@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox