mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
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 <krystian.hebel@3mdeb.com>
This commit is contained in:
parent
3c6efd1f47
commit
9550d2b541
@ -40,7 +40,7 @@ export CONFIG_USB_KEYBOARD=y
|
||||
export CONFIG_BOOT_EXTRA_TTYS="tty0"
|
||||
|
||||
export CONFIG_TPM=y
|
||||
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
||||
export CONFIG_BOOTSCRIPT=/bin/talos-init
|
||||
export CONFIG_BOOT_REQ_HASH=n
|
||||
export CONFIG_BOOT_REQ_ROLLBACK=n
|
||||
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||
|
12
initrd/bin/talos-init
Executable file
12
initrd/bin/talos-init
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user