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

WaLyong Cho walyong.cho at samsung.com
Sun Aug 25 19:46:26 PDT 2013



On 08/24/2013 11:38 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Sat, Aug 24, 2013 at 01:12:42PM +0900, WaLyong Cho 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.
> Google tells me that the argument is architecture and firmware specific.
> Do you have some examples of strings that are actually used?

In our system, that is handled by bootloader. Now we are using below
lists. normal, download, fus, fus_rw, ramdump, recovery, fota,
charging.(fus is similar with download)
If I assume some case, in mobile phone, user can upgrade his
firmware(means entire system) through the mobile network. Some of user
interface will be offered to verify of users choice. If user want to
upgrade device then newly released firmware will be downloaded and will
be rebooted for applying that firmware. In this case, device should be
entered special boot mode to upgrade to new firmware. For this we are
using reboot with command argument.(maybe fota in this case)
Reboot parameter is used when trying to enter some other special mode
in(after) the normal boot.

> 
> Zbyszek
> 


More information about the systemd-devel mailing list