public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ICACHE in core initialization to improve u-boot boot time: Breaks booting with i2c code while executing in flash.
Date: Wed, 20 Oct 2010 21:50:45 +0200	[thread overview]
Message-ID: <20101020195045.68D931359B3@gemini.denx.de> (raw)
In-Reply-To: <4CBDC153.30008@RuggedCom.com>

Dear Richard Retanubun,

In message <4CBDC153.30008@RuggedCom.com> you wrote:
> 
> It does not work on our platform (similar to MPC8360EMDS). I think this is specific to our platform because
> we need to initialize i2c and use i2c while still executing from flash in checkboard()) to read and parse a board-id i2c-eeprom
> to support a unified uboot binary for multiple board flavors.

Many boards do that. Some keep the environment in I2C EEPROM as well.
This should not collide ith instruction caches on.

> Just an FYI mostly, I am okay with not having ICACHE for our board while in uboot.
> Just curious if you know of a reason from the limited explanation I've provided.

Check how your boot device (NOR flash) is mapped - make sure it has
the BI (burst inhibit) bit set (or whatever it may be called on that
CPU).

> Also, as a general rule, does uboot accept hosting custom non-eval-platform boards?

Yes, of course. We have tons of them.

> I'm tempted to mainline our code (mostly contained under /board/$company_name/...)

That is highly recommended, as it will make it much easier for you to
keep the code working during the product's lifetime.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Life is a garment we continuously alter, but which  never  seems  to
fit."                                                  - David McCord

  reply	other threads:[~2010-10-20 19:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 22:36 [U-Boot] [PATCH 3/3] mpc83xx: turn on icache in core initialization to improve u-boot boot time Kim Phillips
2010-04-16 17:06 ` Michael Zaidman
2010-04-19 20:23   ` Kim Phillips
2010-04-19 20:19     ` Scott Wood
2010-04-19 22:34       ` Kim Phillips
2010-04-19 22:35         ` Scott Wood
2010-04-19 20:30 ` Timur Tabi
2010-04-19 20:41   ` Scott Wood
2010-04-19 21:05     ` Timur Tabi
2010-04-19 21:37       ` Kim Phillips
2010-04-20  1:39         ` Timur Tabi
2010-04-21  0:37           ` [U-Boot] [PATCH 3/3 v2] " Kim Phillips
2010-10-19 16:03             ` [U-Boot] ICACHE in core initialization to improve u-boot boot time: Breaks booting with i2c code while executing in flash Richard Retanubun
2010-10-20 19:50               ` Wolfgang Denk [this message]
2010-10-27 17:42                 ` Richard Retanubun

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=20101020195045.68D931359B3@gemini.denx.de \
    --to=wd@denx.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