From: Daniel Schwierzeck Date: Fri, 19 Jan 2018 12:32:11 +0100 Subject: [U-Boot] [PATCH] boston: Pad binary in .mcs to a multiple of 16 bytes In-Reply-To: <20180118223641.6178-1-paul.burton@mips.com> References: <20180118223641.6178-1-paul.burton@mips.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18.01.2018 23:36, Paul Burton wrote: > When flashing U-Boot on a Boston board using Xilinx Vivado tools, the > final 0x00 byte which ends the .relocs section seems to be skipped & > left in flash as 0xff unless the data contained in the .mcs is padded > out to a 16 byte boundary. Without our final zero byte relocation will > fail with an error about a spurious reloc: > > Avoid this problem by padding out the data in the .mcs file to a 16 byte > boundary using srec_cat's -range-pad functionality. > > Signed-off-by: Paul Burton > Cc: Daniel Schwierzeck > > --- > > board/imgtec/boston/config.mk | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > applied to u-boot-mips, thanks. -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: