--- Log opened Sat Apr 22 00:00:42 2017 | ||
shorne | anyone ever work on the proper procedure for shutting down an openrisc machine? | 04:43 |
---|---|---|
shorne | the power management unit will just stop the cpu... but I guess ideally the system would need to hardware to cut power | 04:44 |
wbx | shorne: okay. i will keep the patch for my testing stuff. need to document my qemu stuff anyway, as I have a lot o exceptions for the different architectures. (nios2, xtensa, metag, ..) | 07:08 |
stekern | shorne: that | 08:23 |
stekern | 's more platform specific than arch specific | 08:23 |
stekern | how you shutdown | 08:23 |
stekern | as you say, you'll need to cut the power from regulator | 08:24 |
shorne | stekern: yeah, I am thinking it would be something like 1. turn of interrups 2. signal power regulator chip to shut down power 3. put cpu info power mode suspend | 10:34 |
shorne | the part 2 (provided by platform) will actually shut down | 10:34 |
shorne | sorry too many typos its late at night... | 10:35 |
stekern | I don't think you can have any steps after 2. | 11:07 |
stekern | and 2. is usually handled by a PMIC driver | 11:09 |
shorne | stekern: yeah, I was kind of wondering about if step 2 would take 1 cycle to turn off the power... or maybe its a bit slower, so might as well stall the cpu in case | 17:15 |
--- Log closed Sun Apr 23 00:00:43 2017 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!