public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [non-working configuraton, post relocation 7/7] DNS323 configuration
Date: Sat, 19 Mar 2011 08:19:24 +0100	[thread overview]
Message-ID: <4D8458FC.4030407@denx.de> (raw)
In-Reply-To: <1300477159-9644-1-git-send-email-rogan@dawes.za.net>

Hello Rogan,

rogan at dawes.za.net wrote:
> From: Rogan Dawes <rogan@dawes.za.net>
> 
> Based on that of the edminiv2, with a few additions
[...]
> diff --git a/board/D-Link/dns323_b1/config.mk b/board/D-Link/dns323_b1/config.mk
> new file mode 100644
> index 0000000..ce6760d
> --- /dev/null
> +++ b/board/D-Link/dns323_b1/config.mk
> @@ -0,0 +1,28 @@
> +#
> +# Copyright (C) 2010 Albert ARIBAUD <albert.aribaud@free.fr>
> +#
> +# (C) Copyright 2009
> +# Marvell Semiconductor <www.marvell.com>
> +# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
> +#
> +# See file CREDITS for list of people who contributed to this
> +# project.
> +#
> +# This program is free software; you can redistribute it and/or
> +# modify it under the terms of the GNU General Public License as
> +# published by the Free Software Foundation; either version 2 of
> +# the License, or (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +# GNU General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
> +# MA 02110-1301 USA
> +#
> +
> +# TEXT_BASE must equal the intended FLASH location of u-boot.
> +CONFIG_SYS_TEXT_BASE = 0xfffd0000

You also wrote:
> Unfortunately, this does not boot at all. I get:
>
> Marvell>> bootm
> ## Booting image at 00100000 ...
>    Image Name:   UBoot dns323
>    Image Type:   ARM U-Boot Kernel Image (uncompressed)
>    Data Size:    170100 Bytes = 166.1 kB
>    Load Address: 03000000
>    Entry Point:  03000000
>    Verifying Checksum ... OK
> OK
>
> Starting kernel ...

With relocation, you must set TEXT_BASE to the value you start
the image, so please try to set TEXT_BASE = load_addr.

Also, if you do a ram image, don;t forget that with relocation
the u-boot image gets relocated to the end of ram, so don;t choose
a TEXT_BASE near the end of ram.

If that not helps, you maybe need a debugger ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2011-03-19  7:19 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17 12:28 [U-Boot] Trying again: DNS323 Rogan Dawes
2011-03-18  8:04 ` [U-Boot] Working DNS323 config rogan at dawes.za.net
2011-03-18 19:34   ` Rogan Dawes
2011-03-18  8:04 ` [U-Boot] [PATCH 01/11] Orion5x: Correct DRAM bank detection rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 02/11] IDE: Don't assume there are always two devices per bus rogan at dawes.za.net
2011-04-25 21:31   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 03/11] Align linebuf to avoid misaligned aliases of it rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 04/11] Orion5x: bugfix: window size (mis)calculation rogan at dawes.za.net
2011-03-18 11:00   ` Prafulla Wadaskar
2011-03-18  8:04 ` [U-Boot] [PATCH 05/11] I2C: add Marvell TWSI simple driver rogan at dawes.za.net
2011-03-18  8:29   ` Heiko Schocher
2011-03-18  8:41     ` Rogan Dawes
2011-03-18  9:22       ` Heiko Schocher
2011-03-18 11:14         ` Rogan Dawes
2011-03-18 16:19       ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 06/11] edminiv2: add I2C support using mvtwsi driver rogan at dawes.za.net
2011-03-18 10:57   ` Prafulla Wadaskar
2011-03-18 11:16     ` Rogan Dawes
2011-03-18  8:04 ` [U-Boot] [PATCH 07/11] Allow setting CONFIG_NR_DRAM_BANKS to a larger value rogan at dawes.za.net
2011-04-25 21:38   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 08/11] DNS323 CFI driver changes (hacks, testing only) rogan at dawes.za.net
2011-03-18  8:04 ` [U-Boot] [PATCH 09/11] Support passing a Marvell-specific ATAG rogan at dawes.za.net
2011-04-25 21:43   ` Wolfgang Denk
2011-03-18  8:04 ` [U-Boot] [PATCH 10/11] Copy the ramdisk from flash for the DNS323 rogan at dawes.za.net
2011-04-25 21:44   ` Wolfgang Denk
2011-04-26  7:09     ` Rogan Dawes
2011-03-18  8:09 ` [U-Boot] Non-working Relocated DNS323 config rogan at dawes.za.net
2011-03-18 10:53   ` Prafulla Wadaskar
2011-03-18 11:36     ` Rogan Dawes
2011-03-18  8:09 ` [U-Boot] [PATCH 1/7] Orion5x: Correct DRAM bank detection rogan at dawes.za.net
2011-03-18 10:52   ` Prafulla Wadaskar
2011-03-18 11:40     ` Rogan Dawes
2011-04-13 14:41   ` Prafulla Wadaskar
2011-03-18  8:09 ` [U-Boot] [PATCH 2/7] IDE: Don't assume there are always two devices per bus rogan at dawes.za.net
2011-03-18  8:09 ` [U-Boot] [PATCH 3/7] Allow setting CONFIG_NR_DRAM_BANKS to a larger value rogan at dawes.za.net
2011-03-18  8:10 ` [U-Boot] [PATCH 4/7] DNS323 CFI driver changes (hacks, testing only) rogan at dawes.za.net
2011-03-18  8:10 ` [U-Boot] [PATCH 5/7] Support passing a Marvell-specific ATAG rogan at dawes.za.net
2011-03-18 10:44   ` Prafulla Wadaskar
2011-03-18 11:44     ` Rogan Dawes
2011-03-18  8:10 ` [U-Boot] [PATCH 6/7] Copy the ramdisk from flash for the DNS323 rogan at dawes.za.net
2011-03-18 19:31 ` [U-Boot] [Working configuration, not for application 11/11] DNS323 configuration rogan at dawes.za.net
2011-03-18 19:39 ` [U-Boot] [non-working configuraton, post relocation 7/7] " rogan at dawes.za.net
2011-03-19  7:19   ` Heiko Schocher [this message]
2011-03-19 11:51     ` Rogan Dawes
2011-03-27 20:54       ` Rogan Dawes
2011-03-28  5:32         ` Heiko Schocher
2011-03-31  9:43         ` [U-Boot] how does Linux call the function from u-boot? sywang
2011-03-31 10:01           ` Wolfgang Denk
2011-03-31 23:59             ` sywang
2011-04-01  5:21               ` Wolfgang Denk

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=4D8458FC.4030407@denx.de \
    --to=hs@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