Age | Commit message (Collapse) | Author | Files | Lines |
|
Some machines will have multiple firmware packages assigned that could
brick the BMC. Only extract the firmware for a machine that matches the
expected machine.
Change-Id: Ibfdbe4614ee471a9f208c3d1a31d65a9fef06747
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
phosphor-dbus-monitor still uses autoconf and has a hard dependency on
phosphor-snmp, causing phosphor-snmp to be brought in on systems that
have no interest in using SNMP. The vast majority of systems do not
supply any config for phosphor-dbus-monitor, so the usage of it does not
seem wide enough to enable the IMAGE_FEATURE by default.
- Remove 'obmc-dbus-monitor' from IMAGE_FEATURE by default.
- Clean up all systems that manually remove the dbus-monitor feature or
package.
- Explicitly add the 'obmc-dbus-monitor' to the following systems:
- meta-ibm: all
- meta-inspur: fp5280g2
- meta-quanta: s6q
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iad6c4104466e21d1b9843dac964a634019eb6935
|
|
Ensure channel_access for gbmcbr is set as well.
Tested:
Checked the channel access for gbmcbr and it's always available.
```
$ ipmitool channel info 11
Channel 0xb info:
Channel Medium Type : 802.3 LAN
Channel Protocol Type : IPMB-1.0
Session Support : multi-session
Active Session Count : 0
Protocol Vendor ID : 7154
Volatile(active) Settings
Alerting : enabled
Per-message Auth : enabled
User Level Auth : enabled
Access Mode : always available
Non-Volatile Settings
Alerting : enabled
Per-message Auth : enabled
User Level Auth : enabled
Access Mode : always available
```
Signed-off-by: Tom Tung <shes050117@gmail.com>
Change-Id: If385b63fe15f35cc72b6863fea5f3172ef08bc8a
|
|
Originally written by William, upstreaming it from our downstream repo.
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: If23d97cb2505f45af089571d77a70a32a37d1ce8
|
|
Currently it fources all gBMC to have `[]` as the entity-mapping config
and will cause an issue to gBMC systems that uses the default mapping.
Add a way to remove the default isntead of having all gBMC automatically
remove it.
ENTITY_MAPPING="default"
```
$ cat ./tmp/work/all-openbmc-linux/phosphor-ipmi-config/1.0-r1/package/usr/share/ipmi-providers/entity-map.json
[
{
"id": 0,
"containerEntityId": 30,
"containerEntityInstance": 0,
"isList": false,
"isLinked": false,
"entities": [
{
"id": 11,
"instance": 3
},
{
"id": 11,
...
```
ENTITY_MAPPING="no"
```
$ cat ./tmp/work/all-openbmc-linux/phosphor-ipmi-config/1.0-r1/package/usr/share/ipmi-providers/entity-map.json
[]
```
Change-Id: I9adccc2685055bad8ac27207305083ba40327ce2
Signed-off-by: Willy Tu <wltu@google.com>
|
|
We sometimes have provided tarballs with multiple image or sig files
present. We need to limit find to just try the first one.
Change-Id: If942c122e95a70ee5d84af702760ff4bc1cb2edb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
If we ever have a directory with a VERSION file and version directory,
it will write both versions. This is incorrect behavior.
Change-Id: Ic6737836ab4c59c32dd3d9c78b76f222558d92a4
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This is a minor nit to remove some extraneous failed logs. It prevents
rm from trying to remove `.` and `..`.
Tested: Failing and retrying now longer prints out failed `rm` messages
Change-Id: Ida92f7d90b989e0875d6a63f4216127cd7151c53
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Otherwise the netboot process will fail early and never complete
properly.
Change-Id: I90dfbaa53d914df1f9515e2a1feaf17797f741b8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The entity map is now used for ipmid/dbus-sdr and will cause ipmi
failures after
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/46882
Remove the default json and only allow system that require it to
override it.
Tested:
```
$ cat ./tmp/work/all-openbmc-linux/phosphor-ipmi-config/1.0-r1/package/usr/share/ipmi-providers/entity-map.json
[]
```
Change-Id: I0ef8248a0d7d99fa0c9e3199c4eceb664bc624cf
Signed-off-by: Willy Tu <wltu@google.com>
|
|
We don't want to accidentally notify or continue on with the DHCP
netboot process until after the updated image is installed.
Change-Id: I05504632950566694e9dd60b25bd85c99b588f90
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
A number of machines need network debugging and it's useful to have this
available in our dev builds.
Change-Id: I37c0a7317295fb6d75c2fcf2cc913b63dd9b20a7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The logic was not usable in our current environment. This makes some
tweaks to download the image correctly.
Change-Id: I86741e6029c2937d0a8106ac22a1738fa0e77cad
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
There are generally other ways to poke at the IO space of the BMC and
there isn't any evidence these are being used anymore.
Change-Id: I9d0e7187f2be8bbbf349e8cdf63c32013876260c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I01bfbd4022584641d8df6ee694b62eadc3cb657c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This makes it possible for the BMC to fetch an upgraded image during
DHCP time and perform an inplace update to the new version.
Change-Id: I6d32af306180dd52d4235ba4edbb80c3e49756d7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Enabled `update-functional-on-fail` by default for gBMC.
Change-Id: I54b4fbaceb65c09b7b9cb72d7b7dcb7d048c7eba
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Add SMBIOS data sent by LinuxBoot to the initfs whitelist
Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I70e8cedabc8c7a2dc0df581b38695709e047bf96
|
|
This change is a part of the privilege seperation work
which is tracked in:
https://github.com/openbmc/openbmc/issues/3383
This change should be merged after individual repo change:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-certificate-manager/+/41166
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I72e4842e7aa6de2ae4bcbdbf00953b7a79a0f414
|
|
Copybara-Service (1):
Merge pull request #96 from l9i:go-presubmit
Piotr Lewandowski (3):
Print the ouptut of `gofmt -d` (if any)
Print the output of `gofmt -d` (if any)
Merge branch 'go-presubmit' of github.com:l9i/glome into go-presubmit
William A. Kennington III (1):
login/login: Remove glib url escap
Change-Id: Ief099a8ebec5d78ce256e32dacb5cf90173bcfc9
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This has a measurable effect on the size of the image, removing nearly
10MB of binaries from the uncompressed size.
Change-Id: I4da1cca0ac036ef3eded48e5c64ab4ca12196264
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The script has a "#!/bin/bash" at the end of its command causing
failure.
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I9b9e8fe9ee8a4374637e8fa95c0fa17b44e7ebb9
|
|
The script has a "#!/bin/bash" at the end of mv command causing
failure.
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I328a1ef61d0ad60f0d0b36cd36d081ba88ccb359
|
|
rsyslog package is being removed for the entire gbmc distro. But bmcweb
and dbus-sdr mode of phosphor-ipmi-host needs rsyslog package. Deleting
these lines from the packagegroup-obmc-apps.bbappend.
The removal of this package can be controlled at the machine level by
adding the following line to machine conf.
IMAGE_FEATURES_remove = "obmc-remote-logging-mgmt"
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I226d69adc08c886293bed273ac6ea023f58a6dd4
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8bf8cb4f7e370d8ab0ba40fb325c9df28733f324
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I10ca13b80eaa9259a72c1d1957bebe2fb2eb2978
|
|
Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
|
|
```
convert-overrides.py meta-google
git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
git grep -l _gbmc -- meta-google | grep ".bb" \
| xargs sed -i 's/_gbmc/:gbmc/'
git grep -l _prod -- meta-google | grep ".bb" \
| xargs sed -i 's/_prod/:prod/'
git grep -l _dev -- meta-google | grep ".bb" \
| xargs sed -i 's/_dev/:dev/'
git grep -l _hoth -- meta-google | grep ".bb" \
| xargs sed -i 's/_hoth/:hoth/'
git grep -l _bandaid -- meta-google | grep ".bb" \
| xargs sed -i 's/_bandaid/:bandaid/'
```
Some small fix includes
```
platforms_gbmc_bringup
platforms_gbmc_secure
```
Tested:
```
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install
meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() {
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install
meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() {
meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() {
meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--`
meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() {
meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() {
meta-google/recipes-google/networking/network-sh.bb:do_install:append() {
meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file"
meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() {
meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() {
meta-google/recipes-google/test/test-sh.bb:do_install:append() {
meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() {
meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)"
```
Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd
Signed-off-by: Willy Tu <wltu@google.com>
|
|
For gbmc override, add inplace-gbmc-update and set it as the
PREFERRED_PROVIDER for virtual/bmc-update.
Google-Bug-Id: 179618452
Google-Bug-Id: 179618500
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: If8b7a3640b66fd323ee5c1a98619a09463933898
|
|
For gbmc override, add dummy-gbmc-update
Google-Bug-Id: 179618452
Google-Bug-Id: 179618500
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I09925bb262f7a535ff569689a37640a028a09137
|
|
Utilities such as ipmitool, iotools, lrzsz should be added to gbmc.
Google-Bug-Id: 179618452
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Id092157e8868648d1a97ef90928dac2cfa1307ae
|
|
Google BMC inplace update script and bitbake recipe.
Google-Bug-Id: 179618162
Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ia1beded107382dacb9f2f7e3cb9bbd86ae99d8c1
|
|
Google key installation script and bitbake recipe.
Google-Bug-Id: 179618162
Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I21c88b6c2810c4ab3f6089f79143e59b6ce935db
|
|
Dummy image uploader for sending debug binaries.
Google-Bug-Id: 179618162
Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I53c0defeefffa007d71d68ceeb2602d83c22f523
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I0725732aea9daa16c7cb4bf8f553d7ecfabf3628
|
|
Change-Id: Ic13e677f12f09279df19a32d5f381b2f94d8e4b8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4.
Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We can't safely store this data, so we don't.
Change-Id: I9e0f99423485cf41ff4f9e3b333f4833572f6b73
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Initial recipes-phosphor/host code from gBMC.
Google-Bug-Id: 179618560
Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I9a9baa0528ce4dfc33437a1e9ae908ce22dc6d16
|
|
Initial recipes-phosphor/initrdscripts code from gBMC.
Google-Bug-Id: 179618491
Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I810f3a80d635d2c3a38fcb1db7ee4c396ae2d7bb
|
|
Change the default time settings for all google servers to
Host/Manual so that timedate can be set via IPMI commands.
Signed-off-by: Hao Jiang <jianghao@google.com>
Change-Id: I94fec8a9c8eefb7dfaa327452ca453e132c0c140
|
|
We want a key we can freely distribute to anyone who is building gBMC
for use with SSH on development images.
Change-Id: Iafedbbc6ebe2e62bce966bb368dd53831e29bd00
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This adds a startup routine that compiles an authorized_keys file from
multiple locations in the filesystem, allowing for multiple providers
without clashing.
Change-Id: Ib26e04af42f29d42410154fdd809aa3a525fc9d5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to allow the mapper to discover interfaces and services that are
published in the gBMC domain.
Change-Id: Id107532d6a1ab52892ad310e516807accd6552f9
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I0e68a7520191554680c94d8e3b8bc98f368ac71b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
iproute2 provides a more complete set of utilies that are better behaved
than the busybox variants with more complex network configurations.
Change-Id: Ic638fac3deda68e2e509d733994b7b24cd2d38f1
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This package allows a system to specify an IPMI FRU that contains MAC
Address information used to populated MAC addresses for specified
interfaces.
Change-Id: I457d41509da0e63db4410937b84140d4ba410b41
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Id15f7bb08f08da3cfdef24c0c38a42caffdb70c0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I56abfee5270d63e8077314f548effa86596a148d
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I37c82c2e7d494e7ae5581ee93ea34ac2908bedfb
Signed-off-by: William A. Kennington III <wak@google.com>
|