public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] UNCACHED_SDRAM macro issue
Date: Wed, 13 Feb 2008 09:59:41 +0100	[thread overview]
Message-ID: <1202893181.26414.141.camel@cartesio> (raw)

Hi list,

I'm working on the porting of u-boot (1.3.1 from git) to a mips based
SoC. The port seems to work fine unless the UNCACHED_SDRAM macro (used
by do_bootm_linux).

Using the version from commit de9a738faa7c2f47286119c3bfebc3dfbfe7d86d
(that maps the addresses on KSEG1 instead on physical addresses) the
linux kernel is not able to start, while changing the macro to a
PHYSADDR(a) (how was before the commit) the linux kernel starts without
any problem.

In order to make my system bootable I changed the macro UNCACHED_SDRAM
from:

#define UNCACHED_SDRAM(a) KSEG1ADDR(a)

to

#define UNCACHED_SDRAM(a) PHYSADDR(a) (how defined before the commit
de9a738...)

What I need to change on my board specific u-boot in order to use the
KSEG1 address space?

thanks a lot

luigi



-- 
     ______       Luigi Mantellini
   .'______'.     R&D - Software
  (.'      '.)    Industrie Dial Face S.p.A.
  ( :=----=: )    Via Canzo, 4
  ('.______.')    20068 Peschiera Borromeo (MI), Italy
   '.______.'     Tel.: +39 02 5167 2813
                  Fax:  +39 02 5167 2459
 Ind. Dial Face   Email: luigi.mantellini at idf-hit.com

             reply	other threads:[~2008-02-13  8:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13  8:59 Luigi 'Comio' Mantellini [this message]
2008-02-14  3:55 ` [U-Boot-Users] UNCACHED_SDRAM macro issue Shinya Kuribayashi
2008-02-14  9:01   ` Luigi 'Comio' Mantellini
2008-02-15  0:43     ` Shinya Kuribayashi
2008-02-15  9:11       ` Shinya Kuribayashi
2008-02-16  9:06         ` Shinya Kuribayashi
2008-02-16 11:50           ` Luigi 'Comio' Mantellini
2008-02-28  8:23           ` Luigi 'Comio' Mantellini
2008-02-28  8:34             ` Shinya Kuribayashi

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=1202893181.26414.141.camel@cartesio \
    --to=luigi.mantellini@idf-hit.com \
    --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