Age | Commit message (Collapse) | Author | Files | Lines |
|
Since read-margin-temp_git.bb will move to meta-quanta/meta-common,
add read-margin-temp bbappend file and move read-margin-temp folder
from meta-gbs/recipes-phosphor/fans to meta-gbs/recipes-quanta/fans
read-margin-temp_git.bb move to meta-quanta/meta-common:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/35277
(From meta-quanta rev: 410c3e900f09aa1f2fee6b155d9987b5510859c6)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I79ff42570dc9422e3c2e90dd95c5d29b01ec1133
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add "read-margin-temp" service to meta-quanta/meta-common
This daemon will read the temperatures of various sensors and calculate
the worst thermal margin
(From meta-quanta rev: a8f1a52fbaf2075f54e4cc8e2b3619172148e54f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I79623132d6dbf84ef1646e61a5c2374db132ea48
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1.XML:
change the SPI speed to 19Mhz
2.U-boot:
dts/pinctrl: add GBS dts/pinctrl support
Nuvoton u-boot srcrev bump adb4ac1af3...6870e66f6b:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-nuvoton/+/34756
3.modify u-boot environment partiions offset for GBS
(From meta-quanta rev: 705d71a8a0ee00f89f06c95601aa1375a440611a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I47960d63b557f6de1c9d84b290094253f4ffba58
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The type of sensor value has been changed to double.
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739
we should chnage the sensor value type from int64 to double and remove the scale
parameter.
(From meta-quanta rev: e7db32d0846987bb087d7e0597ec0f3c78d25cf6)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: I10d11b376aedf18c881c14b4c9d205f2034f9682
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. set kernel config for GBS machine
2. add AMD CPU temperature hwmon driver
3. add seven segment display drivers
(From meta-quanta rev: d9f9d7eb3809821b07887c2adf4e45103582eefa)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If2f42e43e043ea277a455a208968927b7053d2c0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Since the sensor value type had been changed to double, we have to
modify the sensor value type to double and remove the scale in sensor
YAML config and also update the patch for hwmon fix for this changing
Change sensor type to double:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739
hwmon fixes for the sensor type changing:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34481
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34983
(From meta-quanta rev: a661c1683e19abf70429fd263dde8f63f1b188b0)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifdfe45c1119e0cc5d0e0fb180a91aada87631405
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add sel-logger for IPMI SEL log
(From meta-quanta rev: 382efcfa85932abce877e6a7e268dac7f5362246)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Iadc7cd5edef57aa0875c146935ad85129525f668
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The iptable needs to be preserved in order keep the rules.
Tested: Verified for Olympus platform
(From meta-quanta rev: ae01a4669bc1653ed81998573f25b8dc62a4794b)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ic9b226f21a2526994bdf353701d0ca7b7d053d8a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. Set eth1 mac address from bmc fru.
2. This package is using to replace first-boot-set-mac
Tested: Verified for Olympus platform
(From meta-quanta rev: bb7b7e368e39044dc09831c4da75fbcd320dd99f)
Signed-off-by: kwliu <kwliu@nuvoton.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I8a328d8cb365b5652cad10d4c6edbd10b287a603
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
According to PMBUS spec, there is an Inventory Information we can update to PSU inventory.
MFR_ID - Manufacturer
MFR_MODEL - Model
MFR_SERIAL - SerialNumber
IC_DEVICE_ID - PartNumber
redfish/v1/Chassis/chassis/Power
"PowerSupplies": [{
"@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0",
"Manufacturer": "FlexPower",
"MemberId": "powersupply0",
"Model": "MIS-S-1020",
"Name": "powersupply0",
"PartNumber": "FPS-213-D0000293-101",
"PowerInputWatts": 104.0,
"PowerOutputWatts": 61.5,
"SerialNumber": "MISPS1839A0A0RW",
"Status": {
"Health": "OK",
"State": "Enabled"
}}],
Tested: Verified for Olympus platform
(From meta-quanta rev: cbb46b95df93a6102ebf18c0bf6105f8f6482451)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I2714293957919193b36effdaa2c07cb8e6eabda4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set GBS IPMI configurations:
1. device id
2. entity-map
(From meta-quanta rev: c2cff3602441072e98da8127edf55a6364001746)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Idf3062bd78844590ea5f5b9830887728086e2b36
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Install the essential packages to the image for GBS machine
(From meta-quanta rev: fc79982f61df69521191243df81340466f6c28fc)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I64fd08ecbf83fe8cacc3ae06e01642638ee8f2ac
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. monitor more GPIO signals
gpio_net_name / gpio_number:
['SATA0_PRSNT_N']=5
['HSBP_CABLE_PRSNT_BUF_N']=57
['FAN_BRD_CABLE_PRSNT_BUF']=58
['HSBP_P12V_STBY_CABLE_PRSNT']=69
['PE_SLOT0_PRSNT_N']=120
['PE_SLOT1_PRSNT_N']=121
2. add these GPIO signals to the sensor YAML config
(From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie39512763757e222ca386349a4c45af135500d65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
system initial script:
1. get MB/HSBP/Fan boards REV/SKU ID
2. read FRUs on PE slots
3. reset PHY
4. SATA power enable
5. check HSBP/Fan board cables present
5. verfiy BIOS image
6. Host power on
7. gpio persistence
(From meta-quanta rev: 3a9aa27f5ba286922f4d93470f30ac66cd9ff2d6)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib15171e1828b08b159ff835150ceb4a577fe1a01
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. set gbs YAML config paths for sensors and FRUs
2. add gbs IPMI whitelist config
3. add pre-timeout interrupt patch for IPMI watchdog commands
(From meta-quanta rev: fee51df037779d09b18d2ae0e7c864182d40c43c)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I06decf7f95ebd25153cefa7a12be45bbde63aee6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add USBLAA setting to make users decide if it needs to set
locally administered bit to usb-network
(From meta-quanta rev: efd879105a917315abc9ab26c7eff45b6f8ca66f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3a6afd88d053a26699a10d3afe841dc8aba70286
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
We hope the MAC address of the usb-network is locally administered address,
so it needs to set locally administered bit (0x02) to the first octet of the
MAC address.
(From meta-quanta rev: ebe01d25bbb5b139feb7c9b089f322e45a28a68e)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I9bd0702359479514b385daf447a9747fd270e351
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Make EEPROM location of mac address data to be changeable.
(From meta-quanta rev: 0e9942ee044566f398a33fb42fb100e10d19a7a5)
Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I2585b7471ae1db6d852f0d2721c8f8f81b81810b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
add configuration yaml files for fru and sensors
(From meta-quanta rev: 8327e2c69649eb91175b5e12002e57662411730e)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: I0571b349ad77df5d773f8547a0effabddd568dca
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change the sensor name of fans:
fan2 -> fb_fan0
fan3 -> fb_fan1
fan4 -> fb_fan2
(From meta-quanta rev: 43bbb292c0d151841db415802849df965f6151ce)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If81cf92c50da512986344b31ba20d93af6dcf061
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
When detecting fan fail, set other fans full speed
(From meta-quanta rev: fe75a9e492d94088d5d70b9cf5bce24e47898b2f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I764c9d90f551475de773dfc563763112127bde73
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
system power control change to use x86-power-control
(From meta-quanta rev: ccd3f9d0a83d372df01076d53e5f7ba656d370bb)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I46acde7ef48394e742f371d09a28a16e1154c38a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. add pid control with fan table config
2. add reboot control service to set fan duty to expected default
value before pid control up
3. initial read-margin-temp with json file and the script waits
related hwmon sensor could monitor
(From meta-quanta rev: b67a01a728b268b9aa61ebde63354ad1a6f46bdd)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5ae6f5d163dbaee8839bf5222bb650483531e68a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create configuration layer to store sensors and fru yaml
(From meta-quanta rev: 79846fd70d9056dfb1582f6d571b72cca3cbbfab)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id0a2bd5931ee6761e59497be6ff7af62f42995f3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
the upstream watchdog lose some command parameters and implementation
we reference Intel-BMC repo[*1] apply patches for normal execute with
x86-power-control
[*1]: https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog
(From meta-quanta rev: 230aee7e93f0e4873dc1e76a929e794559155cb5)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib4e94948210d6d2948ab5983c962220810db45e8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
add NVMe SSD power enable/disable DBus for sensors
and allow host to set SSD power
Note:
Need to set gpio-line-names in kernel dts for SSD
power enable/disable
(From meta-quanta rev: 41dd1473c5fc9eef12366ad13c36461010860f5f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Iab1fefc7c51176cf62b7d238e2de3837148eaebd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add entity association map for Google OEM
IPMI command (get entity name)
Tested:
For example, get entity name, "fan0":
~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x06 0x1d 0x00
79 2b 00 06 05 2f 66 61 6e 30
(From meta-quanta rev: 52ce287bfcb8c7a4cdeb07fcd80903af5a0dd26b)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I173da270c29745518293133597a5a389d17bf1ce
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Define the configuration files of the related sensors
and test pass
0001-lev-add-poweron-monitor-feature.patch
In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/28181
0002-lev-add-sensors-slow-readings.patch
In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/24337
(From meta-quanta rev: a66f2b941cede5fc15fe0d6d56ca2ac9352fdf77)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If7f767cbd952cde593e03d30c45572a21cc7c960
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Brandon has done high quality reviews of many recent meta-quanta
patches.
(From meta-quanta rev: fc15e6cd74245f0af5e2ddc9d977a4cef78d21bf)
Change-Id: I5db86aa1e87cf770a2a1556665b1b06afb79267d
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
MAC address: initialize MAC address for all network interfaces
USB-Network: enable usb0 link-local address auto configuration
(From meta-quanta rev: dd269ed023f6b29f7621aa5778808f7c477645f8)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I57d975276f41172668017f117ad48262a8edcf0c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-quanta rev: 46261fab4220f20f98b9768b05395dd6f359c166)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: I9deda8f050a0b6fb50ab39076aefc4d2a58d3a88
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
create /system/chassis on startup
(From meta-quanta rev: 70fb3172257a650ff33c1913cce2d4971a943b59)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: I6ca5ca37da9db5400d9f4ce280cf6fed6e59481b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. Enable devmem and lsusb commands
2. Enable SMP feature
(From meta-quanta rev: 0764bd036c4cd35b26176bac4739ddacfc78d66d)
Change-Id: I3aefa05a9bc66ea9b1b619112a539ed87270dd19
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Use ipmb driver for ipmb interface.
(From meta-quanta rev: a94f058fe04b700defe6b6ba6273c261bf99cb92)
Change-Id: I76f9f41f975f2be47bb4b935a58d64a4b91814b0
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
add configuration yaml
(From meta-quanta rev: e7914d758c68b5d2db1630b312b5c7aef799ba82)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: Ia229c5cef6b9da7d48d786446b2fab0594b19cbe
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a hotswap power cycle service for oem google sys
command, "Delay hard reset".
Tested by:
Setting 5 secs delay for delay hard reset:
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x03 0x05 0x00 0x00 0x00
79 2b 00 03
(From meta-quanta rev: 5c41384c9da6dbaf8547f58084726960dfac92c7)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: I1a9443d1e1adabcc308124aa2e613a37b86bd00c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. Olympus host communicates with BMC by KCS1.
Tested: Verified on the Olympus platform
(From meta-quanta rev: bfb04c47fb8dd3c4e72407f049f7b7b074fd321f)
Signed-off-by: kfting <kfting@nuvoton.com>
Change-Id: Ic872945b3f244a5166494c599783044983f8d228
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Introduce meta-google layer to support google ipmi oem command
(From meta-quanta rev: e3e73d4a1248513858d630db649a49cee242070b)
Change-Id: I39631f1dc75f686293e11c61c8566636424914d1
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Read CPLD version by i2c bus and dump to file
Tested:
Check /run/cpld0.version file
(From meta-quanta rev: 895ca7cf8514321c1000f914dd4fa96638d39904)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I371a70878f09a3d1ee5fed8a2926ed739ce30adf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable SOL by default on Olympus
Tested: Verified on the Olympus platform
(From meta-quanta rev: f8be3623e9c9e1b179fb7cc966b8e5cf7fda87d7)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Signed-off-by: kfting <kfting@nuvoton.com>
Change-Id: I72f3d2c56c92abbea7847218b08128ab2fd76e16
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add GBS related fru eeprom path and id
(From meta-quanta rev: 904b35a20462dca720a48c225c5a193a3888e408)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I1e8b76d6c5f48b85ad0482857b083d8843c05e39
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. The GBS's host communicates with BMC by KCS1
2. add 7seg for post code led
(From meta-quanta rev: 5f7b8501379a73b230d7982a219b33669a32cdd2)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I0f619c914022d32348447c29132098a1b046247b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Listing tty mapped to UART2
Tested: Verified for Olympus platform with ttyS2
(From meta-quanta rev: 7ce165698a6b60452c4d6cf2ac3079fdd2eb290a)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: I1c314f83e2abfc911d32e62cb081aff558ee734c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The sys_boot_status LED would be set blinking
until host post done. When host post done, the
action of sys_boot_status would be set on
Note:
1. LED action is set in led.yaml under
"gbs-led-manager-config" directory
2. sys_boot_status LED gpio is set in kernel dts
(From meta-quanta rev: 961e0f5890d3bc7b25491a024a694ea9ed01cb70)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ia2f5ff923b8dc6a7eda31d8d37e63a31d6d62028
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add gpio configuration for SlimSAS cable0~3 and
detect cables connected or not
(From meta-quanta rev: 09b8cd98a953ef96fabd7bc1c8d090bd02c53d88)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifee5ebf1a1055943ade8defce6be63b690bea8d2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
gbs-bmc-update and gbs-bios-update packages do
inband bmc/bios image update via Nuvoton PCI mailbox
Tested:
Set PCI mailbox memory space as writable
~# sudo setpci -d 1050:0750 04.B=02
bmc update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bmc --sig image-bmc.sig --type image
bios update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bios --sig image-bios.sig --type bios
(From meta-quanta rev: 85d9f2a992421ca981ac11c6227ceb3531a3bb1a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I1a73f724c4cf16636c460d20c6efd409eac4e80f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. set "RestrictionMode" to whitelist as default
2. modify time setting to make ipmi command "sel time set"
can set host time
(From meta-quanta rev: de8d8179ee2ecb7fed31c119b48cc9e40ef31710)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifa75a283df79082870588c909ecb9693a367e4c8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add devmem and lsusb commands to busybox
(From meta-quanta rev: ffc3435ebaee3efe1e5200f00ae3cca990070f7a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I819790d7a8c82dd36c7fcbc585193e91c702e5ee
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set GBS related LED actions in yaml file
1. heartbeat
2. sys boot status (bios post done)
3. attention (identify)
4. bmc fault (kernel panic)
5. NVME SSD locate/fault
(From meta-quanta rev: 745df9caeb360ce80c9edaf27dc5600b6646e31a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I1c506687165b60ac29dd6ae7989ded3a5a20c9a7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set eeprom path and offset of the config file
(From meta-quanta rev: d60e18101c6ddff8246a964e3cd560a7708f2bfa)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I7ae44086eba26ddd0fe7eca2b5f18cf78401c6f1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|