-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initrd/bin/talos-init: send IPL complete message to BMC
BMC awaits this message before it takes control over CPU fans speed. Signed-off-by: Krystian Hebel <[email protected]>
- Loading branch information
1 parent
ffd8ab9
commit b137dd3
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
# BMC on Talos must be informed that OS has been started in order to enable fan | ||
# control. This is done by writing 0xFE to I/O ports 0x81 and 0x82 (in that | ||
# order) through LPC connected to first CPU. LPC I/O space of first CPU is | ||
# mapped to memory at 0x80060300D0010000, I/O port number has to be added to | ||
# this address. Write can be performed using busybox's devmem applet. | ||
|
||
devmem 0x80060300D0010081 8 254 | ||
devmem 0x80060300D0010082 8 254 | ||
|
||
# Proceed with standard init path | ||
exec /bin/gui-init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters