summaryrefslogtreecommitdiff
path: root/meta-google
AgeCommit message (Collapse)AuthorFilesLines
41 hoursgoogle-misc: srcrev bump 4dba220d36..b47ca0dfa3HEADmasterAndrew Geissler1-1/+1
Yuxiao Zhang (1): ncsid: reconfigure gateway when default route is missing Change-Id: I97cf09a76e685dc1a48d837b99e1640244ebd008 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
3 daysgoogle-ipmi-sys: srcrev bump 559cb01179..56b2d9f30bAndrew Geissler1-1/+1
Brandon Kim (1): handler: Fix getBMInstanceProperty to read spaces Change-Id: Id20797baeee1059c11cee1a18aacec0a7aaeb235 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
3 daysmeta-google: Set VOLATILE_LOG_DIR to yesVivekanand Veeracholan1-0/+3
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>
10 daysmeta-google: hoth: add support for 128mbShouEnHsiao1-0/+5
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>
12 daysgoogle-ipmi-sys: srcrev bump 9846023c7e..559cb01179Andrew Geissler1-1/+1
Brandon Kim (1): bm_instance: Create a new handler Change-Id: Ic2a17e29b618cdea4137bff5b0c17489b4086c0e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-05-15meta-google: gbmc-update: stop self-upgrade if url is missingYuxiao Zhang1-2/+5
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>
2024-05-14meta-google: image: enable tcpdump for prod imageHao Jiang1-1/+1
The tcpdump is required to prod debug NVMe OOB issues. Signed-off-by: Hao Jiang <jianghao@google.com> Change-Id: I925a790567c1e9ea7d032feb5defa399a6530be2
2024-05-08meta-google: gbmc-bridge: fail upgrade when url is invalidYuxiao Zhang1-1/+7
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>
2024-04-26meta-google: gbmc-update: supress tar warning messageYuxiao Zhang1-1/+1
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>
2024-04-24google-misc: srcrev bump 0ddcb163fb..4dba220d36Andrew Geissler1-1/+1
Willy Tu (1): metrics-ipmi-blobs: Support ECC Error Counts Change-Id: I593a66da47d55a9c96ac2661fd46f93aacda41d0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-04-03meta-google: Add local GBMC_CONFIGWilly Tu1-2/+4
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>
2024-04-02meta-google: phosphor-ipmi-config: Set mfg and prod IDsBenjamin Fair1-0/+3
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
2024-04-02meta-google: phosphor-ipmi-config: Enable cipher 3Benjamin Fair1-0/+14
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
2024-03-26google-misc: srcrev bump 7f49370d46..0ddcb163fbAndrew Geissler1-1/+1
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>
2024-03-26meta-google: gbmc-ncsi-config: Fix migrated filesWilliam A. Kennington III1-1/+2
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>
2024-03-26meta-google: gbmc-ncsi-config: ip-from-ra: Fix regexWilliam A. Kennington III1-1/+1
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>
2024-03-26meta-google: gbmc-ncsi-config: ip-from-ra: Fix rdisc latencyWilliam A. Kennington III1-1/+3
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>
2024-03-22google-misc: srcrev bump 8800984dde..7f49370d46Andrew Geissler2-3/+3
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>
2024-03-04google-ipmi-sys: srcrev bump 8ef497162f..9846023c7eAndrew Geissler1-1/+1
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>
2024-02-28meta-google: Fix bash comparison orderingWilliam A. Kennington III4-5/+5
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>
2024-02-23meta-google: gbmc-bridge: misc gbmc-br-dhcp-term fixYuxiao Zhang1-4/+4
Fix the condition check logic, also update comments to match the code. Change-Id: Ie09b70d7079cd4ae5794c3a6cdb6eb6583f2cca2 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2024-02-22meta-google: gbmc-bridge: fix ip checkYuxiao Zhang1-2/+2
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>
2024-02-14meta-google: ncsid: remove fmt dependencyPatrick Williams1-1/+0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I003338298242f5f1405bfa0f2ae0ee477036784d
2024-02-12meta-google: nanopb: Update from 0.4.5 -> 0.4.8William A. Kennington III5-24/+61
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>
2024-02-10meta-google: gbmc-bridge: Remove STP supportWilliam A. Kennington III2-3/+0
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>
2024-02-05google-ipmi-sys: srcrev bump d455bfd6e0..8ef497162fAndrew Geissler1-1/+1
Willy Tu (1): Reserve boot-time-monitor cmd on 18-20 Change-Id: Iaa9ff9c5c2e3125648fa799c33232143309ef7d7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-02-03google-ipmi-sys: srcrev bump 1302e83cd8..d455bfd6e0Andrew Geissler1-1/+1
Gaurav Gandhi (1): Add new oem command to set accel power mode Change-Id: I546da6a66ffd6a99c74b7dead3059a9e01066944 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-01-30meta-google: ncsid: changing mask dirYuxiao Zhang1-2/+3
"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>
2024-01-26meta-google: add recipe to disable/enable host consoleYuxiao Zhang3-0/+64
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>
2024-01-26meta-google: add recipe to disable ipmi kcsYuxiao Zhang2-0/+49
Change-Id: I1954f9ac5361137ef42faed0ff271bdebd11e77d Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2024-01-23meta-google: gbmc-bridge: keep dhcp running longerYuxiao Zhang1-2/+2
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>
2024-01-16meta-google: Update GBMC_NCSI_IPMI_CHANNEL for npcm8xxTom Tung1-0/+1
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>
2024-01-10google-misc: srcrev bump dca92e47d7..8800984ddeAndrew Geissler1-1/+1
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>
2024-01-02google-misc: srcrev bump 47a0ada2a7..dca92e47d7Andrew Geissler1-1/+1
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>
2023-12-15meta-google: add host-gpio-monitor recipeYuxiao Zhang1-0/+21
Change-Id: Ibe6172ceb44024d7229b9dfda7b9df2a8f98a8d6 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-12-15meta-google: google-ipmi-sys: rely on bare metal active recipesYuxiao Zhang1-2/+5
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>
2023-12-15meta-google: Service to enable/disable eSPIJohn Wedig2-0/+42
Change-Id: I2ff0e6284e952e55f81e2c76fedb49c81f4855b2 Signed-off-by: John Wedig <johnwedig@google.com>
2023-12-15meta-google: ipmi: add target for disabling ipmi in bare metalYuxiao Zhang2-0/+25
Change-Id: Icb932ef7505f7177ff5b2b9bfeb2fd31352523eb Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-12-15meta-google: Recipe for espi-control executableJohn Wedig1-0/+11
Change-Id: I7f761b96659bb0339e2bb570a4c1e47136d783c5 Signed-off-by: John Wedig <johnwedig@google.com>
2023-12-14meta-google: rsyslog: Increase syslog burst sizeYuxiao Zhang1-2/+2
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>
2023-12-12meta-google: gbmc-ncsi-config: DHCP impersonation disableWilliam A. Kennington III1-0/+6
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>
2023-12-08google-ipmi-sys: srcrev bump 40b2a0cc10..f3fe8df305Andrew Geissler1-1/+1
Patrick Williams (1): meson: adjust nlohmann-json dependency Change-Id: I54fa4da69e43d64eba89be9ef58cb601b2261f12 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-06meta-google: Remove ssh config for obmc-consoleWilly Tu1-0/+3
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>
2023-12-06google-misc: srcrev bump 6084957f91..47a0ada2a7Andrew Geissler1-1/+1
Patrick Williams (1): build: use allowed over enabled Change-Id: I09d8806a747eeb1bbcd1d2ee2f56a7eb2f7f6075 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-11-09meta-google: gbmc-ncsi-config: Fix interface nameWilliam A. Kennington III1-1/+1
The old name is incorrect, it should be gbmcncsidhcp Change-Id: I28fb55e3587fcfbeda4cfa333317cd0b62883d9c Signed-off-by: William A. Kennington III <wak@google.com>
2023-11-09meta-google: gbmc-ncsi-config: Remove dhcp-relay from small imagesWilliam A. Kennington III2-31/+42
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>
2023-11-09meta-google: Purge all avahi supportWilliam A. Kennington III5-33/+1
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>
2023-11-03google-ipmi-sys: srcrev bump 8d6185322d..40b2a0cc10Andrew Geissler1-1/+1
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>