Age | Commit message (Collapse) | Author | Files | Lines |
|
Yuxiao Zhang (1):
ncsid: reconfigure gateway when default route is missing
Change-Id: I97cf09a76e685dc1a48d837b99e1640244ebd008
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Brandon Kim (1):
handler: Fix getBMInstanceProperty to read spaces
Change-Id: Id20797baeee1059c11cee1a18aacec0a7aaeb235
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The previous default behavior of /var/log directory being volatile is
removed in https://gerrit.openbmc.org/c/openbmc/openbmc/+/69959.
Set this to old behavior for Google machines.
Change-Id: I19b321ae5112434db68252d9bc40d646292fd970
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
|
|
Make Hoth offsets apply to 128mb flash
Tested:
After build one platform,
cr51-image-layout.json:
{
"build_timestamp": 1715204310,
"flash_capacity": 134217728,
"major": 5,
"minor": 6,
"name": "gbmc image",
"platform": "GBMC",
"point": 24,
"region": [
{
"length": 4194304,
"name": "u_boot",
"offset": 0,
"region_type": [
"STATIC",
"WRITE_PROTECTED"
]
},
{
"length": 8388608,
"name": "kernel",
"offset": 4194304,
"region_type": [
"STATIC",
"WRITE_PROTECTED"
]
},
{
"length": 117309440,
"name": "rofs",
"offset": 12582912,
"region_type": [
"STATIC",
"WRITE_PROTECTED"
]
},
{
"length": 65536,
"name": "image_descriptor",
"offset": 129892352,
"region_type": [
"STATIC",
"WRITE_PROTECTED"
]
},
{
"length": 1048576,
"name": "hoth_update",
"offset": 129957888,
"region_type": []
},
{
"length": 3145728,
"name": "rwfs",
"offset": 131006464,
"region_type": [
"PERSISTENT"
]
},
{
"length": 65536,
"mailbox_length": 1024,
"name": "hoth_mailbox",
"offset": 134152192,
"region_type": [
"MAILBOX"
]
}
],
"subpoint": 50
}
Change-Id: I35f2a15d5af0493a631aef13d589c14b1372fc0b
Signed-off-by: ShouEnHsiao <shouenhsiao@google.com>
|
|
Brandon Kim (1):
bm_instance: Create a new handler
Change-Id: Ic2a17e29b618cdea4137bff5b0c17489b4086c0e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This change will stop self update if the url is empty. Let it fall
through the upgrade hook and return error.
Change-Id: I92118d1697f1b8474c5152e6ea52f7ddb36b5615
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
The tcpdump is required to prod debug NVMe OOB issues.
Signed-off-by: Hao Jiang <jianghao@google.com>
Change-Id: I925a790567c1e9ea7d032feb5defa399a6530be2
|
|
Currently the upgrade will continue when there is no url. This change
will stop self update if the url is empty/invalid.
Change-Id: I465ee426c845b918aa458b24db89fbcc2795cde5
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
A warning message together with an expected error message will fail the
update process. This will filter out all warning messages.
Tested:
before
root@dddhl23-nfd01:/tmp# cat mytemp/tarerr
tar: testdir/somefile1: time stamp 2024-04-26 02:48:00 is 37351.697053733 s in the future
tar: */somefile2: Not found in archive
tar: Exiting with failure status due to previous errors
after
root@dddhl23-nfd01:/tmp# cat mytemp/tarerr
tar: */somefile2: Not found in archive
tar: Exiting with failure status due to previous errors
Change-Id: Ica9481383031ede950568a09a86eefb4fbfbdd6f
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Willy Tu (1):
metrics-ipmi-blobs: Support ECC Error Counts
Change-Id: I593a66da47d55a9c96ac2661fd46f93aacda41d0
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The local override is meant to be used for local testing over and not
to automated builds that may be used for releases. Set the default
config to local now.
Tested:
```
bitbake obmc-phosphor-image -e
// Got the OVERRIDES to have both local the dev
OVERRIDES=":gbmc:local::dev:"
```
Change-Id: I9315fdea220483c6b2e0c873e2b31a1454470d5a
Signed-off-by: Willy Tu <wltu@google.com>
|
|
This sets the manufacturer ID to Google's IANA enterprise number and the
product ID to gBMC when building with the gbmc distro.
Tested: Built gbs and inspected dev_id.json
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Ia0d07a36808732e4b15889165818eaed59945927
|
|
Cipher suite 3 is disabled by default but we still need it for the gbmc
distro.
Tested: Built gbs and inspected cipher_list.json
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Iaf37daa641410b719fea20e8f71d08ff91756e96
|
|
William A. Kennington III (3):
ncsid: update_ra_gw: Don't depend on phosphor-networkd
ncsid: update_ra_gw: Improve gateway discovery speed
ncsid: lib: Fix neighbor path
Change-Id: I76f177118ba1f96ced03ef2aa1ac319cf492bf0c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The output files did not have their [Match] expression rewritten. This
effectively made them incorrect and broken for the interface they were
supposed to match.
Tested: Ran on a server with migration enabled and verified the contents
of the files and ensured settings got applied correctly.
Change-Id: Ief34a100f6dd1361f33a02ae2f4ea81be12c5ea7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Our current regex for looking at the DNS search list for a valid
hostname is not quite correct if there is any extra space in the text
output due to the program outputting extra spaces for single item lists.
Tested: Hostname is parsing correctly again on a smartnic platform.
Change-Id: Ibf267b63d5399049b9746b28da124e712c33a144
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
There will be undesirable buffering running rdisc directly from a
subshell, if we run it under `script` we will not suffer from output
buffering and instead immediately receive the printed lines from the RS
packet.
Tested: Verified on a smartnic system to prove that the address is still
set.
Change-Id: I3f340b0c731d5e6969b38008f30b388a5f749866
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (2):
subprojects: Fix wrapfile provides
metrics-ipmi-blobs: Convert to nanopb
Change-Id: I19021411d3b8f8ac4ca220c7f7bfe5b2ac8325b2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Gaurav Gandhi (1):
Update accel setting name from power_break to power_brake
Change-Id: I3a730871d9781ed7681c413ebbf2dbac5a47cc94
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
We were missing some parenthesis where required by bash to perform
bitwise AND prior to comparing equality.
Change-Id: I9b1c2271f70da053321bea9e42e61ad3160ab3a8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Fix the condition check logic, also update comments to match the code.
Change-Id: Ie09b70d7079cd4ae5794c3a6cdb6eb6583f2cca2
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
We want to priortize stateful ip, the current code is buggy and ip
was randomly selected between stateful and stateless.
Tested: locally verified that the ip check logic is expected.
gbmc-ip-monitor.sh[9646]: stateful 2607:f8b0:809e:446:fd02::
gbmc-ip-monitor.sh[9646]: gBMC Bridge Updating GW source [2607:f8b0:809e:446:fd02::]: default via fe80::2695:2fff:fec2:d3c dev gbmcbr proto ra metric 1056 pref medium
gbmc-ip-monitor.sh[9646]: 2607:f8b0:809e:446:fd00:5c33:7bbb:394a and 2607:f8b0:809e:446:fd02::
gbmc-ip-monitor.sh[9646]: stateful exist 2607:f8b0:809e:446:fd02::
Change-Id: I9ae8f675e5dc50d62941fb177966d4c5062c370e
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I003338298242f5f1405bfa0f2ae0ee477036784d
|
|
This is intended to fix some build issues with the old 0.4.5 package and
splits the generator bits out from the runtime bits. The change was
taken from meta-openembedded@341c47848d04a2114b8c794ef6e01b03c80c801a
and these files will eventually be deleted.
Change-Id: If9e5886ff584305da9057a9de79e15fe288843fb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We no longer have any projects or planned projects that require this
support. We only have single path ethernet as a guarantee now. This
configuration has been causing us some issues on some of our systems and
it will be more stable to just ignore dynamic link configurations and
the software burden of an RSTP stack.
Change-Id: Ia6e113f41d2ad61a79d46a0bf15dd7e4230239db
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Willy Tu (1):
Reserve boot-time-monitor cmd on 18-20
Change-Id: Iaa9ff9c5c2e3125648fa799c33232143309ef7d7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Gaurav Gandhi (1):
Add new oem command to set accel power mode
Change-Id: I546da6a66ffd6a99c74b7dead3059a9e01066944
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
"lib" systemd directory conflicts with ncsid, this CL changes the masked
service file to "etc".
Change-Id: I8b1fe615ac3298db0e30c88070a1559cbc172a89
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Add a service that will trigger by gbmc-bare-metal-active target, upon
start/stop it will disable/re-enable obmc host console.
Tested: manually tested with stopping/starting the target
Change-Id: Ia57c825708bfe16f8f7967f6636d90327d28b5c0
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Change-Id: I1954f9ac5361137ef42faed0ff271bdebd11e77d
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
This is to make sure that dhcp runs for a while after nic is fully
functional.
Change-Id: I32c0e516bdb6a5aa33728266e8a58b9555d3e0ce
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Tested:
```
~: MACHINE=npcm8xx_platform bitbake -e phosphor-ipmi-config | grep \
GBMC_NCSI_IPMI_CHANNEL=
GBMC_NCSI_IPMI_CHANNEL="2"
~: MACHINE=other_platform bitbake -e phosphor-ipmi-config | grep \
GBMC_NCSI_IPMI_CHANNEL=
GBMC_NCSI_IPMI_CHANNEL="1"
```
Change-Id: Iea0f8fc7ff2f2438b26e1b4addc40ea1ec6ff1a3
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
John Wedig (1):
Bare-metal: post complete GPIO monitor
Yuxiao Zhang (1):
bare-metal-host-monitor: capture state and action
Change-Id: I488c8083b65f0fff851250bfa648bfe8a80d66e3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (2):
build: Remove dependencies on fmtlib
update libcr51sign to support MAUV
Change-Id: Id6830e707faae772771fde9234baa169ddaf3906
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Change-Id: Ibe6172ceb44024d7229b9dfda7b9df2a8f98a8d6
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
gbmc-bare-metal-active target is separated out from google-ipmi-sys,
this will pull the target from the new recipe.
google-ipmi-sys: SRCREV bump f3fe8df305..1302e83cd8
Yuxiao Zhang (1):
google-sys-ipmi: Remove gbmc-bare-metal-active target
Change-Id: Idc4cdf045255d335e0583fc40fe3628df134c7d8
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Change-Id: I2ff0e6284e952e55f81e2c76fedb49c81f4855b2
Signed-off-by: John Wedig <johnwedig@google.com>
|
|
Change-Id: Icb932ef7505f7177ff5b2b9bfeb2fd31352523eb
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
Change-Id: I7f761b96659bb0339e2bb570a4c1e47136d783c5
Signed-off-by: John Wedig <johnwedig@google.com>
|
|
During bootup all journal from startup will be uploaded in one shot when
network is available. We need to increase burst size to make sure it can
hold all messages in a regular boot up.
Also increased the time span so rate-limit per-second doesn't change too
much.
Change-Id: I229ae176b24cb1c9b48710680309d286f10d82fa
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
|
|
We have platforms that should never impersonate the host DHCP as it
would override perfectly valid IP address configuration on the BMC.
These are newer platforms that guarantee the BMC has a unique address.
Change-Id: I6040f6602cb582793c932878078e3669cba04305
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Patrick Williams (1):
meson: adjust nlohmann-json dependency
Change-Id: I54fa4da69e43d64eba89be9ef58cb601b2261f12
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Google BMC does not use the ssh remote console feature. Disabling for
security purpose.
Change-Id: I130877be02303b5eeabd7496075f2fefc56bd91e
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Patrick Williams (1):
build: use allowed over enabled
Change-Id: I09d8806a747eeb1bbcd1d2ee2f56a7eb2f7f6075
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
|
|
The old name is incorrect, it should be gbmcncsidhcp
Change-Id: I28fb55e3587fcfbeda4cfa333317cd0b62883d9c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We provide a new variable called `GBMC_NCSI_DHCP_RELAY` to indicate
whether or not our image should support DHCP relaying. By default as a
heuristic, we use the FLASH_SIZE for the value as only 64MB and bigger
images will need it in practice.
In the future it will be tuned per-platform to be enabled only where
needed and eventually disabled by default.
Change-Id: I08bc07074cada79fcf7b18522d1219ffcc14d1be
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We never used this and we never intend to pick it back up.
Change-Id: Iaa23d6b9d87129eca8e76d67b8173941342ea2e9
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Willy Tu (2):
fmt: Remove fmtlib dependencies
Add wrapper script to setup delay powercycle
Change-Id: I0830a9788a3b7fb6405de707963719b52dc2d62d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|