[U-Boot] [PATCH] Remove gap fill in srec object

Wolfgang Denk
2008-09-06T20:21:30Z

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