public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Remove gap fill in srec object
Date: Sat, 06 Sep 2008 22:21:30 +0200	[thread overview]
Message-ID: <20080906202130.E88DB24815@gemini.denx.de> (raw)
In-Reply-To: <1219422944-17293-1-git-send-email-ricardo.ribalda@uam.es>

Dear Ricardo Ribalda Delgado,

In message <1219422944-17293-1-git-send-email-ricardo.ribalda@uam.es> you wrote:
> Srec files do need gap fill: The load address is specified in the file.

I guess you mean "do *not* need gap fill" ?

> On ppc, a common object consist on u-boot on the begining of the memory
> and a jump and tlb setup on the last part of the memory (0xfffffffe).

This is not correct. The U-Boot image does not occupy any low  memory
- low memory is reserved for RAM, while the U-Boot image is stored in
ROM.  ROM  is typically mapped in high memory, often close to the end
of the physical address space.

> If the gap is included, u-boot can produce a 4 Gigabyte object!, with no
> more info that the srec.

Incorrect again. The U-Boot image never exceeds the physical size of
the ROM. Typically the U-Boot image size is well below 256 KiB, with
few systems (which include graphics support and other complex stuff)
going up to 512 KiB.

> On the other hand, it cant be avoided in the .bin object. It has no
> information about memory location.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>

I think your patch makes sense and could be applied, but the commit
message is too incorrect. Please fix this and resubmit.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Those who hate and fight must stop themselves -- otherwise it is  not
stopped.
	-- Spock, "Day of the Dove", stardate unknown

  parent reply	other threads:[~2008-09-06 20:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 16:35 [U-Boot] [PATCH] Remove gap fill in srec object Ricardo Ribalda Delgado
2008-08-22 16:35 ` [U-Boot] [PATCH] ppc440: ml507: Add .gitignore Ricardo Ribalda Delgado
2008-08-22 16:35   ` [U-Boot] [PATCH] ppc440: New board: Avnet Virtex5 FXT Evaluation Ricardo Ribalda Delgado
2008-08-23 19:05     ` Michal Simek
2008-08-24  0:42       ` Ricardo Ribalda Delgado
2008-08-24  9:49         ` Michal Simek
2008-08-25  8:09           ` Stefan Roese
2008-08-25  9:33             ` Michal Simek
2008-08-25 12:28               ` Ricardo Ribalda Delgado
2008-08-25 12:35                 ` Ricardo Ribalda Delgado
2008-08-25 13:36                   ` Michal Simek
2008-08-25 13:37                 ` Michal Simek
2008-09-08 12:56   ` [U-Boot] [PATCH] ppc440: ml507: Add .gitignore Stefan Roese
2008-09-08 13:10     ` Ricardo Ribalda Delgado
2008-09-06 20:21 ` Wolfgang Denk [this message]
2008-09-07 21:10   ` [U-Boot] [PATCH] Remove gap fill in srec object 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=20080906202130.E88DB24815@gemini.denx.de \
    --to=wd@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