* [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
@ 2008-07-01 7:53 Jarkko Nikula
2008-07-01 9:39 ` Felipe Balbi
2008-07-03 10:26 ` Tony Lindgren
0 siblings, 2 replies; 8+ messages in thread
From: Jarkko Nikula @ 2008-07-01 7:53 UTC (permalink / raw)
To: linux-omap; +Cc: Jarkko Nikula
This adds basic booting support and selects CONFIG_MACH_NOKIA_N810 since
most of the HW and configuration are the same in N810 and N810 WiMAX.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
---
arch/arm/mach-omap2/Kconfig | 5 +++++
arch/arm/mach-omap2/board-n810.c | 10 ++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 072aded..bb6d695 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -45,6 +45,11 @@ config MACH_NOKIA_N810
bool "Nokia N810"
depends on MACH_NOKIA_N800
+config MACH_NOKIA_N810_WIMAX
+ bool "Nokia N810 WiMAX"
+ depends on MACH_NOKIA_N800
+ select MACH_NOKIA_N810
+
config MACH_OMAP2_TUSB6010
bool
depends on ARCH_OMAP2 && ARCH_OMAP2420
diff --git a/arch/arm/mach-omap2/board-n810.c b/arch/arm/mach-omap2/board-n810.c
index fb0e61f..8609a0b 100644
--- a/arch/arm/mach-omap2/board-n810.c
+++ b/arch/arm/mach-omap2/board-n810.c
@@ -35,3 +35,13 @@ MACHINE_START(NOKIA_N810, "Nokia N810")
.init_machine = nokia_n810_init,
.timer = &omap_timer,
MACHINE_END
+
+MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX")
+ .phys_io = 0x48000000,
+ .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc,
+ .boot_params = 0x80000100,
+ .map_io = nokia_n800_map_io,
+ .init_irq = nokia_n800_init_irq,
+ .init_machine = nokia_n810_init,
+ .timer = &omap_timer,
+MACHINE_END
--
1.5.5.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 7:53 [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX Jarkko Nikula
@ 2008-07-01 9:39 ` Felipe Balbi
2008-07-01 10:25 ` Jarkko Nikula
2008-07-03 10:26 ` Tony Lindgren
1 sibling, 1 reply; 8+ messages in thread
From: Felipe Balbi @ 2008-07-01 9:39 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-omap
Cool,
thanks dude :-)
On Tue, 1 Jul 2008 10:53:39 +0300, Jarkko Nikula <jarkko.nikula@nokia.com>
wrote:
> This adds basic booting support and selects CONFIG_MACH_NOKIA_N810 since
> most of the HW and configuration are the same in N810 and N810 WiMAX.
--
Best Regards,
Felipe Balbi
http://blog.felipebalbi.com
me@felipebalbi.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 9:39 ` Felipe Balbi
@ 2008-07-01 10:25 ` Jarkko Nikula
2008-07-01 11:55 ` Felipe Balbi
2008-07-01 12:09 ` Woodruff, Richard
0 siblings, 2 replies; 8+ messages in thread
From: Jarkko Nikula @ 2008-07-01 10:25 UTC (permalink / raw)
To: ext Felipe Balbi; +Cc: linux-omap
Hopefully someone finds a way to keep it running longer than just few
seconds :-)
I forgot to mention that it seems that HS OMAP or something is ceasing
the operation just few seconds after bootup. Initfs gets more scripts
executed but Debian from mtdblock4 hangs just in init.
Jarkko
On Tue, 01 Jul 2008 04:39:55 -0500
"ext Felipe Balbi" <me@felipebalbi.com> wrote:
> Cool,
>
> thanks dude :-)
>
> On Tue, 1 Jul 2008 10:53:39 +0300, Jarkko Nikula
> <jarkko.nikula@nokia.com> wrote:
> > This adds basic booting support and selects CONFIG_MACH_NOKIA_N810
> > since most of the HW and configuration are the same in N810 and
> > N810 WiMAX.
>
> --
> Best Regards,
>
> Felipe Balbi
> http://blog.felipebalbi.com
> me@felipebalbi.com
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 10:25 ` Jarkko Nikula
@ 2008-07-01 11:55 ` Felipe Balbi
2008-07-01 12:09 ` Woodruff, Richard
1 sibling, 0 replies; 8+ messages in thread
From: Felipe Balbi @ 2008-07-01 11:55 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-omap
On Tue, 1 Jul 2008 13:25:39 +0300, Jarkko Nikula <jarkko.nikula@nokia.com>
wrote:
> Hopefully someone finds a way to keep it running longer than just few
> seconds :-)
>
> I forgot to mention that it seems that HS OMAP or something is ceasing
> the operation just few seconds after bootup. Initfs gets more scripts
> executed but Debian from mtdblock4 hangs just in init.
hmm.. weird, should be transparent to kernel as long as bootloader
does its job, right ?
--
Best Regards,
Felipe Balbi
http://blog.felipebalbi.com
me@felipebalbi.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 10:25 ` Jarkko Nikula
2008-07-01 11:55 ` Felipe Balbi
@ 2008-07-01 12:09 ` Woodruff, Richard
2008-07-01 12:39 ` Jarkko Nikula
1 sibling, 1 reply; 8+ messages in thread
From: Woodruff, Richard @ 2008-07-01 12:09 UTC (permalink / raw)
To: Jarkko Nikula, ext Felipe Balbi; +Cc: linux-omap@vger.kernel.org
Hi,
> I forgot to mention that it seems that HS OMAP or something is ceasing
> the operation just few seconds after bootup. Initfs gets more scripts
> executed but Debian from mtdblock4 hangs just in init.
That is an odd statement. Are you commenting about an EMU/HS chip resetting during startup?
There is a secure watch dog when needs to be taken care of and if you program it right. Generally your initial secure driver or stub ppa will take care of this.
Regards,
Richard W.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 12:09 ` Woodruff, Richard
@ 2008-07-01 12:39 ` Jarkko Nikula
2008-07-01 13:11 ` Woodruff, Richard
0 siblings, 1 reply; 8+ messages in thread
From: Jarkko Nikula @ 2008-07-01 12:39 UTC (permalink / raw)
To: ext Woodruff, Richard; +Cc: ext Felipe Balbi, linux-omap@vger.kernel.org
On Tue, 1 Jul 2008 07:09:10 -0500
"ext Woodruff, Richard" <r-woodruff2@ti.com> wrote:
> Hi,
> > I forgot to mention that it seems that HS OMAP or something is
> > ceasing the operation just few seconds after bootup. Initfs gets
> > more scripts executed but Debian from mtdblock4 hangs just in init.
>
> That is an odd statement. Are you commenting about an EMU/HS chip
> resetting during startup?
>
Not resetting but the device seems to just stop during the process.
Only idea what came to mind that probably HS OMAP in N810 WiMAX is
causing this.
> There is a secure watch dog when needs to be taken care of and if you
> program it right. Generally your initial secure driver or stub ppa
> will take care of this.
>
Secure driver at least was missing in this trial what is indeed found
in our release :-)
Jarkko
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 12:39 ` Jarkko Nikula
@ 2008-07-01 13:11 ` Woodruff, Richard
0 siblings, 0 replies; 8+ messages in thread
From: Woodruff, Richard @ 2008-07-01 13:11 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: ext Felipe Balbi, linux-omap@vger.kernel.org
> > > I forgot to mention that it seems that HS OMAP or something is
> > > ceasing the operation just few seconds after bootup. Initfs gets
> > > more scripts executed but Debian from mtdblock4 hangs just in init.
> >
> > That is an odd statement. Are you commenting about an EMU/HS chip
> > resetting during startup?
> >
> Not resetting but the device seems to just stop during the process.
> Only idea what came to mind that probably HS OMAP in N810 WiMAX is
> causing this.
This is understandable actually. Especially if you don't have some kind of reset sequence in your power chip linked up.
For instance on 3430 + T2 you need to add a reset sequence script into T2's internal memory. If you don't and you have CPUFREQ (dvfs) running, you can reboot at a time when the voltage is to low. The ROM code expects a nominal (1.2v) voltage at reset time. So when the DPLL spins up you can lock up and die.
BTW, this also kills the a 'reboot' command which ultimately just does a warm reset sequence with a prcm write.
... actually in 2420 there are also errata around when its safe to issue a prcm based reset, this can also get you depending on your device. This deals with the need to be in bypass at the time of the write.
> > There is a secure watch dog when needs to be taken care of and if you
> > program it right. Generally your initial secure driver or stub ppa
> > will take care of this.
> >
> Secure driver at least was missing in this trial what is indeed found
> in our release :-)
That would do it. You need to take care of a couple bits else it won't make it. This is doubly true on 3430 as your full or stub security driver needs to do a bit more.
Regards,
Richard W.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX
2008-07-01 7:53 [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX Jarkko Nikula
2008-07-01 9:39 ` Felipe Balbi
@ 2008-07-03 10:26 ` Tony Lindgren
1 sibling, 0 replies; 8+ messages in thread
From: Tony Lindgren @ 2008-07-03 10:26 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-omap
* Jarkko Nikula <jarkko.nikula@nokia.com> [080701 10:54]:
> This adds basic booting support and selects CONFIG_MACH_NOKIA_N810 since
> most of the HW and configuration are the same in N810 and N810 WiMAX.
Pushing today.
Tony
> Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
> ---
> arch/arm/mach-omap2/Kconfig | 5 +++++
> arch/arm/mach-omap2/board-n810.c | 10 ++++++++++
> 2 files changed, 15 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 072aded..bb6d695 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -45,6 +45,11 @@ config MACH_NOKIA_N810
> bool "Nokia N810"
> depends on MACH_NOKIA_N800
>
> +config MACH_NOKIA_N810_WIMAX
> + bool "Nokia N810 WiMAX"
> + depends on MACH_NOKIA_N800
> + select MACH_NOKIA_N810
> +
> config MACH_OMAP2_TUSB6010
> bool
> depends on ARCH_OMAP2 && ARCH_OMAP2420
> diff --git a/arch/arm/mach-omap2/board-n810.c b/arch/arm/mach-omap2/board-n810.c
> index fb0e61f..8609a0b 100644
> --- a/arch/arm/mach-omap2/board-n810.c
> +++ b/arch/arm/mach-omap2/board-n810.c
> @@ -35,3 +35,13 @@ MACHINE_START(NOKIA_N810, "Nokia N810")
> .init_machine = nokia_n810_init,
> .timer = &omap_timer,
> MACHINE_END
> +
> +MACHINE_START(NOKIA_N810_WIMAX, "Nokia N810 WiMAX")
> + .phys_io = 0x48000000,
> + .io_pg_offst = ((0xd8000000) >> 18) & 0xfffc,
> + .boot_params = 0x80000100,
> + .map_io = nokia_n800_map_io,
> + .init_irq = nokia_n800_init_irq,
> + .init_machine = nokia_n810_init,
> + .timer = &omap_timer,
> +MACHINE_END
> --
> 1.5.5.4
>
> --
> 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] 8+ messages in thread
end of thread, other threads:[~2008-07-03 12:33 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 7:53 [PATCH] ARM: OMAP: Add support to Nokia N810 WiMAX Jarkko Nikula
2008-07-01 9:39 ` Felipe Balbi
2008-07-01 10:25 ` Jarkko Nikula
2008-07-01 11:55 ` Felipe Balbi
2008-07-01 12:09 ` Woodruff, Richard
2008-07-01 12:39 ` Jarkko Nikula
2008-07-01 13:11 ` Woodruff, Richard
2008-07-03 10:26 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox