Merge pull request #1313 from Dasharo/talos_fan_speed

This commit is contained in:
tlaurion 2023-04-03 19:40:38 -04:00 committed by GitHub
commit a447674a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 193 additions and 660 deletions

View File

@ -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"

View File

@ -1,3 +1,4 @@
CONFIG_VENDOR_RAPTOR_CS=y
CONFIG_PAYLOAD_SKIBOOT=y
CONFIG_TALOS_2_INFINEON_TPM_1=y
CONFIG_TPM_LOG_TPM2=y
CONFIG_PAYLOAD_SKIBOOT=y

View File

@ -1,11 +1,3 @@
CONFIG_INITRAMFS_SOURCE="../../talos-2/initrd.cpio"
CONFIG_PPC64=y
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_EXPERT=y
CONFIG_TTY_PRINTK=y
CONFIG_ALTIVEC=y
CONFIG_VSX=y
CONFIG_NR_CPUS=2048
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
@ -21,27 +13,21 @@ CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=20
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../../talos-2/initrd.cpio"
# CONFIG_RD_GZIP is not set
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
CONFIG_EXPERT=y
CONFIG_PERF_EVENTS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB_FREELIST_HARDENED=y
CONFIG_JUMP_LABEL=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_FORCE=n
CONFIG_MODULE_SIG_SHA512=y
CONFIG_PARTITION_ADVANCED=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
# CONFIG_MQ_IOSCHED_DEADLINE is not set
# CONFIG_MQ_IOSCHED_KYBER is not set
CONFIG_PPC64=y
CONFIG_ALTIVEC=y
CONFIG_VSX=y
CONFIG_NR_CPUS=2048
CONFIG_CPU_LITTLE_ENDIAN=y
# CONFIG_PPC_VAS is not set
# CONFIG_PPC_PSERIES is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
@ -50,14 +36,26 @@ CONFIG_HZ_100=y
CONFIG_KEXEC=y
CONFIG_IRQ_ALL_CPUS=y
CONFIG_NUMA=y
# CONFIG_COMPACTION is not set
# CONFIG_MIGRATION is not set
# CONFIG_BOUNCE is not set
CONFIG_PPC_64K_PAGES=y
CONFIG_SCHED_SMT=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=tty0 console=hvc0 powersave=off quiet"
# CONFIG_SECCOMP is not set
CONFIG_GOOGLE_FIRMWARE=y
CONFIG_GOOGLE_COREBOOT_TABLE=y
CONFIG_GOOGLE_COREBOOT_CBMEM=y
CONFIG_GOOGLE_MEMCONSOLE_COREBOOT=y
CONFIG_JUMP_LABEL=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_SHA512=y
CONFIG_PARTITION_ADVANCED=y
# CONFIG_MQ_IOSCHED_DEADLINE is not set
# CONFIG_MQ_IOSCHED_KYBER is not set
# CONFIG_COMPACTION is not set
# CONFIG_MIGRATION is not set
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
@ -65,12 +63,8 @@ CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_NET_IPIP=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_IPV6 is not set
# CONFIG_WIRELESS is not set
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_MTD=y
@ -79,511 +73,52 @@ CONFIG_MTD_POWERNV_FLASH=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=65536
CONFIG_VIRTIO_BLK=n
CONFIG_BLK_DEV_NVME=y
CONFIG_EEPROM_AT24=n
# CONFIG_CXL is not set
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_CHR_DEV_OSST=n
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_SCAN_ASYNC=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_CXGB3_ISCSI=n
CONFIG_SCSI_CXGB4_ISCSI=n
CONFIG_SCSI_BNX2_ISCSI=n
CONFIG_SCSI_AACRAID=n
CONFIG_MEGARAID_NEWGEN=y
CONFIG_MEGARAID_MM=n
CONFIG_MEGARAID_MAILBOX=n
CONFIG_MEGARAID_SAS=n
CONFIG_SCSI_MPT2SAS=n
CONFIG_SCSI_IPR=n
# CONFIG_SCSI_IPR_TRACE is not set
# CONFIG_SCSI_IPR_DUMP is not set
CONFIG_SCSI_QLA_FC=n
CONFIG_SCSI_QLA_ISCSI=n
CONFIG_SCSI_LPFC=n
CONFIG_SCSI_VIRTIO=n
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_ALUA=n
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_AHCI_PLATFORM=n
CONFIG_AHCI_CEVA=n
CONFIG_SATA_INIC162X=n
CONFIG_SATA_ACARD_AHCI=n
CONFIG_SATA_SIL24=n
CONFIG_PDC_ADMA=n
CONFIG_SATA_QSTOR=n
CONFIG_SATA_SX4=n
CONFIG_ATA_PIIX=n
CONFIG_SATA_MV=n
CONFIG_SATA_NV=n
CONFIG_SATA_PROMISE=n
CONFIG_SATA_SIL=n
CONFIG_SATA_SIS=n
CONFIG_SATA_SVW=n
CONFIG_SATA_ULI=n
CONFIG_SATA_VIA=n
CONFIG_SATA_VITESSE=n
CONFIG_PATA_ALI=n
CONFIG_PATA_AMD=n
CONFIG_PATA_ARTOP=n
CONFIG_PATA_ATIIXP=n
CONFIG_PATA_ATP867X=n
CONFIG_PATA_CMD64X=n
CONFIG_PATA_CYPRESS=n
CONFIG_PATA_EFAR=n
CONFIG_PATA_HPT366=n
CONFIG_PATA_HPT37X=n
CONFIG_PATA_HPT3X2N=n
CONFIG_PATA_HPT3X3=n
CONFIG_PATA_IT8213=n
CONFIG_PATA_IT821X=n
CONFIG_PATA_JMICRON=n
CONFIG_PATA_MARVELL=n
CONFIG_PATA_NETCELL=n
CONFIG_PATA_NINJA32=n
CONFIG_PATA_NS87415=n
CONFIG_PATA_OLDPIIX=n
CONFIG_PATA_OPTIDMA=n
CONFIG_PATA_PDC2027X=n
CONFIG_PATA_PDC_OLD=n
CONFIG_PATA_RADISYS=n
CONFIG_PATA_RDC=n
CONFIG_PATA_SCH=n
CONFIG_PATA_SERVERWORKS=n
CONFIG_PATA_SIL680=n
CONFIG_PATA_TOSHIBA=n
CONFIG_PATA_TRIFLEX=n
CONFIG_PATA_VIA=n
CONFIG_PATA_WINBOND=n
CONFIG_PATA_CMD640_PCI=n
CONFIG_PATA_MPIIX=n
CONFIG_PATA_NS87410=n
CONFIG_PATA_OPTI=n
CONFIG_PATA_PLATFORM=n
CONFIG_PATA_OF_PLATFORM=n
CONFIG_PATA_RZ1000=n
CONFIG_ATA_GENERIC=n
CONFIG_MD=y
CONFIG_BLK_DEV_MD=n
CONFIG_MD_LINEAR=n
CONFIG_MD_RAID0=n
CONFIG_MD_RAID1=n
CONFIG_MD_RAID10=n
CONFIG_MD_RAID456=n
CONFIG_MD_MULTIPATH=n
CONFIG_MD_FAULTY=n
CONFIG_BLK_DEV_DM=n
CONFIG_DM_CRYPT=n
CONFIG_DM_SNAPSHOT=n
CONFIG_DM_MIRROR=n
CONFIG_DM_ZERO=n
CONFIG_DM_MULTIPATH=n
CONFIG_FIREWIRE=n
CONFIG_FIREWIRE_OHCI=n
CONFIG_FIREWIRE_SBP2=n
CONFIG_FIREWIRE_NET=n
CONFIG_VORTEX=n
CONFIG_TYPHOON=n
CONFIG_ADAPTEC_STARFIRE=y
CONFIG_ET131X=n
CONFIG_SLICOSS=y
CONFIG_ACENIC=n
CONFIG_ACENIC_OMIT_TIGON_I=y
CONFIG_ALTERA_TSE=n
CONFIG_AMD8111_ETH=n
CONFIG_PCNET32=n
CONFIG_ATL1=n
CONFIG_ATL1E=n
CONFIG_ATL1C=n
CONFIG_ALX=n
CONFIG_MACB=n
CONFIG_B44=n
CONFIG_BCMGENET=n
CONFIG_TIGON3=y
CONFIG_BNX2X=n
CONFIG_SYSTEMPORT=n
CONFIG_BNXT=n
# CONFIG_NET_VENDOR_CAVIUM is not set
CONFIG_CHELSIO_T1=y
CONFIG_CHELSIO_T1_1G=y
CONFIG_CHELSIO_T4VF=n
CONFIG_ENIC=n
CONFIG_DNET=n
CONFIG_NET_TULIP=y
CONFIG_DE2104X=n
CONFIG_TULIP=n
CONFIG_TULIP_MWI=y
CONFIG_TULIP_MMIO=y
CONFIG_TULIP_NAPI=y
CONFIG_DE4X5=n
CONFIG_WINBOND_840=n
CONFIG_DM9102=n
CONFIG_ULI526X=n
CONFIG_DL2K=n
CONFIG_SUNDANCE=n
CONFIG_SUNDANCE_MMIO=y
CONFIG_BE2NET=n
CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=n
CONFIG_S2IO=n
CONFIG_VXGE=n
CONFIG_HP100=n
CONFIG_E100=n
CONFIG_E1000=n
CONFIG_E1000E=n
CONFIG_IGB=n
CONFIG_IGBVF=n
CONFIG_IXGB=n
CONFIG_IXGBE=n
CONFIG_IXGBEVF=n
CONFIG_I40E=n
CONFIG_I40EVF=n
CONFIG_FM10K=n
CONFIG_JME=n
CONFIG_MVMDIO=n
CONFIG_SKGE=n
CONFIG_SKY2=n
CONFIG_MLX4_EN=n
CONFIG_MLX5_CORE=n
CONFIG_MLX5_FPGA=y
CONFIG_MLX5_CORE_EN=y
CONFIG_MLX5_CORE_IPOIB=y
CONFIG_MLXSW_CORE=n
CONFIG_MLXFW=n
CONFIG_KS8851_MLL=n
CONFIG_KSZ884X_PCI=n
CONFIG_MYRI10GE=n
CONFIG_FEALNX=n
CONFIG_NATSEMI=n
CONFIG_NS83820=n
CONFIG_NFP=n
CONFIG_NE2K_PCI=n
CONFIG_FORCEDETH=n
CONFIG_ETHOC=n
CONFIG_HAMACHI=n
CONFIG_YELLOWFIN=n
CONFIG_QLA3XXX=n
CONFIG_QLCNIC=n
CONFIG_QLGE=n
CONFIG_NETXEN_NIC=n
CONFIG_QED=n
CONFIG_QEDE=n
CONFIG_QCOM_EMAC=n
CONFIG_RMNET=n
CONFIG_8139CP=n
CONFIG_8139TOO=n
CONFIG_R8169=n
CONFIG_R6040=n
CONFIG_SXGBE_ETH=n
CONFIG_SC92031=n
CONFIG_SIS900=n
CONFIG_SIS190=n
CONFIG_SFC=n
CONFIG_SFC_FALCON=n
CONFIG_EPIC100=n
CONFIG_SMSC911X=n
CONFIG_SMSC9420=n
CONFIG_STMMAC_ETH=n
CONFIG_DWMAC_DWC_QOS_ETH=n
CONFIG_STMMAC_PCI=n
CONFIG_HAPPYMEAL=n
CONFIG_SUNGEM=n
CONFIG_CASSINI=n
CONFIG_NIU=n
CONFIG_TEHUTI=n
CONFIG_TI_CPSW_ALE=n
CONFIG_TLAN=n
CONFIG_VIA_RHINE=n
CONFIG_VIA_RHINE_MMIO=y
CONFIG_VIA_VELOCITY=n
CONFIG_WIZNET_W5100=n
CONFIG_WIZNET_W5300=n
CONFIG_XILINX_LL_TEMAC=n
CONFIG_DWC_XLGMAC=n
CONFIG_USB_NET_DRIVERS=n
CONFIG_USB_CATC=n
CONFIG_USB_KAWETH=n
CONFIG_USB_PEGASUS=n
CONFIG_USB_RTL8150=n
CONFIG_USB_RTL8152=n
CONFIG_USB_LAN78XX=n
CONFIG_USB_USBNET=n
CONFIG_USB_NET_HUAWEI_CDC_NCM=n
CONFIG_USB_NET_CDC_MBIM=n
CONFIG_USB_NET_DM9601=n
CONFIG_USB_NET_SR9700=n
CONFIG_USB_NET_SR9800=n
CONFIG_USB_NET_SMSC75XX=n
CONFIG_USB_NET_SMSC95XX=n
CONFIG_USB_NET_GL620A=n
CONFIG_USB_NET_PLUSB=n
CONFIG_USB_NET_MCS7830=n
CONFIG_USB_NET_RNDIS_HOST=n
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_KC2190=y
CONFIG_USB_NET_CX82310_ETH=n
CONFIG_USB_NET_KALMIA=n
CONFIG_USB_NET_QMI_WWAN=n
CONFIG_USB_NET_INT51X1=n
CONFIG_USB_IPHETH=n
CONFIG_USB_SIERRA_NET=n
CONFIG_USB_VL600=n
CONFIG_USB_NET_CH9200=n
# CONFIG_WLAN is not set
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_ADP5588=n
CONFIG_KEYBOARD_ADP5589=n
CONFIG_KEYBOARD_QT1070=n
CONFIG_KEYBOARD_QT2160=n
CONFIG_KEYBOARD_DLINK_DIR685=n
CONFIG_KEYBOARD_LKKBD=n
CONFIG_KEYBOARD_TCA6416=n
CONFIG_KEYBOARD_TCA8418=n
CONFIG_KEYBOARD_LM8333=n
CONFIG_KEYBOARD_MAX7359=n
CONFIG_KEYBOARD_MCS=n
CONFIG_KEYBOARD_MPR121=n
CONFIG_KEYBOARD_NEWTON=n
CONFIG_KEYBOARD_OPENCORES=n
CONFIG_KEYBOARD_STOWAWAY=n
CONFIG_KEYBOARD_SUNKBD=n
CONFIG_KEYBOARD_OMAP4=n
CONFIG_KEYBOARD_XTKBD=n
CONFIG_KEYBOARD_CAP11XX=n
CONFIG_MOUSE_APPLETOUCH=n
CONFIG_MOUSE_BCM5974=n
CONFIG_MOUSE_CYAPA=n
CONFIG_MOUSE_ELAN_I2C=n
CONFIG_MOUSE_VSXXXAA=n
CONFIG_MOUSE_SYNAPTICS_I2C=n
CONFIG_MOUSE_SYNAPTICS_USB=n
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_AD7879=n
CONFIG_TOUCHSCREEN_AD7879_I2C=n
CONFIG_TOUCHSCREEN_AR1021_I2C=n
CONFIG_TOUCHSCREEN_ATMEL_MXT=n
CONFIG_TOUCHSCREEN_BU21013=n
CONFIG_TOUCHSCREEN_CYTTSP_CORE=n
CONFIG_TOUCHSCREEN_CYTTSP_I2C=n
CONFIG_TOUCHSCREEN_CYTTSP4_CORE=n
CONFIG_TOUCHSCREEN_CYTTSP4_I2C=n
CONFIG_TOUCHSCREEN_DYNAPRO=n
CONFIG_TOUCHSCREEN_HAMPSHIRE=n
CONFIG_TOUCHSCREEN_EETI=n
CONFIG_TOUCHSCREEN_EGALAX=n
CONFIG_TOUCHSCREEN_EGALAX_SERIAL=n
CONFIG_TOUCHSCREEN_FUJITSU=n
CONFIG_TOUCHSCREEN_ILI210X=n
CONFIG_TOUCHSCREEN_GUNZE=n
CONFIG_TOUCHSCREEN_EKTF2127=n
CONFIG_TOUCHSCREEN_ELAN=n
CONFIG_TOUCHSCREEN_ELO=n
CONFIG_TOUCHSCREEN_WACOM_W8001=n
CONFIG_TOUCHSCREEN_WACOM_I2C=n
CONFIG_TOUCHSCREEN_MAX11801=n
CONFIG_TOUCHSCREEN_MCS5000=n
CONFIG_TOUCHSCREEN_MMS114=n
CONFIG_TOUCHSCREEN_MELFAS_MIP4=n
CONFIG_TOUCHSCREEN_MTOUCH=n
CONFIG_TOUCHSCREEN_INEXIO=n
CONFIG_TOUCHSCREEN_MK712=n
CONFIG_TOUCHSCREEN_PENMOUNT=n
CONFIG_TOUCHSCREEN_EDT_FT5X06=n
CONFIG_TOUCHSCREEN_TOUCHRIGHT=n
CONFIG_TOUCHSCREEN_TOUCHWIN=n
CONFIG_TOUCHSCREEN_PIXCIR=n
CONFIG_TOUCHSCREEN_WDT87XX_I2C=n
CONFIG_TOUCHSCREEN_WM97XX=n
CONFIG_TOUCHSCREEN_USB_COMPOSITE=n
CONFIG_TOUCHSCREEN_TOUCHIT213=n
CONFIG_TOUCHSCREEN_TSC_SERIO=n
CONFIG_TOUCHSCREEN_TSC2004=n
CONFIG_TOUCHSCREEN_TSC2007=n
CONFIG_TOUCHSCREEN_SILEAD=n
CONFIG_TOUCHSCREEN_ST1232=n
CONFIG_TOUCHSCREEN_SX8654=n
CONFIG_TOUCHSCREEN_TPS6507X=n
CONFIG_TOUCHSCREEN_ZET6223=n
CONFIG_TOUCHSCREEN_ROHM_BU21023=n
CONFIG_INPUT_MISC=y
CONFIG_RMI4_CORE=n
# CONFIG_SERIO_SERPORT is not set
CONFIG_DEVMEM=y
CONFIG_STRICT_DEVMEM=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_TTY_PRINTK=y
CONFIG_IPMI_HANDLER=y
CONFIG_IPMI_DEVICE_INTERFACE=y
CONFIG_IPMI_POWERNV=y
CONFIG_HW_RANDOM=y
CONFIG_TCG_TIS_I2C_INFINEON=y
CONFIG_TCG_TIS_I2C_NUVOTON=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_HELPER_AUTO is not set
# CONFIG_RC_CORE is not set
CONFIG_DRM=y
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
CONFIG_DRM_RADEON=y
CONFIG_DRM_AMDGPU=n
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMD_ACP=y
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_DCN1_0=y
CONFIG_DRM_AMD_DC_DCN2_0=y
CONFIG_DRM_VGEM=n
CONFIG_DRM_UDL=n
CONFIG_DRM_AST=y
CONFIG_DRM_MGAG200=n
CONFIG_DRM_CIRRUS_QEMU=n
CONFIG_DRM_RCAR_DW_HDMI=n
CONFIG_DRM_QXL=n
CONFIG_DRM_BOCHS=n
CONFIG_DRM_VIRTIO_GPU=n
CONFIG_DRM_ARCPGU=n
CONFIG_DRM_HISI_HIBMC=n
CONFIG_DRM_TINYDRM=n
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_CIRRUS=n
CONFIG_FB_PM2=n
CONFIG_FB_OF=y
CONFIG_FB_VGA16=n
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FB_S1D13XXX=n
CONFIG_FB_NVIDIA=n
CONFIG_FB_MATROX=y
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G=y
CONFIG_FB_MATROX_I2C=n
CONFIG_FB_MATROX_MAVEN=n
CONFIG_FB_RADEON=n
CONFIG_FB_ATY128=n
CONFIG_FB_ATY=n
CONFIG_FB_S3=n
CONFIG_FB_SAVAGE=n
CONFIG_FB_SIS=n
CONFIG_FB_NEOMAGIC=n
CONFIG_FB_KYRO=n
CONFIG_FB_3DFX=n
CONFIG_FB_VOODOO1=n
CONFIG_FB_VT8623=n
CONFIG_FB_TRIDENT=n
CONFIG_FB_ARK=n
CONFIG_FB_PM3=n
CONFIG_FB_CARMINE=n
CONFIG_FB_SMSCUFX=n
CONFIG_FB_UDL=n
CONFIG_FB_IBM_GXT4500=n
CONFIG_FB_METRONOME=n
CONFIG_FB_MB862XX=n
CONFIG_FB_BROADSHEET=n
CONFIG_FB_AUO_K190X=n
CONFIG_FB_AUO_K1900=n
CONFIG_FB_AUO_K1901=n
CONFIG_FB_SM712=n
# CONFIG_LCD_CLASS_DEVICE is not set
# CONFIG_BACKLIGHT_GENERIC is not set
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_SOUND=n
CONFIG_SND=n
CONFIG_SND_AD1889=n
CONFIG_SND_ALS300=n
CONFIG_SND_ALS4000=n
CONFIG_SND_ALI5451=n
CONFIG_SND_ATIIXP=n
CONFIG_SND_ATIIXP_MODEM=n
CONFIG_SND_AU8810=n
CONFIG_SND_AU8820=n
CONFIG_SND_AU8830=n
CONFIG_SND_AW2=n
CONFIG_SND_AZT3328=n
CONFIG_SND_BT87X=n
CONFIG_SND_CA0106=n
CONFIG_SND_CMIPCI=n
CONFIG_SND_OXYGEN=n
CONFIG_SND_CS4281=n
CONFIG_SND_CS46XX=n
CONFIG_SND_CTXFI=n
CONFIG_SND_DARLA20=n
CONFIG_SND_GINA20=n
CONFIG_SND_LAYLA20=n
CONFIG_SND_DARLA24=n
CONFIG_SND_GINA24=n
CONFIG_SND_LAYLA24=n
CONFIG_SND_MONA=n
CONFIG_SND_MIA=n
CONFIG_SND_ECHO3G=n
CONFIG_SND_INDIGO=n
CONFIG_SND_INDIGOIO=n
CONFIG_SND_INDIGODJ=n
CONFIG_SND_INDIGOIOX=n
CONFIG_SND_INDIGODJX=n
CONFIG_SND_EMU10K1=n
CONFIG_SND_EMU10K1X=n
CONFIG_SND_ENS1370=n
CONFIG_SND_ENS1371=n
CONFIG_SND_ES1938=n
CONFIG_SND_ES1968=n
CONFIG_SND_FM801=n
CONFIG_SND_HDSP=n
CONFIG_SND_HDSPM=n
CONFIG_SND_ICE1712=n
CONFIG_SND_ICE1724=n
CONFIG_SND_INTEL8X0=n
CONFIG_SND_INTEL8X0M=n
CONFIG_SND_KORG1212=n
CONFIG_SND_LOLA=n
CONFIG_SND_LX6464ES=n
CONFIG_SND_MAESTRO3=n
CONFIG_SND_MIXART=n
CONFIG_SND_NM256=n
CONFIG_SND_PCXHR=n
CONFIG_SND_RIPTIDE=n
CONFIG_SND_RME32=n
CONFIG_SND_RME96=n
CONFIG_SND_RME9652=n
CONFIG_SND_SONICVIBES=n
CONFIG_SND_TRIDENT=n
CONFIG_SND_VIA82XX=n
CONFIG_SND_VIA82XX_MODEM=n
CONFIG_SND_VIRTUOSO=n
CONFIG_SND_VX222=n
CONFIG_SND_YMFPCI=n
CONFIG_SND_HDA_INTEL=n
CONFIG_SND_HDA_CODEC_REALTEK=n
CONFIG_SND_HDA_CODEC_ANALOG=n
CONFIG_SND_HDA_CODEC_SIGMATEL=n
CONFIG_SND_HDA_CODEC_VIA=n
CONFIG_SND_HDA_CODEC_HDMI=n
CONFIG_SND_HDA_CODEC_CIRRUS=n
CONFIG_SND_HDA_CODEC_CONEXANT=n
CONFIG_SND_HDA_CODEC_CA0110=n
CONFIG_SND_HDA_CODEC_CA0132=n
CONFIG_SND_HDA_CODEC_CMEDIA=n
CONFIG_SND_HDA_CODEC_SI3054=n
CONFIG_SND_DICE=n
CONFIG_SND_OXFW=n
CONFIG_SND_ISIGHT=n
CONFIG_SND_FIREWORKS=n
CONFIG_SND_BEBOB=n
CONFIG_SND_FIREWIRE_DIGI00X=n
CONFIG_SND_FIREWIRE_TASCAM=n
CONFIG_SND_FIREWIRE_MOTU=n
CONFIG_SND_FIREFACE=n
CONFIG_USB_HID=m
CONFIG_USB_HIDDEV=y
CONFIG_USB=y
@ -591,160 +126,19 @@ CONFIG_USB_MON=y
CONFIG_USB_XHCI_HCD=m
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_HCD_PPC_OF is not set
CONFIG_USB_OXU210HP_HCD=n
CONFIG_USB_ISP116X_HCD=n
CONFIG_USB_ISP1362_HCD=n
CONFIG_USB_FOTG210_HCD=n
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=n
CONFIG_USB_SL811_HCD=n
CONFIG_USB_R8A66597_HCD=n
CONFIG_USB_HCD_SSB=n
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_REALTEK=n
CONFIG_USB_STORAGE_DATAFAB=n
CONFIG_USB_STORAGE_FREECOM=n
CONFIG_USB_STORAGE_ISD200=n
CONFIG_USB_STORAGE_USBAT=n
CONFIG_USB_STORAGE_SDDR09=n
CONFIG_USB_STORAGE_SDDR55=n
CONFIG_USB_STORAGE_JUMPSHOT=n
CONFIG_USB_STORAGE_ALAUDA=n
CONFIG_USB_STORAGE_ONETOUCH=n
CONFIG_USB_STORAGE_KARMA=n
CONFIG_USB_STORAGE_CYPRESS_ATACB=n
CONFIG_USB_STORAGE_ENE_UB6250=n
CONFIG_USB_UAS=n
CONFIG_USBIP_CORE=n
CONFIG_USBIP_VHCI_HCD=n
CONFIG_USBIP_HOST=n
CONFIG_USB_MUSB_HDRC=n
CONFIG_USB_DWC3=n
CONFIG_USB_DWC2=n
CONFIG_USB_DWC2_PCI=n
CONFIG_USB_CHIPIDEA=n
CONFIG_USB_ISP1760=n
CONFIG_USB_SERIAL=n
CONFIG_USB_SERIAL_SIMPLE=n
CONFIG_USB_SERIAL_AIRCABLE=n
CONFIG_USB_SERIAL_ARK3116=n
CONFIG_USB_SERIAL_BELKIN=n
CONFIG_USB_SERIAL_CH341=n
CONFIG_USB_SERIAL_WHITEHEAT=n
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=n
CONFIG_USB_SERIAL_CP210X=n
CONFIG_USB_SERIAL_CYPRESS_M8=n
CONFIG_USB_SERIAL_EMPEG=n
CONFIG_USB_SERIAL_FTDI_SIO=n
CONFIG_USB_SERIAL_VISOR=n
CONFIG_USB_SERIAL_IPAQ=n
CONFIG_USB_SERIAL_IR=n
CONFIG_USB_SERIAL_EDGEPORT=n
CONFIG_USB_SERIAL_EDGEPORT_TI=n
CONFIG_USB_SERIAL_F81232=n
CONFIG_USB_SERIAL_F8153X=n
CONFIG_USB_SERIAL_GARMIN=n
CONFIG_USB_SERIAL_IPW=n
CONFIG_USB_SERIAL_IUU=n
CONFIG_USB_SERIAL_KEYSPAN_PDA=n
CONFIG_USB_SERIAL_KEYSPAN=n
CONFIG_USB_SERIAL_KLSI=n
CONFIG_USB_SERIAL_KOBIL_SCT=n
CONFIG_USB_SERIAL_MCT_U232=n
CONFIG_USB_SERIAL_METRO=n
CONFIG_USB_SERIAL_MOS7720=n
CONFIG_USB_SERIAL_MOS7840=n
CONFIG_USB_SERIAL_MXUPORT=n
CONFIG_USB_SERIAL_NAVMAN=n
CONFIG_USB_SERIAL_PL2303=n
CONFIG_USB_SERIAL_OTI6858=n
CONFIG_USB_SERIAL_QCAUX=n
CONFIG_USB_SERIAL_QUALCOMM=n
CONFIG_USB_SERIAL_SPCP8X5=n
CONFIG_USB_SERIAL_SAFE=n
CONFIG_USB_SERIAL_SIERRAWIRELESS=n
CONFIG_USB_SERIAL_SYMBOL=n
CONFIG_USB_SERIAL_TI=n
CONFIG_USB_SERIAL_CYBERJACK=n
CONFIG_USB_SERIAL_XIRCOM=n
CONFIG_USB_SERIAL_OPTION=n
CONFIG_USB_SERIAL_OMNINET=n
CONFIG_USB_SERIAL_OPTICON=n
CONFIG_USB_SERIAL_XSENS_MT=n
CONFIG_USB_SERIAL_WISHBONE=n
CONFIG_USB_SERIAL_SSU100=n
CONFIG_USB_SERIAL_QT2=n
CONFIG_USB_SERIAL_UPD78F0730=n
CONFIG_USB_EMI62=n
CONFIG_USB_EMI26=n
CONFIG_USB_ADUTUX=n
CONFIG_USB_SEVSEG=n
CONFIG_USB_RIO500=n
CONFIG_USB_LEGOTOWER=n
CONFIG_USB_LCD=n
CONFIG_USB_CYPRESS_CY7C63=n
CONFIG_USB_CYTHERM=n
CONFIG_USB_IDMOUSE=n
CONFIG_USB_FTDI_ELAN=n
CONFIG_USB_APPLEDISPLAY=n
CONFIG_USB_SISUSBVGA=n
CONFIG_USB_LD=n
CONFIG_USB_TRANCEVIBRATOR=n
CONFIG_USB_IOWARRIOR=n
CONFIG_USB_TEST=n
CONFIG_USB_EHSET_TEST_FIXTURE=n
CONFIG_USB_ISIGHTFW=n
CONFIG_USB_YUREX=n
CONFIG_USB_HUB_USB251XB=n
CONFIG_USB_HSIC_USB3503=n
CONFIG_USB_HSIC_USB4604=n
CONFIG_USB_LINK_LAYER_TEST=n
CONFIG_USB_CHAOSKEY=n
CONFIG_USB_ISP1301=n
CONFIG_USB_GADGET=n
CONFIG_TYPEC_UCSI=n
CONFIG_USB_ULPI_BUS=n
CONFIG_MMC=n
CONFIG_SDIO_UART=n
CONFIG_MMC_SDHCI=n
CONFIG_MMC_SDHCI_PCI=n
CONFIG_MMC_SDHCI_PLTFM=n
CONFIG_MMC_SDHCI_OF_AT91=n
CONFIG_MMC_SDHCI_OF_ESDHC=n
CONFIG_MMC_SDHCI_OF_HLWD=n
CONFIG_MMC_SDHCI_CADENCE=n
CONFIG_MMC_SDHCI_F_SDH30=n
CONFIG_MMC_WBSD=n
CONFIG_MMC_TIFM_SD=n
CONFIG_MMC_CB710=n
CONFIG_MMC_VIA_SDMMC=n
CONFIG_MMC_VUB300=n
CONFIG_MMC_USHC=n
CONFIG_MMC_USDHI6ROL0=n
CONFIG_MMC_TOSHIBA_PCI=n
CONFIG_MMC_MTK=n
CONFIG_MMC_SDHCI_XENON=n
CONFIG_MEMSTICK=n
CONFIG_MSPRO_BLOCK=n
CONFIG_MS_BLOCK=n
CONFIG_MEMSTICK_TIFM_MS=n
CONFIG_MEMSTICK_JMICRON_38X=n
CONFIG_MEMSTICK_R592=n
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_GENERIC=n
CONFIG_VIRT_DRIVERS=y
CONFIG_VIRTIO_PCI=y
CONFIG_SPAPR_TCE_IOMMU=y
CONFIG_DEBUG_FS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_EXT4_ENCRYPTION=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
CONFIG_SQUASHFS=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
@ -753,18 +147,13 @@ CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
CONFIG_XFS_DEBUG=y
CONFIG_GFS2_FS=n
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
CONFIG_NILFS2_FS=n
CONFIG_F2FS_FS=y
CONFIG_F2FS_CHECK_FS=y
CONFIG_F2FS_FS_ENCRYPTION=y
CONFIG_JFFS2_FS=y
CONFIG_FS_DAX=y
CONFIG_EXPORTFS_BLOCK_OPS=y
CONFIG_QUOTA=y
CONFIG_FUSE_FS=n
CONFIG_ISO9660_FS=y
CONFIG_UDF_FS=y
CONFIG_MSDOS_FS=y
@ -772,8 +161,8 @@ CONFIG_VFAT_FS=y
CONFIG_PROC_KCORE=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_HPFS_FS=n
CONFIG_UFS_FS=n
CONFIG_JFFS2_FS=y
CONFIG_SQUASHFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
@ -785,31 +174,25 @@ CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_CRC16=y
CONFIG_CRC_ITU_T=y
CONFIG_LIBCRC32C=y
CONFIG_PRINTK_TIME=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_SOFTLOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
CONFIG_WQ_WATCHDOG=y
CONFIG_SCHEDSTATS=y
# CONFIG_FTRACE is not set
CONFIG_XMON=y
CONFIG_XMON_DEFAULT=y
CONFIG_SECURITY=y
CONFIG_IMA=y
CONFIG_EVM=y
# CONFIG_CRYPTO_ECHAINIV is not set
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_HW is not set
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_I2C_INFINEON=y
CONFIG_PRINTK_TIME=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_SOFTLOCKUP_DETECTOR=y
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
CONFIG_HARDLOCKUP_DETECTOR=y
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
CONFIG_WQ_WATCHDOG=y
CONFIG_SCHEDSTATS=y
# CONFIG_FTRACE is not set
CONFIG_XMON=y
CONFIG_XMON_DEFAULT=y

16
initrd/bin/talos-init Executable file
View File

@ -0,0 +1,16 @@
#!/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
# Alias for cbmem to remove need for '-f' option in every call
echo "alias cbmem='cbmem -f /sys/firmware/cbmem'" >> $HOME/.profile
export ENV=$HOME/.profile
# Proceed with standard init path
exec /bin/gui-init

View File

@ -37,7 +37,7 @@ else ifeq "$(CONFIG_COREBOOT_VERSION)" "4.17"
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-error=packed-not-aligned -Wno-error=address-of-packed-member
else ifeq "$(CONFIG_COREBOOT_VERSION)" "talos_2"
coreboot_version = git
coreboot_commit_hash = 2207bbcccba31ad89cf21607b0d8d05d8dc47c03
coreboot_commit_hash = b2d4cc237c51b84c0b465976a56c6deb21b9f263
coreboot_repo := https://github.com/Dasharo/coreboot
else

View File

@ -0,0 +1,44 @@
From c6b1bf6bb60a5a71e5e480e7e0c95c4bcde0198b Mon Sep 17 00:00:00 2001
From: Krystian Hebel <krystian.hebel@3mdeb.com>
Date: Wed, 8 Mar 2023 13:53:10 +0100
Subject: [PATCH] arch/powerpc/Kconfig: enable inclusion of drivers/firmware
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
---
arch/powerpc/Kconfig | 2 ++
drivers/of/platform.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index e2a412113359..bf60c7bdbf88 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -1269,3 +1269,5 @@ config PPC_LIB_RHEAP
source "arch/powerpc/kvm/Kconfig"
source "kernel/livepatch/Kconfig"
+
+source "drivers/firmware/Kconfig"
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 3371e4a06248..c2bb08380ef7 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -506,7 +506,6 @@ int of_platform_default_populate(struct device_node *root,
}
EXPORT_SYMBOL_GPL(of_platform_default_populate);
-#ifndef CONFIG_PPC
static const struct of_device_id reserved_mem_matches[] = {
{ .compatible = "qcom,rmtfs-mem" },
{ .compatible = "qcom,cmd-db" },
@@ -550,7 +549,6 @@ static int __init of_platform_sync_state_init(void)
return 0;
}
late_initcall_sync(of_platform_sync_state_init);
-#endif
int of_platform_device_destroy(struct device *dev, void *data)
{
--
2.25.1

View File

@ -0,0 +1,89 @@
From 9090a0266eb13b823656216c665182d45a4cd19b Mon Sep 17 00:00:00 2001
From: Krystian Hebel <krystian.hebel@3mdeb.com>
Date: Tue, 28 Mar 2023 18:31:21 +0200
Subject: [PATCH] drivers/firmware/google: expose CBMEM as sysfs file
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
---
drivers/firmware/google/Kconfig | 8 ++++++
drivers/firmware/google/coreboot_table.c | 33 ++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/drivers/firmware/google/Kconfig b/drivers/firmware/google/Kconfig
index a3a6ca659ffa..2d18ee174043 100644
--- a/drivers/firmware/google/Kconfig
+++ b/drivers/firmware/google/Kconfig
@@ -29,6 +29,14 @@ config GOOGLE_COREBOOT_TABLE
device tree node /firmware/coreboot.
If unsure say N.
+config GOOGLE_COREBOOT_CBMEM
+ bool "Expose CBMEM as file"
+ depends on GOOGLE_COREBOOT_TABLE
+ help
+ This option exposes raw contents of coreboot's CBMEM to be consumed
+ by userspace tools. Path to file: /sys/firmware/cbmem.
+ If unsure say N.
+
config GOOGLE_COREBOOT_TABLE_ACPI
tristate
select GOOGLE_COREBOOT_TABLE
diff --git a/drivers/firmware/google/coreboot_table.c b/drivers/firmware/google/coreboot_table.c
index 8d132e4f008a..f93bdc49b1ac 100644
--- a/drivers/firmware/google/coreboot_table.c
+++ b/drivers/firmware/google/coreboot_table.c
@@ -84,6 +84,18 @@ void coreboot_driver_unregister(struct coreboot_driver *driver)
}
EXPORT_SYMBOL(coreboot_driver_unregister);
+#ifdef CONFIG_GOOGLE_COREBOOT_CBMEM
+static ssize_t cbmem_read(struct file *filp, struct kobject *kobp,
+ struct bin_attribute *bin_attr, char *buf,
+ loff_t pos, size_t count)
+{
+ return memory_read_from_buffer(buf, count, &pos,
+ bin_attr->private, bin_attr->size);
+}
+
+static BIN_ATTR_RO(cbmem, 0);
+#endif
+
static int coreboot_table_populate(struct device *dev, void *ptr)
{
int i, ret;
@@ -160,11 +172,32 @@ static int coreboot_table_probe(struct platform_device *pdev)
}
memunmap(ptr);
+#ifdef CONFIG_GOOGLE_COREBOOT_CBMEM
+ res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
+ if (res && res->start && res->end && resource_size(res)) {
+ bin_attr_cbmem.size = resource_size(res);
+ bin_attr_cbmem.private = memremap(res->start,
+ resource_size(res),
+ MEMREMAP_WB);
+ if (sysfs_create_bin_file(firmware_kobj, &bin_attr_cbmem)) {
+ bin_attr_cbmem.size = 0;
+ bin_attr_cbmem.private = NULL;
+ }
+ }
+#endif
+
return ret;
}
static int coreboot_table_remove(struct platform_device *pdev)
{
+#ifdef CONFIG_GOOGLE_COREBOOT_CBMEM
+ if (bin_attr_cbmem.private) {
+ sysfs_remove_bin_file(firmware_kobj, &bin_attr_cbmem);
+ memunmap(bin_attr_cbmem.private);
+ }
+#endif
+
bus_unregister(&coreboot_bus_type);
return 0;
}
--
2.17.1