All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Hallinan <clh@net1plus.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Big ppcboot image
Date: Fri, 13 Dec 2002 09:56:54 -0500	[thread overview]
Message-ID: <NEBBKJPFOLJNBMFNKBIIGECLDDAA.clh@net1plus.com> (raw)
In-Reply-To: <81A66F72DCACD511B0600002A551BFCB4E9CE4@kuumex05.barco.com>

The fact that PPCBoot is reporting incorrect sizes indicates that
your image is too big for the linker script (.lds file) object file
allocation and memory organization.  Your image is far too big.  You
would have to customize your .lds file and it isn't worth the
effort.  Another option might be this: burn your linux kernel image
into an unused portion of your flash at a known address, and have
your boot command do the "bootm" command at that address, such as
the following:

prog 0xffa00000 ppcboot-linux-image

and your boot command would be:

bootm 0xffa00000

Chris Hallinan
DS4.COM, Inc.


> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On
> Behalf Of Callebaut,
> Beno?t
> Sent: Friday, December 13, 2002 9:37 AM
> To: U-Boot-Users at Sourceforge. Net (E-mail)
> Subject: [U-Boot-Users] Big ppcboot image
>
>
>
> Hello,
> I am using ppcboot 2.0.0 and I placed the linux kernel in
> the ppcboot image
> ( included in an header file).
> Note that I use automatic boot (ie I don't use the main loop)
> The idea is that instead of loading the image from an
> esternal source
> (nfs,...) I use only bootm to boot the image directly from memory.
> THe problem is that the ppcboot image is now around 720
> kBytes instead of
> 120 kBytes. And something goes wrong at the end of the
> board_init_f just
> before the realocation (realocate_code) or in it.
> PPCBoot give me the following message "PPCBoot size
> -292044 > reserved
> (786432)"
>
> Some tips on what is going wrong.
> ----------------------------------------------------------
> ------------------
> ------
> Benoit Callebaut
> Software Development Engineer
> Barco | Control Rooms
> Noordlaan 5, 8520 Kuurne, Belgium
>
> Tel 	+32(0)56 36 84 28
> Fax 	+32(0)56 36 86 05
>
> mailto:benoit.callebaut at barco.com
> http://www.barcocontrolrooms.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance
> Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>

  parent reply	other threads:[~2002-12-13 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-13 14:36 [U-Boot-Users] Big ppcboot image "Callebaut, Benoît"
2002-12-13 14:45 ` Marius Groeger
2002-12-13 14:56 ` Chris Hallinan [this message]
2002-12-13 15:05 ` 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=NEBBKJPFOLJNBMFNKBIIGECLDDAA.clh@net1plus.com \
    --to=clh@net1plus.com \
    --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.