public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: zynq: fix a bug in Zynq linker script
Date: Tue, 17 Jun 2014 12:38:05 +0200	[thread overview]
Message-ID: <53A01A8D.80401@monstr.eu> (raw)
In-Reply-To: <20140617174523.E7F9.AA925319@jp.panasonic.com>

On 06/17/2014 10:45 AM, Masahiro Yamada wrote:
> Hi Michal,
> 
> On Thu,  5 Jun 2014 19:47:45 +0900
> Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> 
>> Commit 41623c91 moved exception handlers to ".vectores" section
>> but it missed to adjust Zynq linker script.
>>
>> Zynq boards hang up after relocation because "_start" symbol
>> does not point to the correct address and gd->relocaddr gets insane.
>>
>> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
>> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
>> Cc: Michal Simek <monstr@monstr.eu>
>> Tested-by: Michal Simek <monstr@monstr.eu>
>> ---
>>  arch/arm/cpu/armv7/zynq/u-boot.lds | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/cpu/armv7/zynq/u-boot.lds b/arch/arm/cpu/armv7/zynq/u-boot.lds
>> index 69500a6..4dc9bb0 100644
>> --- a/arch/arm/cpu/armv7/zynq/u-boot.lds
>> +++ b/arch/arm/cpu/armv7/zynq/u-boot.lds
>> @@ -18,6 +18,7 @@ SECTIONS
>>  	.text :
>>  	{
>>  		*(.__image_copy_start)
>> +		*(.vectors)
>>  		CPUDIR/start.o (.text*)
>>  		*(.text*)
>>  	}
> 
> 
> This bug should be fixed asap.
> 
> Because this patch is assigned to you, 
> could you apply it and send a pull-request, please?

Applied and pull request sent.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140617/47309fd7/attachment.pgp>

  reply	other threads:[~2014-06-17 10:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 10:47 [U-Boot] [PATCH] arm: zynq: fix a bug in Zynq linker script Masahiro Yamada
2014-06-17  8:45 ` Masahiro Yamada
2014-06-17 10:38   ` Michal Simek [this message]
2014-06-25  9:07     ` Helmut Raiger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A01A8D.80401@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox