public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* vanilla kernel is broken on omap board
@ 2008-05-07  0:48 Kyungmin Park
  2008-05-07  1:19 ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Kyungmin Park @ 2008-05-07  0:48 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, LKML, paul

Hi Tony,

Current vanilla kernel is broken on omap2 boards.
In the previous time you committed some omap2 patches, but some
patches are not missing.
Such as Runtime constants series. [1]

Now "some parts" are already included.
So you just commit the remain parts too such as in [2]
In most cases the board files don't set the their own global variables.

Thank you,
Kyungmin Park

1. Runtime constants: introduce omap2_set_globals_*()
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=2b256e28e8e70592f0c38a862cc4ba0498c9db7b
Runtime constants: use runtime-computed SDRC base
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=7b5f8cdb222052a7aa02ed38c59e0af1946b1e06
Runtime constants: use runtime-computed SMS base
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=80ccf4b99eb3892809bbebf7673bdd1a359d56ff

2.
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apo
index a1e1e67..620fa0f 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -394,6 +394,7 @@ static void __init omap_apollon_init(void)

 static void __init omap_apollon_map_io(void)
 {
+       omap2_set_globals_242x();
        omap2_map_common_io();
 }
diff --git a/include/asm-arm/arch-omap/common.h b/include/asm-arm/arch-omap/comm
index 224e009..36a3b62 100644
--- a/include/asm-arm/arch-omap/common.h
+++ b/include/asm-arm/arch-omap/common.h
@@ -47,4 +47,8 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrat
 }
 #endif

+void omap2_set_globals_242x(void);
+void omap2_set_globals_243x(void);
+void omap2_set_globals_343x(void);
+
 #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */

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

* Re: vanilla kernel is broken on omap board
  2008-05-07  0:48 vanilla kernel is broken on omap board Kyungmin Park
@ 2008-05-07  1:19 ` Tony Lindgren
  2008-05-07 23:44   ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2008-05-07  1:19 UTC (permalink / raw)
  To: Kyungmin Park; +Cc: linux-omap, LKML, paul

Hi,

* Kyungmin Park <kmpark@infradead.org> [080506 17:48]:
> Hi Tony,
> 
> Current vanilla kernel is broken on omap2 boards.
> In the previous time you committed some omap2 patches, but some
> patches are not missing.
> Such as Runtime constants series. [1]
> 
> Now "some parts" are already included.
> So you just commit the remain parts too such as in [2]
> In most cases the board files don't set the their own global variables.

Well at least we're getting closer to making omap2 really usable with
mainline kernel :)

Thanks for fixing that, will add this to omap-fixes queue and send it
upstream with bunch of other fixes.

Regards,

Tony


> Thank you,
> Kyungmin Park
> 
> 1. Runtime constants: introduce omap2_set_globals_*()
> http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=2b256e28e8e70592f0c38a862cc4ba0498c9db7b
> Runtime constants: use runtime-computed SDRC base
> http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=7b5f8cdb222052a7aa02ed38c59e0af1946b1e06
> Runtime constants: use runtime-computed SMS base
> http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=80ccf4b99eb3892809bbebf7673bdd1a359d56ff
> 
> 2.
> diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apo
> index a1e1e67..620fa0f 100644
> --- a/arch/arm/mach-omap2/board-apollon.c
> +++ b/arch/arm/mach-omap2/board-apollon.c
> @@ -394,6 +394,7 @@ static void __init omap_apollon_init(void)
> 
>  static void __init omap_apollon_map_io(void)
>  {
> +       omap2_set_globals_242x();
>         omap2_map_common_io();
>  }
> diff --git a/include/asm-arm/arch-omap/common.h b/include/asm-arm/arch-omap/comm
> index 224e009..36a3b62 100644
> --- a/include/asm-arm/arch-omap/common.h
> +++ b/include/asm-arm/arch-omap/common.h
> @@ -47,4 +47,8 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrat
>  }
>  #endif
> 
> +void omap2_set_globals_242x(void);
> +void omap2_set_globals_243x(void);
> +void omap2_set_globals_343x(void);
> +
>  #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */

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

* Re: vanilla kernel is broken on omap board
  2008-05-07  1:19 ` Tony Lindgren
@ 2008-05-07 23:44   ` Tony Lindgren
  2008-05-07 23:58     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2008-05-07 23:44 UTC (permalink / raw)
  To: Kyungmin Park; +Cc: linux-omap, LKML, paul

* Tony Lindgren <tony@atomide.com> [080506 18:19]:
> Hi,
> 
> * Kyungmin Park <kmpark@infradead.org> [080506 17:48]:
> > Hi Tony,
> > 
> > Current vanilla kernel is broken on omap2 boards.
> > In the previous time you committed some omap2 patches, but some
> > patches are not missing.
> > Such as Runtime constants series. [1]
> > 
> > Now "some parts" are already included.
> > So you just commit the remain parts too such as in [2]
> > In most cases the board files don't set the their own global variables.
> 
> Well at least we're getting closer to making omap2 really usable with
> mainline kernel :)
> 
> Thanks for fixing that, will add this to omap-fixes queue and send it
> upstream with bunch of other fixes.

Kyungmin, can you reply with your Signed-off-by for this patch?

> 
> Regards,
> 
> Tony
> 
> 
> > Thank you,
> > Kyungmin Park
> > 
> > 1. Runtime constants: introduce omap2_set_globals_*()
> > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=2b256e28e8e70592f0c38a862cc4ba0498c9db7b
> > Runtime constants: use runtime-computed SDRC base
> > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=7b5f8cdb222052a7aa02ed38c59e0af1946b1e06
> > Runtime constants: use runtime-computed SMS base
> > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=80ccf4b99eb3892809bbebf7673bdd1a359d56ff
> > 
> > 2.
> > diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apo
> > index a1e1e67..620fa0f 100644
> > --- a/arch/arm/mach-omap2/board-apollon.c
> > +++ b/arch/arm/mach-omap2/board-apollon.c
> > @@ -394,6 +394,7 @@ static void __init omap_apollon_init(void)
> > 
> >  static void __init omap_apollon_map_io(void)
> >  {
> > +       omap2_set_globals_242x();
> >         omap2_map_common_io();
> >  }
> > diff --git a/include/asm-arm/arch-omap/common.h b/include/asm-arm/arch-omap/comm
> > index 224e009..36a3b62 100644
> > --- a/include/asm-arm/arch-omap/common.h
> > +++ b/include/asm-arm/arch-omap/common.h
> > @@ -47,4 +47,8 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrat
> >  }
> >  #endif
> > 
> > +void omap2_set_globals_242x(void);
> > +void omap2_set_globals_243x(void);
> > +void omap2_set_globals_343x(void);
> > +
> >  #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: vanilla kernel is broken on omap board
  2008-05-07 23:44   ` Tony Lindgren
@ 2008-05-07 23:58     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2008-05-07 23:58 UTC (permalink / raw)
  To: Kyungmin Park; +Cc: linux-omap, LKML, paul

* Tony Lindgren <tony@atomide.com> [080507 16:47]:
> * Tony Lindgren <tony@atomide.com> [080506 18:19]:
> > Hi,
> > 
> > * Kyungmin Park <kmpark@infradead.org> [080506 17:48]:
> > > Hi Tony,
> > > 
> > > Current vanilla kernel is broken on omap2 boards.
> > > In the previous time you committed some omap2 patches, but some
> > > patches are not missing.
> > > Such as Runtime constants series. [1]
> > > 
> > > Now "some parts" are already included.
> > > So you just commit the remain parts too such as in [2]
> > > In most cases the board files don't set the their own global variables.
> > 
> > Well at least we're getting closer to making omap2 really usable with
> > mainline kernel :)
> > 
> > Thanks for fixing that, will add this to omap-fixes queue and send it
> > upstream with bunch of other fixes.
> 
> Kyungmin, can you reply with your Signed-off-by for this patch?

Actually, I'll use Paul's patch 2b256e28e8e70592f0c38a862cc4ba0498c9db7b
from linux-omap tree like you suggested so we already have s-o-b.

Tony

> 
> > 
> > Regards,
> > 
> > Tony
> > 
> > 
> > > Thank you,
> > > Kyungmin Park
> > > 
> > > 1. Runtime constants: introduce omap2_set_globals_*()
> > > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=2b256e28e8e70592f0c38a862cc4ba0498c9db7b
> > > Runtime constants: use runtime-computed SDRC base
> > > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=7b5f8cdb222052a7aa02ed38c59e0af1946b1e06
> > > Runtime constants: use runtime-computed SMS base
> > > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=80ccf4b99eb3892809bbebf7673bdd1a359d56ff
> > > 
> > > 2.
> > > diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apo
> > > index a1e1e67..620fa0f 100644
> > > --- a/arch/arm/mach-omap2/board-apollon.c
> > > +++ b/arch/arm/mach-omap2/board-apollon.c
> > > @@ -394,6 +394,7 @@ static void __init omap_apollon_init(void)
> > > 
> > >  static void __init omap_apollon_map_io(void)
> > >  {
> > > +       omap2_set_globals_242x();
> > >         omap2_map_common_io();
> > >  }
> > > diff --git a/include/asm-arm/arch-omap/common.h b/include/asm-arm/arch-omap/comm
> > > index 224e009..36a3b62 100644
> > > --- a/include/asm-arm/arch-omap/common.h
> > > +++ b/include/asm-arm/arch-omap/common.h
> > > @@ -47,4 +47,8 @@ static inline int omap_register_i2c_bus(int bus_id, u32 clkrat
> > >  }
> > >  #endif
> > > 
> > > +void omap2_set_globals_242x(void);
> > > +void omap2_set_globals_243x(void);
> > > +void omap2_set_globals_343x(void);
> > > +
> > >  #endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-05-07 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07  0:48 vanilla kernel is broken on omap board Kyungmin Park
2008-05-07  1:19 ` Tony Lindgren
2008-05-07 23:44   ` Tony Lindgren
2008-05-07 23:58     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox