Reboot on ArmV8

Shashank Anand shashank.anand at gapfruit.com
Wed Jun 29 13:43:05 CEST 2022


On 2022-06-28 16:04, Shashank Anand wrote:

> Hi Genodians,
> 
> On x86, the acipica component enables shutdown and reboot of the 
> device. I was however unable to find any related component in the 
> genode repo for power management on ArmV8
> 
> The PSCI functions are a convenient way for power management in ArmV8. 
> The base-hw kernel already provides a PSCI implementation of cpu_on and 
> cpu_off and it is trivial to implement the other PSCI functions as 
> well. I am particularly interested in system reset.
> 
> I would like to perform a system reset from a user space component, 
> however PSCI requires kernel privileges. Would it be possible to expose 
> the PSCI system reset service to a specific component? How feasible is 
> this modification with respect to the structure of base-hw?
> 
> Regards,
> 
> Shashank
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users

Hi Genodians,

Regarding resetting the IMX8MM board, I have found a better solution 
that does not require kernel privilege. The board can be reset by 
clearing the WDA bit of the Watchdog Control Register (WDOG1_WCR). 
Clearing the WDA bit triggers the WDOG_B signal which performs a system 
reset.

Regards,

Shashank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20220629/6750ba13/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x4B2A8203.asc
Type: application/pgp-keys
Size: 3117 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20220629/6750ba13/attachment.key>


More information about the users mailing list