Re: Reboot without reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Aug 02, 2006 at 04:00:20PM +0200, Michael Opdenacker wrote:
> Hi Marc-Andr?,
> 
> Marc-Andr? H?bert wrote:
> >We have a board here running on a pxa255 where we would want to perform a
> >reset (we usually do a hardware reset) except in one case we found out that
> >we would not want the gpios to reset. Would it be possible from within the
> >kernel to do this? It's not pretty but it might be the only way around it
> >without a hardware revision.
>
> Did you try the kexec system call?
> See http://free-electrons.com/kerneldoc/latest/kdump/kdump.txt (from 
> kernel documentation).

Or use a soft reboot.  Pass reboot=soft on the kernel command line.
Provided your reset handler supports it (which the PXA one does).

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter