Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
gsj should be using the meta-common mac-address. Remove the gsj specific
mac-address.bb
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Iad1daca6308f4952816ba5fa6192cd6a161a75ca
|
|
meta-gsj is using SRCREV = "${AUTOREV}" which is outdated.
Instead, use the bitbake from meta-common similar to meta-gbs.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7c05b04987d10382329e7e813e71d0d79f2c4b9e
|
|
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>
|
|
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>
|
|
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>
|
|
(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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|