summaryrefslogtreecommitdiff
path: root/meta-google
AgeCommit message (Collapse)AuthorFilesLines
2023-04-29meta-google: gbmc-systemd-config: Enable dumping all coresWilliam A. Kennington III2-0/+4
Change-Id: I634dc095e0ef6602c67192e8ce7424716ef7e2dd Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-29meta-google: linux: Add more debug featuresWilliam A. Kennington III2-0/+10
These features ensure that the kernels we ship are more stable, and give us early warnings when we have deadlock causing bugs. Change-Id: I2616f5faa8f98f84c86a6e6683c8b4a322c535db Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-29meta-google: linux: Add useful watchdog parametersWilliam A. Kennington III1-0/+5
This is needed to enable a pretimeout watchdog in the kernel. Change-Id: I2dc7fbea713e1805b0c50903b4f08f55f09c122e Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-27meta-google: rng-tools: Add package suffixDavid Wang1-1/+1
Due to the rng-tools systemd/sysvinit service being split into a package during the subtree update, adding the corresponding suffix to resolve the compile error. Change-Id: I66930d75d081fc84e33ccdcff4d32ee2d3d36326 Signed-off-by: David Wang <davidwang@quantatw.com>
2023-04-20meta-google: gbmc-bridge: accept all bmc initiated connectionYuxiao Zhang1-0/+1
All traffic to/from tray are via gbmcbr. We need to allow the incoming traffic that establish a tcp connection to allow bmc client traffic like netboot downloading. This add a rule for that. Change-Id: I2f3afeea6320b20d7e0f740b102b2f227799032d Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-04-18meta-google: remove required npcm8xx-tip-fw versionAnthony1-1/+0
npcm8xx-tip-fw already specifies per-IGPS_MACHINE configuration in https://github.com/openbmc/openbmc/blob/4b8284784129e050c556b372e7116f884a168e8c/meta-nuvoton/recipes-bsp/images/npcm8xx-tip-fw_0.5.6.0.4.5.bb#L3 Change-Id: I635dfb6c2ed769d0f098e6ab2443dceaca79b789 Signed-off-by: Anthony <anthonyhkf@google.com>
2023-04-17meta-google: create new partition for hoth-secondaryClaire Liao1-1/+6
Tested: After build one platform, cr51-image-layout.json: ``` { "length": 55508992, "name": "rofs", "offset": 7340032, "region_type": [ "STATIC", "WRITE_PROTECTED" ] }, ,{ "length": 1048576, "name": "hoth_secondary", "offset": 62849024, "region_type": [] } ``` Change-Id: Id7869f96ff65625547ff83640e300b2202c4aab8 Signed-off-by: Claire Liao <claireliao@google.com>
2023-04-14meta-google: networking: fix shellcheck warningsPatrick Williams3-8/+10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7ae5c315d5a938b29c6fd5d68f07225d125ccead
2023-04-12google-misc: srcrev bump 5ca20ffedd..4c4e94f051Andrew Geissler1-1/+1
Patrick Williams (1): meson: remove deprecated get_pkgconfig_variable Change-Id: I19a87645a14ff22e14b037faa505d6fc26794eb3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-11meta-google: dhcp-done: switching to new dhcp-done serviceYuxiao Zhang3-3/+3
We want to coordinate with netboot server for powercycling instead of triggering pwercycle ourselves. dhcp-done will send status based on the parameters to the netboot server. This is the first part, second part needs to be merged after installer support Change-Id: I4ebaaf06114fc36518a25cdc6cd9f093859963c8 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-04-11meta-google: add double quote for FLASH_KERNEL_OFFSETTom Tung1-1/+1
Tested: can build one platform locally. Change-Id: If40d9e3743aca14995c7b754a729cbdaed6c761f Signed-off-by: Tom Tung <shes050117@gmail.com>
2023-04-11meta-google: set FLASH_UBOOT_ENV_OFFSET as FLASH_KERNEL_OFFSETTom Tung1-1/+3
After https://gerrit.openbmc.org/c/openbmc/openbmc/+/61622, we need to set the offset for uboot environment. Change-Id: I573ba1139b90041a66ff7fe15635823545f0ba9f Signed-off-by: Tom Tung <shes050117@gmail.com>
2023-04-11meta-google: gbmc-log-ramoops: Delete pstore files after consumptionWilliam A. Kennington III1-1/+1
Otherwise, subsequent reboots will still have the file. Change-Id: I16eed02d615759e785b978aef9550b203ae01090 Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-05gbmc-bridge: Add missing nftables dependencyWilliam A. Kennington III1-0/+1
We have scripts modifying nftables rules, but we don't have nftables guaranteed to be installed. Change-Id: Ib859435de8a12b4c54572fbf816578898714d487 Signed-off-by: William A. Kennington III <wak@google.com>
2023-04-01meta-google: linux: Add pstore + dmesg time configWilliam A. Kennington III1-0/+6
This is allows us to store larger logs and see timestamps in the dmesg output. Change-Id: I3fe95b49579780917115f4a57afc35f9b594a994 Signed-off-by: William A. Kennington III <wak@google.com>
2023-03-31meta-google: gbmc-systemd-config: Log ramoops to journalWilliam A. Kennington III2-0/+15
This enables it to be consumed by the syslog forwarder. Change-Id: I67642017656abe6cbe9eb3613a477a7d0b8f6356 Signed-off-by: William A. Kennington III <wak@google.com>
2023-03-30google-ipmi-sys: srcrev bump 2aaf2c053e..59445f5e21Andrew Geissler1-1/+1
Brandon Kim (1): Update the default for "bm-signal-path" meson.option Change-Id: I40ea9eb547e28ee4882fc86027d8f101143e713f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-30google-ipmi-sys: srcrev bump 2aaf2c053e..3f3ca03543Andrew Geissler1-1/+1
Brandon Kim (2): Fix presubmit failures with "prettier" handler: Add check for file existence for BM mode Change-Id: I8d9540dd5886422bc092d29e3ce706a7485ea3dc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-25meta-google: gbmc-bridge: Parse link addresses for TERMWilliam A. Kennington III1-8/+29
We can't look directly at the `/var/google/gbmc-br-ip` file for all platforms, so we need to look up the addresses directly from the bridge interface. Change-Id: Ib2a178e61d413a6e771a80a5b9eb44591daa5b5a Signed-off-by: William A. Kennington III <wak@google.com>
2023-03-10meta-google: Netboot: Provide command to trigger dhcpYuxiao Zhang2-0/+24
Installer needs to trigger dhcp process when netboot starts. Currently it just powercycles the machine, which is not efficient. This provides a script that installer can invoke without powercycle machine. Tested: tested manually on the machine and verified that dhcp has started. Change-Id: I6e596e3695f88543ad864eb431587a5f974f81b4 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-03-01meta-google: gbmc-bridge: Use saved address as ping sourceWilliam A. Kennington III1-1/+7
We don't want to use any implicitly generated SLAAC addresses as this will allow our machine to think it is reachable even though megapede will not be able to reach it via the DHCP derived address. Change-Id: Iba73d8a96d8a6dfcd7988bf0cca44a5b14558290 Signed-off-by: William A. Kennington III <wak@google.com>
2023-03-01google-misc: srcrev bump 25c55c54e4..273640137fAndrew Geissler1-1/+1
William A. Kennington III (2): ncsid: UpdateIP should not add the nul address ncsid: Only delete static addresses Change-Id: Iaa5a15bee6b88432d4af604d27faeb97e3aceaed Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-18meta-google: gbmc-ncsi-config: Fix hostname parsingWilliam A. Kennington III1-2/+8
This makes it more flexible and supports hostnames that have extra hyphens. Tested: Against a number of hostnames to verify correctness ytbbg7-n18.prod.google.com ytbbg7 prod.google.com ytbbg7.prod.google.com ytbbg7 prod.google.com ytbbg7-n18.google.com ytbbg7 google.com ytbbg7.google.com ytbbg7 google.com ndn44-nfd01.corp.google.com ndn44 corp.google.com ndn44.corp.google.com ndn44 corp.google.com pnhuna-bf4-nfd01.prod.google.com pnhuna-bf4 prod.google.com pnhuna-bf4.prod.google.com pnhuna-bf4 prod.google.com ytbbg7-n18.prod.bhgoogle.com ytbbg7.prod.bhgoogle.com pnhuna-nzf0.prod.google.com pnhuna-nzf0 prod.google.com Change-Id: I4de218a4d77a34985d21098bf05db6ece990bb8f Signed-off-by: William A. Kennington III <wak@google.com>
2023-02-10meta-google: distro: override EXTENDED_VERSIONBenjamin Fair1-0/+1
This variable is set by default based on the latest tag, but this doesn't work in Google's environment. Set it to be the same as DISTRO_VERSION instead, which is based on a version variable passed in from the environment. Tested: Built for kudo and examined os-release Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: Ib9acabae57ed69f4d32f0256f8425923039f4a8a
2023-02-09meta-phosphor: support hardware watchdogBonnieLo-wiwynn2-9/+0
Support hardware watchdog for openbmc. Added systemd config to enable '/dev/watchdog'. Tested: tested and verified on greatlakes platform. Change-Id: Ic46bcd9b8576530be7dcdda51384e1052d4a78f1 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-12-28meta-google: x86-power-control: use gbmc-psu-hardreset to reset chassisTom Tung2-0/+13
This patch unifies the way to reset chassis for gBMC platforms. Note that we can still customize this in the meta machine layer if needed. Tested: ``` // from build dir: cat tmp/work/*/x86-power-control/*/package/lib/systemd/system/chassis-system-reset.service [Unit] Description=System unit to hard reset or system reset chassis Conflicts=xyz.openbmc_project.psusensor.service Wants=gbmc-psu-hardreset.target [Service] Type=oneshot RemainAfterExit=no ExecStart=true [Install] WantedBy=chassis-system-reset.target // scp the service files from build directory to bmc. // From bmc: bmc:~# systemctl start chassis-system-reset.service bmc:~# Timeout, server xxx not responding. ``` Google-Bug-Id: 263450334 Signed-off-by: Tom Tung <tomtung@google.com> Change-Id: I2c877324482afff0d41129db5d0340d44d9352d1
2022-12-19meta-nuvoton: npcm8xx-tip-fw: update to GOOGLE2 releaseBenjamin Fair1-1/+1
Changelog: - Add flag CERBERUS_SECURE_BOOT_ONLY. No udpate, recovery and logging. Change-Id: Id242eca001cadd7e6a0ed116300baa87f56a0ddb Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2022-12-19meta-nuvoton: npcm8xx-igps: update to 03.08.00Benjamin Fair1-1/+1
Also remove Google-specific version since it has been merged into the mainline branch. Changelog: IGPS 03.08.00 - Dec 15th 2022 ============== - TIP_FW: 0.5.0 L0 0.3.9 L1 - Code cleanup for production. - bug fix key selection during recovery. - Add DME+RIOT data export to PCI MBOX. - align BMC and TIP that both will use PLL2 and not CLKREF. - Bug fix: don't save previous INTCR2 for reset indication. - Bug fix: update flow using wrong KMT. - TIP_FW: 0.5.0 L0 0.3.9 L1 GOOGLE3 - aligned to the above release. - split SFDP - enable flag CERBERUS_SECURE_BOOT_ONLY - uboot https://github.com/Nuvoton-Israel/u-boot/releases/tag/v2021.04-npcm8xx-20221215 - OpTee: https://github.com/Nuvoton-Israel/optee_os/releases/tag/npcm845x_3.18.0_v1.0 - linux offset 4MB. - Update scripts to sign in yocto build (signatures only). Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I396a8e05bc6aa53fd6c7062ed342ce1f26b7e2fb
2022-12-09google-misc: srcrev bump 54e87b2cac..25c55c54e4Andrew Geissler1-1/+1
Patrick Williams (4): eslintignore: drop clang-ignore: rename beautysh: re-format prettier: re-format Change-Id: I9411ad8d58d66f2830f2d4f30838f31c356f9f8e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-12-06meta-google: ipmid: disable dbus Active SoftwareWilly Tu1-0/+2
Google uses a different version via ipmi-config: https://github.com/openbmc/openbmc/blob/master/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend The dbus active software keeps failing and printing errors. Change-Id: Ibbbc73a2121c51d146f0db76d231a2be5e30231d Signed-off-by: Willy Tu <wltu@google.com>
2022-12-06gbmc-ncsi-config: Fix IP pathWilliam A. Kennington III1-2/+2
Change-Id: Ifba9ca17d889873d71cefe94d56de0174e70bbe3 Signed-off-by: William A. Kennington III <wak@google.com>
2022-12-06google-misc: srcrev bump 9632cb8a08..54e87b2cacAndrew Geissler1-1/+1
Patrick Williams (2): ncsid: add shebang on shell libraries shellcheck: add ignore for files currently failing Change-Id: Ic7bcdea0f09cd4d11426248acbeea29c471e1066 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-11-18meta-google: gbmc-ncsi-config: Only impersonate host under NCSIWilliam A. Kennington III3-4/+40
This adds a flag to the interface based on the presence of the NCSI state machine. Non-NCSI connections will not impersonate the CN to avoid breaking flat network topologies where the BMC and CN share an ethernet channel. Tested: On a machine without an NCSI stack to verify the impersonation record is not present. Also on a machine with NCSI to prove that impersonation is still working. Change-Id: Ifb8048abe443c60a333e7eff7cdc9d063a8c656a Signed-off-by: William A. Kennington III <wak@google.com>
2022-11-11meta-google: mstpd: Fix buildWilliam A. Kennington III1-2/+2
Sometimes the build does not include directories we remove based on some system non-determinism. Change-Id: Ia1c1d66349f1aa0a1bd3ae7860ec10d10fc31b5d Signed-off-by: William A. Kennington III <wak@google.com>
2022-11-02meta-google: systemd: Enable timesyncd by defaultWilliam A. Kennington III5-27/+15
This enables timesync support for the gbmc distro. Change-Id: Idb653e6b98a347b5d8c3a0b3a16c6a4abbe268ac Signed-off-by: William A. Kennington III <wak@google.com>
2022-11-01meta-google: Set default timezone as PDTWilliam A. Kennington III2-0/+2
This is the prod configuration. Change-Id: I04c33362cf874637caa528779c57bcacfca50201 Signed-off-by: William A. Kennington III <wak@google.com>
2022-10-29meta-google: systemd: Drop obsolete overridesWilliam A. Kennington III1-9/+0
These got updated in meta-phosphor in 305902e3c04e25ba769f3b682bf1dc39266e9447. Change-Id: Ie75a6b949323bce1ffb4260247730b3d78a1ee46 Signed-off-by: William A. Kennington III <wak@google.com>
2022-10-29meta-google: sslh: Bump 63f9c4a..7e3f723William A. Kennington III1-1/+2
Change-Id: I284f85c2a114d079fdca74978bbae867bf120879 Signed-off-by: William A. Kennington III <wak@google.com>
2022-10-29meta-google: mstpd: Bump 973c403..181c453William A. Kennington III1-2/+3
Change-Id: I66f808499e228653cd964422275959be9e12b7d7 Signed-off-by: William A. Kennington III <wak@google.com>
2022-10-28google-ipmi-sys: srcrev bump 8ec4106b7a..2aaf2c053eAndrew Geissler1-1/+1
Brandon Kim (1): bmc_mode_enum: Add cstdint include to the header Change-Id: Ia9ae5af76fee5140801d9fb927e596ddc9a3b6f1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-28meta-google: nuvoton-layer: Enable CONFIG_NPCM_EDACBrandon Kim1-0/+1
Add CONFIG_NPCM_EDAC=y to gbmc-nuvoton.cfg Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I046eba8b7dc7d16150faaf0f55fbf1947bb25e5d
2022-10-27google-ipmi-sys: srcrev bump 5e70dc8c1c..8ec4106b7aAndrew Geissler1-1/+1
Nikhil Namjoshi (1): Move bmc mode enum to a header file Change-Id: I17e14d5d869be1c1ee77cf838b98fe0be23193af Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-25meta-google: gbmc.conf: require versions of npcm8xx boot imagesBenjamin Fair1-0/+3
These specific versions are needed to boot on Google hardware, so override the defaults. Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I200ed7e281868b6bb2ba08129fc122b55d754848
2022-10-18meta-google: packagegroup-obmc-apps: remove trace-enableBenjamin Fair1-0/+1
This package depends on a u-boot environment partition being available, which we don't have on gBMC systems. Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I5b875ef05398d79a997106f799b942273e63d84b
2022-10-14google-misc: srcrev bump 2469569004..9632cb8a08Andrew Geissler1-1/+1
Harvey.Wu (1): nemora-postd: update add_option function Change-Id: I747d2a1c96d97e3f2279ddaa649461031083bd0c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-13meta-phosphor: rest-dbus: remove recipePatrick Williams1-2/+0
The repository referenced is still written with Python2 and should not have any users any longer. Remove all the recipes (and references to it). This functionality is implemented in bmcweb (enabled with options) and should be enabled there if still desired. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id689a3b749ddadd939ef43343379e569c16bc183
2022-10-13treewide: remove pointless abstractionsBrad Bishop1-1/+1
All of these abstractions have exactly one implementation. Remove the indirection to improve at a glance comprehension. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5d701aff6d0876fa3b2d16c841cbdcb0433b221f
2022-10-12treewide: remove phosphor-rest referencesBrad Bishop1-1/+0
A recipe for phosphor-rest has not existed for some time now. Remove remaining references to it. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Id5e8232f60172cb877bcecf612740d217cf92f85
2022-10-12meta-google: Fix common-password to allow password changeOskar Senft1-0/+13
Commit 951f1aabea4c8683cda113e743b68ad2dfd57fa8 removed the entry for pam_cracklib.so from common-password. This resulted in the next entry in the file to become the first module. However, as it still contained the use_authtok flag, this forced the module to not prompt the user for a new password and instead attempt to use the one provided by the previously stacked password module. Since there is no previous stacked password module, the process just fails. This change adds code to remove the use_authtok entry from the first password module to fix this issue. Tested: Check that passwords can be changed again via "passwd". Signed-off-by: Oskar Senft <osk@google.com> Change-Id: Id88302732fe9d4c6e6c8cbb0004271d6ea2ac340