summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gsj/recipes-gsj
AgeCommit message (Collapse)AuthorFilesLines
2020-07-18Add mac-address config fileHank Liou2-1/+15
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>
2020-05-04meta-quanta: gsj: remove skeleton codeBenjamin Fair1-3/+1
The obmc-host-ipmi feature pulls in phosphor-ipmi-hw-example from skeleton which isn't needed. Also remove obmc-control-chassis, which is another skeleton recipe that isn't needed on gsj. (From meta-quanta rev: 2a53c3569af7fa1b0e1736d179e8178ffecf427d) Change-Id: If47d92c581859719de148e09127f34a3f208adf9 Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-17meta-quanta: gsj: remove unneeded binariesBenjamin Fair1-3/+1
Save room in flash by taking out some binaries that are unused. This includes defining a new distro based on Phosphor that removes LDAP, SLP, and Avahi as these are not used. (From meta-quanta rev: c27ca70b613310ffc4ac41b11b361691e99fc0f3) Change-Id: Ia22da47136c715734d2df6fb767fee2e53f9bbaf Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26meta-quanta: gsj: Add service for setting hotswap controllerSpencerKu3-0/+106
(1)Add a service for setting the value to hotswap controller, and checking the return value is right. (From meta-quanta rev: 83d0a87b74ac974112873690739727167137793d) Signed-off-by: SpencerKu <Spencer.Ku@quantatw.com> Change-Id: I51c5512562429351c007fd4ae9225b8d7097435f Signed-off-by: Andrew Geissler <geissonator@yahoo.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-23meta-quanta: gsj: usb-network: configure network after IPMIBenjamin Fair1-0/+1
Ensure that the IPMI daemon has come up before configuring the USB network interface so that clients won't see failing requests before IPMI is ready. (From meta-quanta rev: 33a9371a5da1a2dcf14c7d5e30dc4acd043afd4b) Change-Id: I3c936a6c128cace80ab08f513f362a3cfd02fdac Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-14meta-quanta: Remove references to QUANTABASEBrad Bishop4-4/+4
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-07-09meta-gsj: mac-address: Initialize MAC addressesHank Liou2-0/+38
This commit is to assign MAC address to eth1, usb0_dev, usb0_host and eth0 ports. The address of eth1 is read from EEPROM, while others are obtained by adding one, two and three to eth1 respectively. We will randomly generate address of eth1 once an error occurs. The randomly-generated MAC address is of the form "00:1B:24:XX:XX:XX". (From meta-quanta rev: b1c33ab8eb04ccf7ac77df58dca661a964cce293) Signed-off-by: Hank Liou <Hank.Liou@quantatw.com> Change-Id: I000f818058989af2fe1f9457e22b4568ce47a8d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-20meta-quanta: gsj: Detect dual rotor fan failDuke Du3-0/+95
While rpm of dual rotor are lower than critical threshold of fan, the script would stop phosphor-pid-control.service and set other rotors pwm to 255 until fail rotor recover, which test on gsj board pass. (From meta-quanta rev: 94311c532fef9231cd71f9da0a2817f6d6575e7a) Signed-off-by: Duke Du <Duke.Du@quantatw.com> Change-Id: I1ed670a48b2de28dda6da2fdee2ea0ba2bc1802a 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-25meta-quanta: gsj: gsj-apps: Drop obmc-control-fanBrad Bishop1-3/+1
This application isn't used on gsj. Remove from the rootfs. (From meta-quanta rev: 73117dbc6ab80e6174f38b41919fb7297e37296a) Change-Id: Iccaed80d19b20dc0916d00282443f5b0b537f394 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-23meta-quanta: gsj: modify link local configurationHank Liou1-1/+1
This change disables ipv4 link local auto-configuration. (From meta-quanta rev: 0b6836f812f2ea864acc9ee9ede9e700ff504217) Signed-off-by: Hank Liou <Hank.Liou@quantatw.com> Change-Id: If2921b733f6fe314f35cf925d8a9f79a9480e11a 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 Fair10-0/+309
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>
2019-03-05packagegroups: Remove obmc-mgr-systemAdriana Kobylak1-8/+0
The system manager (obmc-mgr-system) which provided GPIO functionality is being deprecated and it's not in use anymore: * GPIOs have moved out of D-Bus (see openbmc/openbmc#3332). * Tools depending on its GPIO functions have been updated to call local functions instead. * The systemd service files have been updated to not depend on system manager. (From meta-quanta rev: 602f74d56aeabe7c30748576ad6085ed761498fe) Change-Id: I76e683ed246bc055c54754bfc9d819f50e708eb3 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-04Add a new layer meta-gsj to meta-quanta.FranHsu1-0/+44
Tested: This commit included the basic machine config and package group setting for project GSJ. And it could build successfully with meta-nuvoton fix (https://gerrit.openbmc-project.xyz/#/c/openbmc/openbmc/+/17719/). But the built image cannot run on EVB now, it is because the image generate script still not ready yet. (From meta-quanta rev: e08538d3df34128ef92c0593c1556931e62c614a) Change-Id: I2724915dd674bbce0db16a3714bc50cf8993f9b9 Signed-off-by: FranHsu <Fran.Hsu@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>