All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabor Juhos <juhosg@openwrt.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MIPS: board.c: fix monitor length calculations
Date: Wed, 16 Jan 2013 18:43:42 +0100	[thread overview]
Message-ID: <50F6E6CE.6000408@openwrt.org> (raw)
In-Reply-To: <1358347153-31678-1-git-send-email-juhosg@openwrt.org>

2013.01.16. 15:39 keltez?ssel, Gabor Juhos ?rta:
> The current code uses the CONFIG_SYS_MONITOR_BASE
> constant to calculate the size of the reserved
> memory for U-Boot. The constant is also used
> explicitly to calcualte the value of the
> monitor_flash_len variable.
> 
> However this leads to miscalculated values if
> CONFIG_SYS_TEXT_BASE != CONFIG_SYS_MONITOR_BASE.
> 
> Use the linked address of the _start symbol in
> the calculations to fix the miscalculated values.
> 
> Also print the calculated monitor length if
> debug is enabled.
> 
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>

Forget this. It still does not work as expected.

-Gabor

      reply	other threads:[~2013-01-16 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 14:39 [U-Boot] [PATCH] MIPS: board.c: fix monitor length calculations Gabor Juhos
2013-01-16 17:43 ` Gabor Juhos [this message]

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=50F6E6CE.6000408@openwrt.org \
    --to=juhosg@openwrt.org \
    --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.