public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Question: Installing U-Boot on the Karo TX25
Date: Thu, 22 Mar 2012 16:05:54 +0100	[thread overview]
Message-ID: <4F6B3FD2.6050407@denx.de> (raw)
In-Reply-To: <F4AD9357BB4A484FAECC0D31F11731870360BF@mail-server.ntb.ch>

On 22/03/2012 15:48, Z?ger Martin wrote:
> Dear Stefano
> 
Hi Martin,

please do not remove the ML when you post an answer. Your experience can
be helpful for other people, too.

> Thank you very much for your help! I've downloaded u-boot to
> 0x81200000 like you told me and it works! After that, I used the
> U-Boot running from RAM to write u-boot-nand.bin to flash. It works
> too, after a reset RedBoot was gone and U-Boot started.

Fine

> The base
> address where U-Boot is linked to for a specific board, is this
> always the CONFIG_SYS_NAND_U_BOOT_DST address?

Generally, they can share the same value, but they have different
meaning. For TX25, the link address is set in board/karo/tx25/config.mk.
However, this is the old way to do things. Currently,
CONFIG_SYS_TEXT_BASE (link address) must be set into the board
configuration file (tx25.h).

CONFIG_SYS_NAND_U_BOOT_DST tells the first loader (nand_spl) where
u-boot code must be copied. If u-boot has a small header that must be
also copied, the two address are different. On tx25, they have the same
value.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

       reply	other threads:[~2012-03-22 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F4AD9357BB4A484FAECC0D31F11731870360BF@mail-server.ntb.ch>
2012-03-22 15:05 ` Stefano Babic [this message]
2012-03-26  6:28   ` [U-Boot] Question: Installing U-Boot on the Karo TX25 Züger Martin
2012-03-22  8:08 Züger Martin
2012-03-22 13:25 ` Stefano Babic

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=4F6B3FD2.6050407@denx.de \
    --to=sbabic@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