All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to specify the size of bin?
Date: Fri, 16 May 2008 06:43:48 +0200	[thread overview]
Message-ID: <200805160643.48713.sr@denx.de> (raw)
In-Reply-To: <cdb837ea0805152026y7d31a1f0uf0e851632f3c889e@mail.gmail.com>

On Friday 16 May 2008, ?? wrote:
>      I know it is a newbie question. Any hint from you are welcome.
> In default, u-boot 1.1.5, "make walut_config && make all" will
> generate a 256KB bin.
> The last 4 bytes of the bin is a jump instruction to the entry point
> of u-boot.Is that right?

Yes, this is correct.

> But my ppc405GP walnut board has 512KB flash for holding u-boot.

All Walnut boards have 512k of NOR FLASH. Do you really have an original 
IBM/AMCC Walnut or a different custom 405GP board?

> I wonder 
> how to build a 512KB bin?

Generally this is possible. You need to change CONFIG_MONITOR_LEN & 
CFG_MONITOR_BASE in include/configs/walnut.h. And TEXT_BASE in 
board/amcc/walnut/config.mk.

> Is there any OPTION/SETTING targeting this 
> problem? Anything else
> I should take care?

But please don't forget that the environment is also stored in the NOR FLASH. 
And by changing the U-Boot size to 512k you leave no space for the 
environment.

So why exactly do you want to change the U-Boot image size?

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
=====================================================================

  reply	other threads:[~2008-05-16  4:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16  3:26 [U-Boot-Users] How to specify the size of bin? 甜瓜
2008-05-16  4:43 ` Stefan Roese [this message]
2008-05-16  5:31   ` 甜瓜
2008-05-16  5:48     ` Wolfgang Denk
2008-05-16  6:26       ` 甜瓜
2008-05-16  8:42         ` Wolfgang Denk
2008-05-16  6:01     ` Stefan Roese

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=200805160643.48713.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 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.