Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I634dc095e0ef6602c67192e8ce7424716ef7e2dd
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
This is needed to enable a pretimeout watchdog in the kernel.
Change-Id: I2dc7fbea713e1805b0c50903b4f08f55f09c122e
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7ae5c315d5a938b29c6fd5d68f07225d125ccead
|
|
Patrick Williams (1):
meson: remove deprecated get_pkgconfig_variable
Change-Id: I19a87645a14ff22e14b037faa505d6fc26794eb3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
Tested: can build one platform locally.
Change-Id: If40d9e3743aca14995c7b754a729cbdaed6c761f
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
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>
|
|
Otherwise, subsequent reboots will still have the file.
Change-Id: I16eed02d615759e785b978aef9550b203ae01090
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
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>
|
|
This enables it to be consumed by the syslog forwarder.
Change-Id: I67642017656abe6cbe9eb3613a477a7d0b8f6356
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Brandon Kim (1):
Update the default for "bm-signal-path" meson.option
Change-Id: I40ea9eb547e28ee4882fc86027d8f101143e713f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
|
|
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
|
|
Changelog:
- Add flag CERBERUS_SECURE_BOOT_ONLY. No udpate, recovery and logging.
Change-Id: Id242eca001cadd7e6a0ed116300baa87f56a0ddb
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
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
|
|
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>
|
|
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>
|
|
Change-Id: Ifba9ca17d889873d71cefe94d56de0174e70bbe3
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
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>
|
|
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>
|
|
This enables timesync support for the gbmc distro.
Change-Id: Idb653e6b98a347b5d8c3a0b3a16c6a4abbe268ac
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This is the prod configuration.
Change-Id: I04c33362cf874637caa528779c57bcacfca50201
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
These got updated in meta-phosphor in 305902e3c04e25ba769f3b682bf1dc39266e9447.
Change-Id: Ie75a6b949323bce1ffb4260247730b3d78a1ee46
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I284f85c2a114d079fdca74978bbae867bf120879
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I66f808499e228653cd964422275959be9e12b7d7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Brandon Kim (1):
bmc_mode_enum: Add cstdint include to the header
Change-Id: Ia9ae5af76fee5140801d9fb927e596ddc9a3b6f1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Add CONFIG_NPCM_EDAC=y to gbmc-nuvoton.cfg
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I046eba8b7dc7d16150faaf0f55fbf1947bb25e5d
|
|
Nikhil Namjoshi (1):
Move bmc mode enum to a header file
Change-Id: I17e14d5d869be1c1ee77cf838b98fe0be23193af
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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
|
|
Harvey.Wu (1):
nemora-postd: update add_option function
Change-Id: I747d2a1c96d97e3f2279ddaa649461031083bd0c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
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
|
|
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
|
|
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
|
|
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
|