On my Rock64 neither EFI nor PSCI shutdown actually power off the board.
RK805 does the job.
Details
- Reviewers
manu peterj bz - Commits
- rGcc0b35259aed: rk805: add system poweroff support
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 39944 Build 36833: arc lint + arc unit
Event Timeline
sys/arm64/rockchip/rk805.c | ||
---|---|---|
865 | I just copied the predominant style in the file. | |
867 | Both should mean the same in this context. | |
874 | But this is printed (if printed at all) on a separate line. | |
945 | Yes. See the summary / commit message. |
sys/arm64/rockchip/rk805.c | ||
---|---|---|
867 | Except all the other power-off functions in the system say 'power off' because 'shutdown' often means 'while(1);' or similar loop at the end, at least historically. | |
874 | true. You can ignore this. | |
945 | Add add that here explicitly. It's important enough to not be buried in the commit message, I'd think. |
address reviews for rk805 poweroff support
Also, rename the shutdown function to poweroff so that it is not
confused with the device_shutdown method.
Always print the "powering off" message (liberate from bootverbose).
If the code still runs after issuing the power-off command then it
failed regardless of whether we had any errors or not.