Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
This allows us to easily map in other NICs from a machine config.
Change-Id: Ib1aede5af75bfda30d11fd5f310b3ff096af86bb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Most platforms want to use 1 as has been the implicit standard. However,
this is not required and might be changed for some machines. This makes
it easy to change via a machine configuration variable.
Change-Id: I5dff5dfb1c97bab531042fd364114f320d3ebe42
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Our configuration assumes the NCSI interface in slot 1 is eth0,
let's update it to rewrite the interface name appropriately.
Change-Id: Iecaaeac2e0a2ebc33b3b19d456de85f4e9ec48de
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to be able to enable any slot for potentially multiple NICs.
Follow on changes will reuse this logic.
We can now enable arbitrary ethernet channels by calling
and the relevant ipmi json mappings will be established. The resulting
file looks something like
```
{
"0": {
"name": "IPMB",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "ipmb",
"protocol_type": "ipmb-1.0",
"session_supported": "session-less",
"is_ipmi": true
}
},
"1": {
"name": "ncsi",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "lan-802.3",
"protocol_type": "ipmb-1.0",
"session_supported": "multi-session",
"is_ipmi": true
}
},
"2": {
"name": "front",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "lan-802.3",
"protocol_type": "ipmb-1.0",
"session_supported": "multi-session",
"is_ipmi": true
}
},
"3": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"4": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"5": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"6": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"7": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"8": {
"name": "INTRABMC",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "oem",
"protocol_type": "oem",
"session_supported": "session-less",
"is_ipmi": true
}
},
"9": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"10": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"11": {
"name": "gbmcbr",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "lan-802.3",
"protocol_type": "ipmb-1.0",
"session_supported": "multi-session",
"is_ipmi": true
}
},
"12": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"13": {
"name": "RESERVED",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "reserved",
"protocol_type": "na",
"session_supported": "session-less",
"is_ipmi": true
}
},
"14": {
"name": "SELF",
"is_valid": false,
"active_sessions": 0,
"channel_info": {
"medium_type": "ipmb",
"protocol_type": "ipmb-1.0",
"session_supported": "session-less",
"is_ipmi": true
}
},
"15": {
"name": "ipmi_kcs3",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "system-interface",
"protocol_type": "kcs",
"session_supported": "session-less",
"is_ipmi": true
}
}
}
```
Change-Id: I361edd658491ea85b79b60d3107fab6dd5e192e2
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
On many machines it's safe to purge all configurations that do not match
the NCSI interface, to keep a tidy config directory and purge
potentially problematic configs.
Change-Id: I5f714516eb3718544f0787ac38eb69d485086b42
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Sometimes we have machines that switch between interface names when
upgrading versions, we want to keep the configs to the best of our
ability when migrating forward.
Change-Id: I58fb962b19431114dc342a3252ce2f834c160194
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Michael Shen (1):
all: Use stdplus::print over std::fprintf
Change-Id: I71977d404fd66eeadf131137fa7e22d02efc4ae1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I436ff65bf944d90f79481ce939e036ed7756e0fd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: Idaa34228786fcc5e0b4ad098ba83d93c80eb121e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
With rng-tools being removed by default, it should not be present in
any meta-google machine. Remove the configuration for it which would
be unused.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I47b849b55b65f0fb5c8963a7e2d6319ebc44b35f
|
|
This allows for MAC assignments like `0c:c4:13:4d:d4:ff` of `2`,
where the second address requires a rollover to `0c:c4:13:4d:d5:00`
Change-Id: Ief1489e4f99b27c9af7d4b5f1826dccf36863e0f
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The packagegroup-obmc-apps bbappend attempts to remove `bmcweb` from
a package group that it isn't even part of, meaning the code has no
affect.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I94216b012993b96e433f2f8a5349d7ac840a6bee
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I515d5f732b02038b20a8ae45afc8b8d93d5d278d
|
|
Willy Tu (1):
ncsid: Fix if_packet warnings
Change-Id: I4eaa632f786d12869cd06ea7d6d0aaddece50725
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Blocks reads, whos values are greated than 128, will be formated as
negative integers, causing cascading errors in the checksum calculation.
Format using unsigned specifier instead to prevent this.
Tested:
Before:
```
dd if=/sys/bus/i2c/devices/13-0050/eeprom bs=1 count=8 skip=8 | \
hexdump -v -e '1/1 "%d "'
1 1 32 36 -107 47 -115 -121
```
After:
```
dd if=/sys/bus/i2c/devices/13-0050/eeprom bs=1 count=8 skip=8 | \
hexdump -v -e '1/1 "%u "'
1 1 32 36 149 47 141 135
```
Change-Id: I187f0918a25005310bb900022047e03fe68483d4
Signed-off-by: Vlad Sytchenko <vsytch@google.com>
|
|
Instead of individual filenames, adding the containing directory
itself.
Adding the directory used by the gRPC receiver of SMBIOS blobs from
remote hosts, so they can stick around after the smbios-mdr service is
restarted, without requiring hosts to send them again.
As for the gRPC receiver itself, see this patch stack:
https://gerrit.openbmc.org/c/openbmc/smbios-mdr/+/65048
Change-Id: Ic73ab81e3a9761a101b6040a445a5cf042cbb4b0
Signed-off-by: Josh Lehan <krellan@google.com>
|
|
The previous change introduced a bashism, but yocto expects that all
shell scripting is POSIX compatible.
Fixes: bf4e27c3408955c214000108001e92c308c1861f
Change-Id: Ifc3cce4d625a876b224853b3b04b1b84b95327b2
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
These addresses should not be used by default for traffic on the
interface, as we may have multiple BMCs using the same hardcoded address
WRT legacy applications. We want multiple BMCs of the same type to be
able to coexist if they have unique addresses and right now they are not
correctly preferring these addresses.
Change-Id: I0d02cbf63b54f2464ae889ea773e032da0e9b650
Signed-off-by: William A. Kennington III <wak@google.com>
|