From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 24 Aug 2012 19:24:13 +0200 Subject: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc In-Reply-To: References: <1345709565-28862-1-git-send-email-sr@denx.de> <1345709565-28862-4-git-send-email-sr@denx.de> <503663EE.9000902@ti.com> <50367371.7080206@denx.de> <50368523.4080107@ti.com> <50373883.5090601@denx.de> <503754D6.1050405@denx.de> <50375DD1.80508@denx.de> <503761E5.5020106@denx.de> <50378B7B.2060108@denx.de> <5037A671.1070702@gmail.com> Message-ID: <5037B8BD.5020508@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/24/2012 06:42 PM, Daniel Schwierzeck wrote: >>>> The u-boot image is merged with SPL >>>> image without any padding or >>>> fixed flash offsets to achieve a maximum reduction of flash footprint. >>> >>> Interesting. I'm still padding to the fixed offset. Let me look into >>> squeezing those two images together as well... >> >> Looks good. One question though: How do you make sure, that your SPL >> image length is 4-byte aligned? > > I have 4-byte alignments for each section and for each address symbol > in my linker script. > Actually all MIPS linker scripts do this. Yes. I have those section alignments in the linker script as well. The problem is the end of the last (physical end in flash) section. If I have here a string with length 7 for example, the SPL binary has a non-4-byte aligned length. Any ideas on this? Thanks, Stefan