summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-quanta: meta-gsj: Cleanup for Yocto override syntax changeWilly Tu1-4/+4
Cleanup with ``` convert-overrides.py meta-quanta/meta-gsj git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gsj git grep -l _gsj -- meta-quanta/meta-gsj \ | xargs sed -i 's/_gsj/:gsj/' ``` Note: Need to revert the change to BBFILE_PATTERN and LAYERSERIES_COMPAT. After cleanup ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-gsj/ | grep '.bb' meta-quanta/meta-gsj/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend:do_install:append:gsj () { meta-quanta/meta-gsj/recipes-google/ipmi/google-ipmi-sys_%.bbappend:do_install:append:gsj() { meta-quanta/meta-gsj/recipes-gsj/detect-fan-fail/detect-fan-fail.bb:do_install:append:gsj() { meta-quanta/meta-gsj/recipes-gsj/quanta-nvme-powerctrl/quanta-nvme-powerctrl.bb:do_install () { meta-quanta/meta-gsj/recipes-phosphor/fans/phosphor-pid-control_%.bbappend:do_install:append:gsj() { meta-quanta/meta-gsj/recipes-quanta/network/mac-address_%.bbappend:do_install:append:gsj() { ``` Change-Id: I058371ed32214d665aaaf616a650c2efeaf5be66 Signed-off-by: Willy Tu <wltu@google.com>
2019-10-17meta-quanta: gsj: quanta-nvme_powerctrl: fix setting initial SSD[i] GPIOsSamuel Jiang1-2/+2
When any SSD was not plugged, the bash script only sets RST_BMC_U2 and POWER_U2 GPIOs low for SSD0. Instead set the corresponding GPIOs low for all unplugged SSDs. (From meta-quanta rev: 4ac9d5f6173debda19b9b0d5da6075a48407b390) Change-Id: I914d74634f93506d7911fdd3e1b75b73073ccdcc Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-14meta-quanta: Remove references to QUANTABASEBrad Bishop1-1/+1
QUANTABASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-quanta rev: 170929b6044497d12e65a6a2c5e7025262c9d783) Change-Id: I12defd008e095db3227e5cd39261f942abd1406c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-gsj: quanta-nvme-powerctrl: Update package processSamuel Jiang2-94/+66
Update quanata-nvme-powerctrl process and delete two duplication function and variable init_once.sh: 1. Dump input pin information because of confirming HW signal. 2. HW POWER_U2 default is output high. If detect SSD is plugged, don't need to initialize POWER_U2 again. 3. Add RST_BMC_U2 steps, check PWRGD_U2 is fine, wait 100ms then st RST_BMC_U2 high. nvme_powermanager.sh: 1. Add RST_BMC_U2 steps, check PWRGD_U2 is fine, wait 100ms then set RST_BMC_U2 high. 2. Independent package for power control delete nvme_main DBus property trigger and tranfer led trigger to nvem_main package. (From meta-quanta rev: e689ff4990c9d76bb54c89f37831d23ff31993d2) Change-Id: Idb1faff9f30785c5cc168adfe18173ea93e7a146 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-gsj: quanta-nvme-powerctrl: add shared scriptSamuel Jiang2-1/+68
Add shared nvme_powerctrl_library script for mantain function It could be easy review steps with specification. (From meta-quanta rev: a9607d7703020f46598b28a4d1cea7be6997b47a) Change-Id: I7d7471005d253a3a0cca6bbcc083d0bfcf7efbc6 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-23meta-gsj: quanta-nvme-powerctrl: Update package README documentSamuel Jiang1-26/+22
Update design, process, test, todo subject included: 1. The new design follow PCI Express Card Electromechanical Specification. It could review refer to specification section. 2. The new design and specification don't mention about SSD and LED property so delete update led property and nvme_main property steps. 3. Update PCI clock function has been implemented so remove TODO subject. 4. Improve initail power-up and service execute sequence. 5. Fix some grammer sentenses. (From meta-quanta rev: 4d42bc87aa4aa61533572e2f9c4645cfe5a58745) Change-Id: I622b7a054afc64f3fee5c37b29b99d856bb56558 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15meta-gsj: quanta-nvme-powerctrl: improve services sequenceSamuel Jiang2-7/+10
For mateched new design, the package will be independent. 1. This package will not depends on nvme.manager.service and the log messages directly store on syslog. 2. The nvme_powermanager.service must wait for nvme_gpio.service initial complete all GPIO setting. (From meta-quanta rev: 5a161f129ac473c98b5fd07b4a152e697e02eef7) Change-Id: I878a3de62dd0009d011122d1b0d3478931eaa852 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: nvme-powerctrl: mutli-user targetPatrick Venture2-2/+2
Use the multi-user target instead of the openbmc-custom obmc-standby target for services. (From meta-quanta rev: c886d1d4b761ee20c7f54a201ce5f74e5537b5fb) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ie49f53850ed65bf4a71c959fe30bb1e36c41b725 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-16meta-quanta: gsj: move non-phosphor recipes out of recipes-phosphorBenjamin Fair6-0/+237
The usb-network and quanta-nvme-powerctrl recipes aren't part of phosphor, so move them to the machine-spceific recipes-gsj folder instead. (From meta-quanta rev: a5787aa49f88aac01eed521e1b3e8f85b73f5c54) Change-Id: I22b68e1e83dbd0ee3f98288052ffb302b7ef1ff5 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>