From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] bdinfo not showing correct info about memory size
Date: Wed, 30 Jul 2008 14:08:42 +0200 [thread overview]
Message-ID: <200807301408.42246.sr@denx.de> (raw)
In-Reply-To: <20080730115412.1A91E248BF@gemini.denx.de>
On Wednesday 30 July 2008, Wolfgang Denk wrote:
> => bdi
> memstart = 0x00000000
> memsize = 0x100000000
> ...
>
> As you can see, this board has 4 GB of RAM and everything works just
> fine.
Yes. But unfortunately not for all boards. As it seems the patch
b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe [Change bd/gd memsize/ram_size to be
phys_size_t.] introduced %llX unconditionally for all non-ARM boards. And
many boards don't have support for 64bit printf formats enabled.
So what to do? Enable 64bit format on all boards? Or make this size printing
conditionally somehow?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2008-07-30 12:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 10:42 [U-Boot-Users] [PATCH] bdinfo not showing correct info about memory size Ricardo Ribalda Delgado
2008-07-30 11:04 ` Wolfgang Denk
2008-07-30 11:10 ` Ricardo Ribalda Delgado
2008-07-30 11:21 ` Wolfgang Denk
2008-07-30 11:34 ` Ricardo Ribalda Delgado
2008-07-30 11:54 ` Wolfgang Denk
2008-07-30 12:08 ` Stefan Roese [this message]
2008-07-30 11:54 ` Stefan Roese
2008-07-30 12:09 ` Wolfgang Denk
2008-07-30 12:13 ` Stefan Roese
2008-07-30 12:27 ` [U-Boot-Users] [PATCH] bdinfo not showing correct info aboutmemory size Ricardo
2008-07-31 9:11 ` [U-Boot-Users] [PATCH] bdinfo not showing correct info about memory size Wolfgang Denk
[not found] ` <aa76a2be0809011227t642d7460h9178efef2f1443d6@mail.gmail.com>
2008-09-01 19:28 ` [U-Boot] Fwd: " Ricardo Ribalda Delgado
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=200807301408.42246.sr@denx.de \
--to=sr@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