All of lore.kernel.org
 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 15:49:06 +0100	[thread overview]
Message-ID: <4CD2C7E2.1020907@matrix-vision.de> (raw)
In-Reply-To: <OF77BB78F1.206E7F19-ONC12577D1.004CCB0E-C12577D1.004D74C7@transmode.se>

Jocke,

>> 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.
>>      
> OK, almost the same as me, but I got a:
> CPU:   e300c2, MPC8321, Rev: 1.1 at 266.664 MHz, CSB: 133.332 MHz
>
> However, I think I just found the problem.
>    

excellent !

> My tree is a bit messy now so no patch but it will be:
>
> Stick an isync (or sync) in
> map_flash_by_law1
> ....
> 	stw r4, LBLAWAR1(r3) /* LBLAWAR1<= 8MB Flash Size */
> 	isync //HERE !! HERE !! HERE
> 	blr
>    

ok - works for me, i.e. no quad-nop needed anymore.

> I am guessing it takes a while for the stw r4, LBLAWAR1(r3)
> to hit the HW so one must wait for it, not sure what is
> best though, sync or isync?
>    
If it is a timing issue why should have the nops influenced this ?
I still wonder if this is the real problem and whether we might need 
more (i)syncs elsewhere ...
> There is nothing wrong with my reset vector
>
>    
ok.



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 14:49 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
2010-11-04 14:06                               ` Joakim Tjernlund
2010-11-04 14:49                                 ` Andre Schwarz [this message]
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=4CD2C7E2.1020907@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.