Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add a hotswap power cycle service for oem google sys
command, "Delay hard reset".
Tested:
Setting 5 secs delay for delay hard reset:
~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x05 0x00 0x00 0x00
79 2b 00 03
(From meta-quanta rev: 4f20ff8ff1a9ea91f0e2a4f55ec7a2525bfc8a9a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib114ba2c47d652cb9c9999b45b503698e7fc5207
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. Host serial port 1 to BMC UART1
2. modify the udev rules for console config
Tested: run obmc-console-client and then can redirect
to host console
(From meta-quanta rev: b64af2ce0a7d55ee8a765e44788d3c96fb9ba971)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I20a70ff7e3bed278642d7903f1154664f805c20c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. add packagegroup setting(Fan, Chassis, Flash) for GBS
2. remove unused package obmc-ikvm
3. add phosphor-gpio-monitor
(From meta-quanta rev: 72cdf91caaca91ebab24f30f37a1a8640fa7cb8e)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I814a6f15e88a8032b0592376aa8cb1316a36f24c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The meta-gbs equipped with Nuvoton NPCM730 BMC SoC.
Tested: Build GBS image and load on the target hardware
(From meta-quanta rev: c679ff6a47362319a59a511d710a116ddd90ca2a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5b85609a5c310ce1b7dc13df867b7c230cf59c39
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|