Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,40 @@
MODE_temp1 = "label"
MODE_temp2 = "label"
MODE_temp3 = "label"
MODE_temp4 = "label"
MODE_temp5 = "label"
MODE_temp6 = "label"
MODE_temp7 = "label"
MODE_temp8 = "label"
MODE_temp9 = "label"
MODE_temp10 = "label"
MODE_temp11 = "label"
MODE_temp12 = "label"
MODE_temp13 = "label"
MODE_temp14 = "label"
MODE_temp15 = "label"
MODE_temp16 = "label"
MODE_temp17 = "label"
MODE_temp18 = "label"
LABEL_temp13 = "cpu0_temp"
LABEL_temp101 = "centaur0_temp"
LABEL_temp102 = "dimm0_temp"
LABEL_temp103 = "dimm1_temp"
LABEL_temp104 = "dimm2_temp"
LABEL_temp105 = "dimm3_temp"
LABEL_temp106 = "core0_temp"
LABEL_temp107 = "core1_temp"
LABEL_temp108 = "core2_temp"
LABEL_temp109 = "core3_temp"
LABEL_temp110 = "core4_temp"
LABEL_temp111 = "core5_temp"
LABEL_temp112 = "core6_temp"
LABEL_temp113 = "core7_temp"
LABEL_temp114 = "core8_temp"
LABEL_temp115 = "core9_temp"
LABEL_temp116 = "core10_temp"
LABEL_temp117 = "core11_temp"
LABEL_power1 = "p0_power"
LABEL_power2 = "p0_pcie_power"
LABEL_power3 = "p0_io_power"
LABEL_power4 = "centaur0_power"
@@ -0,0 +1,3 @@
LABEL_temp1=rtc
WARNLO_temp1=10000
WARNHI_temp1=35000
@@ -0,0 +1,7 @@
LABEL_temp1=ambient
WARNLO_temp1=10000
WARNHI_temp1=40000
LABEL_temp2=cpu
WARNLO_temp2=10000
WARNHI_temp2=80000
@@ -0,0 +1,13 @@
FILESEXTRAPATHS:prepend:palmetto := "${THISDIR}/${PN}:"
NAMES = " \
bus@1e78a000/i2c-bus@40/rtc@68 \
bus@1e78a000/i2c-bus@c0/tmp423@4c \
bus@1e78a000/i2c-bus@100/occ-hwmon@50 \
"
ITEMSFMT = "ahb/apb/{0}.conf"
ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}"
ENVS = "obmc/hwmon/{0}"
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:palmetto = " ${@compose_list(d, 'ENVS', 'ITEMS')}"