All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary
@ 2015-04-22 16:13 Alexander Graf
  2015-04-23  2:26 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2015-04-22 16:13 UTC (permalink / raw)
  To: u-boot

The QEMU u-boot located itself at a 4k aligned offset which the rest
of the code didn't really expect. Align it with 64k to allow the memory
code to deal with 64k granularity.

This fixes broken interrupt delivery with the ppce500 machine for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 include/configs/qemu-ppce500.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 7071849..ec90797 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -18,7 +18,7 @@
 #define CONFIG_QEMU_E500
 
 #undef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE	0xf01000 /* 15 MB */
+#define CONFIG_SYS_TEXT_BASE	0xf10000 /* 15 MB */
 #define CONFIG_SYS_GENERIC_BOARD
 
 #define CONFIG_SYS_MPC85XX_NO_RESETVEC
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary
  2015-04-22 16:13 [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary Alexander Graf
@ 2015-04-23  2:26 ` Scott Wood
  2015-06-29 18:17   ` York Sun
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2015-04-23  2:26 UTC (permalink / raw)
  To: u-boot

On Wed, 2015-04-22 at 18:13 +0200, Alexander Graf wrote:
> The QEMU u-boot located itself at a 4k aligned offset which the rest
> of the code didn't really expect. Align it with 64k to allow the memory
> code to deal with 64k granularity.
> 
> This fixes broken interrupt delivery with the ppce500 machine for me.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>
> ---
>  include/configs/qemu-ppce500.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
> index 7071849..ec90797 100644
> --- a/include/configs/qemu-ppce500.h
> +++ b/include/configs/qemu-ppce500.h
> @@ -18,7 +18,7 @@
>  #define CONFIG_QEMU_E500
>  
>  #undef CONFIG_SYS_TEXT_BASE
> -#define CONFIG_SYS_TEXT_BASE	0xf01000 /* 15 MB */
> +#define CONFIG_SYS_TEXT_BASE	0xf10000 /* 15 MB */
>  #define CONFIG_SYS_GENERIC_BOARD
>  
>  #define CONFIG_SYS_MPC85XX_NO_RESETVEC

I think we have a similar problem with NAND, SD, etc. boot on some
targets.  I'll try to fix it so that the existing addresses work.

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary
  2015-04-23  2:26 ` Scott Wood
@ 2015-06-29 18:17   ` York Sun
  2015-06-29 18:38     ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: York Sun @ 2015-06-29 18:17 UTC (permalink / raw)
  To: u-boot

Scott,

I lost track on your progress. Please let me know if I should hold this one or
drop it.

York

On 04/22/2015 07:26 PM, Scott Wood wrote:
> On Wed, 2015-04-22 at 18:13 +0200, Alexander Graf wrote:
>> The QEMU u-boot located itself at a 4k aligned offset which the rest
>> of the code didn't really expect. Align it with 64k to allow the memory
>> code to deal with 64k granularity.
>>
>> This fixes broken interrupt delivery with the ppce500 machine for me.
>>
>> Signed-off-by: Alexander Graf <agraf@suse.de>
>> ---
>>  include/configs/qemu-ppce500.h |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
>> index 7071849..ec90797 100644
>> --- a/include/configs/qemu-ppce500.h
>> +++ b/include/configs/qemu-ppce500.h
>> @@ -18,7 +18,7 @@
>>  #define CONFIG_QEMU_E500
>>  
>>  #undef CONFIG_SYS_TEXT_BASE
>> -#define CONFIG_SYS_TEXT_BASE	0xf01000 /* 15 MB */
>> +#define CONFIG_SYS_TEXT_BASE	0xf10000 /* 15 MB */
>>  #define CONFIG_SYS_GENERIC_BOARD
>>  
>>  #define CONFIG_SYS_MPC85XX_NO_RESETVEC
> 
> I think we have a similar problem with NAND, SD, etc. boot on some
> targets.  I'll try to fix it so that the existing addresses work.
> 
> -Scott
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary
  2015-06-29 18:17   ` York Sun
@ 2015-06-29 18:38     ` Scott Wood
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2015-06-29 18:38 UTC (permalink / raw)
  To: u-boot

On Mon, 2015-06-29 at 11:17 -0700, York Sun wrote:
> Scott,
> 
> I lost track on your progress. Please let me know if I should hold this one 
> or
> drop it.
> 
> York

It shouldn't be needed anymore, as of commit 
e1bfd1c6b7bc0dc530247fd9108feba3147adf36 ("powerpc/mpc85xx: Use GOT when 
loading IVORs post-relocation").

-Scott

> On 04/22/2015 07:26 PM, Scott Wood wrote:
> > On Wed, 2015-04-22 at 18:13 +0200, Alexander Graf wrote:
> > > The QEMU u-boot located itself at a 4k aligned offset which the rest
> > > of the code didn't really expect. Align it with 64k to allow the memory
> > > code to deal with 64k granularity.
> > > 
> > > This fixes broken interrupt delivery with the ppce500 machine for me.
> > > 
> > > Signed-off-by: Alexander Graf <agraf@suse.de>
> > > ---
> > >  include/configs/qemu-ppce500.h |    2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-
> > > ppce500.h
> > > index 7071849..ec90797 100644
> > > --- a/include/configs/qemu-ppce500.h
> > > +++ b/include/configs/qemu-ppce500.h
> > > @@ -18,7 +18,7 @@
> > >  #define CONFIG_QEMU_E500
> > >  
> > >  #undef CONFIG_SYS_TEXT_BASE
> > > -#define CONFIG_SYS_TEXT_BASE     0xf01000 /* 15 MB */
> > > +#define CONFIG_SYS_TEXT_BASE     0xf10000 /* 15 MB */
> > >  #define CONFIG_SYS_GENERIC_BOARD
> > >  
> > >  #define CONFIG_SYS_MPC85XX_NO_RESETVEC
> > 
> > I think we have a similar problem with NAND, SD, etc. boot on some
> > targets.  I'll try to fix it so that the existing addresses work.
> > 
> > -Scott
> > 
> > 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-29 18:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 16:13 [U-Boot] [PATCH] qemu-ppce500: Align code at 64k boundary Alexander Graf
2015-04-23  2:26 ` Scott Wood
2015-06-29 18:17   ` York Sun
2015-06-29 18:38     ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.