[systemd-devel] [PATCH] [RFC] Make reboot to support additional command

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Aug 24 10:49:01 PDT 2013


On Sat, Aug 24, 2013 at 12:58:23PM +0200, Kay Sievers wrote:
> On Sat, Aug 24, 2013 at 6:12 AM, WaLyong Cho <walyong.cho at samsung.com> wrote:
> > On 08/24/2013 01:47 AM, Zbigniew Jędrzejewski-Szmek wrote:
> >> On Tue, Aug 13, 2013 at 03:01:25AM +0900, WaLyong Cho wrote:
> >>> From: WaLyong Cho <walyong.cho at samsung.com>
> >>>
> >>> reboot syscall can be performed with additional argument. In some of
> >>> system, this functionality can be useful to ask next boot mode to
> >>> bootloader.
> >> What are the possible values of this additional argument?
> >> What systems support it?
> >
> > Any string can be. i.e. download and fota(firmware update by air) can
> > be. In mobile system(actually tizen), if user try to update the firmware
> > by air, then the system should be booted special mode at the next boot.
> > To ask this information to bootloader, reboot can use boot parameter.
> 
> EFI supports something similar:
>   http://wiki.phoenix.com/wiki/index.php/EFI_RUNTIME_SERVICES#ResetSystem.28.29
> 
> We need to be careful how to add or support that. If we do that, it
> needs to be supported in PID1 and over the D-Bus interface too, I
> guess.
Right, the first question is whether there's a closed set of options, or
do arbitrary strings need to be supported.

Zbyszek


More information about the systemd-devel mailing list