From: Wolfgang Denk Date: Sat, 06 Sep 2008 22:21:30 +0200 Subject: [U-Boot] [PATCH] Remove gap fill in srec object In-Reply-To: <1219422944-17293-1-git-send-email-ricardo.ribalda@uam.es> References: <1219422944-17293-1-git-send-email-ricardo.ribalda@uam.es> Message-ID: <20080906202130.E88DB24815@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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