linux-mips
[Top] [All Lists]

Re: [RFC 11/13] MIPS: JZ4750D: Add Kbuild files

To: Maarten ter Huurne <maarten@treewalker.org>
Subject: Re: [RFC 11/13] MIPS: JZ4750D: Add Kbuild files
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 24 Oct 2012 18:56:12 +0200
Cc: Antony Pavlov <antonynpavlov@gmail.com>, linux-mips@linux-mips.org, Lars-Peter Clausen <lars@metafoo.de>
In-reply-to: <4796718.WhuB0k6pfC@hyperion>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1351014241-3207-1-git-send-email-antonynpavlov@gmail.com> <1351014241-3207-12-git-send-email-antonynpavlov@gmail.com> <4796718.WhuB0k6pfC@hyperion>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Oct 24, 2012 at 06:16:35PM +0200, Maarten ter Huurne wrote:

> What is the purpose of padding the load address to 64 bits?
> 
> The reason I'm asking is that we encountered a bug with that when creating a 
> u-boot image on a 32-bit host machine: the mkimage tool will only parse the 
> first 8 hex digits and then inserts the wrong load address into the uImage.

Ld internally uses 64 bit addresses.  Also, for platforms that support
32 bit and 64 bit kernels we'd have to specify two values that only differ
by the sign extension in the upper bits.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>