Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-23 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [090310 14:04]: From: Juha Yrjola juha.yrj...@solidboot.com The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode.

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-19 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090318 17:08]: On Wed, Mar 18, 2009 at 01:10:04PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090318 12:26]: On Wed, Mar 18, 2009 at 11:28:06AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-18 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090316 15:22]: On Mon, Mar 16, 2009 at 07:40:24PM +0200, Juha Yrjola wrote: Russell King - ARM Linux wrote: Right. You are aware that there is already a mechanism for doing this in the generic kernel (obviously not)? I am.

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-18 Thread Russell King - ARM Linux
On Wed, Mar 18, 2009 at 11:28:06AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090316 15:22]: On Mon, Mar 16, 2009 at 07:40:24PM +0200, Juha Yrjola wrote: Russell King - ARM Linux wrote: Right. You are aware that there is already a mechanism for

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-18 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [090318 12:26]: On Wed, Mar 18, 2009 at 11:28:06AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090316 15:22]: On Mon, Mar 16, 2009 at 07:40:24PM +0200, Juha Yrjola wrote: Russell King - ARM Linux wrote:

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [090318 13:09]: * Russell King - ARM Linux li...@arm.linux.org.uk [090318 12:26]: On Wed, Mar 18, 2009 at 11:28:06AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090316 15:22]: On Mon, Mar 16, 2009 at 07:40:24PM +0200,

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-18 Thread Russell King - ARM Linux
On Wed, Mar 18, 2009 at 01:10:04PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090318 12:26]: On Wed, Mar 18, 2009 at 11:28:06AM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090316 15:22]: On Mon, Mar 16, 2009 at

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-16 Thread Juha Yrjola
Russell King - ARM Linux wrote: The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode. The reason for this being... If my other patch [1] is applied,

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-16 Thread Russell King - ARM Linux
On Mon, Mar 16, 2009 at 06:07:07PM +0200, Juha Yrjola wrote: Russell King - ARM Linux wrote: The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode. The

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-16 Thread Juha Yrjola
Russell King - ARM Linux wrote: Right. You are aware that there is already a mechanism for doing this in the generic kernel (obviously not)? I am. Unfortunately, glibc fails to support this mechanism, as you say. I didn't want to start making such intrusive changes for our trivial need.

Re: [PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-15 Thread Russell King - ARM Linux
On Tue, Mar 10, 2009 at 02:03:33PM -0700, Tony Lindgren wrote: From: Juha Yrjola juha.yrj...@solidboot.com The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the

[PATCH 02/12] ARM: OMAP3: Store reboot mode in scratchpad on OMAP34xx

2009-03-10 Thread Tony Lindgren
From: Juha Yrjola juha.yrj...@solidboot.com The reboot mode can be communicated to a bootloader (or the kernel itself) with a scratchpad register. This functionality is especially useful, if userspace is allowed to change the reboot mode. Patch updated by Tony to also define the BOODMOD