<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/tmp/openbmc.git/meta-google/recipes-phosphor/initrdscripts, branch master</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/'/>
<updated>2024-12-05T21:54:29+00:00</updated>
<entry>
<title>styhead: update WORKDIR usage additional fixes</title>
<updated>2024-12-05T21:54:29+00:00</updated>
<author>
<name>Jayanth Othayoth</name>
<email>ojayanth@gmail.com</email>
</author>
<published>2024-10-16T06:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=21536045146b97bdc7fc93628bec2289ad00cc30'/>
<id>urn:sha1:21536045146b97bdc7fc93628bec2289ad00cc30</id>
<content type='text'>
The latest yocto release(styhead,5.1) has made a significant change[1]
to the use of the WORKDIR parameter.

This is additional fixes added to fix some of machines.

[1]: https://docs.yoctoproject.org/next/migration-guides/migration-5.1.html#workdir-changes

Change-Id: Ic43be2f9036377166e3e064f5570dddf2418af45
Signed-off-by: Jayanth Othayoth &lt;ojayanth@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add Upstream-Status to patches</title>
<updated>2024-12-05T21:54:29+00:00</updated>
<author>
<name>Jayanth Othayoth</name>
<email>ojayanth@gmail.com</email>
</author>
<published>2024-10-16T08:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=6367d7d47b2ba3458899286f8f986d051e413b19'/>
<id>urn:sha1:6367d7d47b2ba3458899286f8f986d051e413b19</id>
<content type='text'>
Yocto rebase build reports QA Issue: Missing Upstream-Status in patch

Added simple fix by amending patch commit message "Upstream-Status: Pending"
now to unblock rebase.

Change-Id: I753c2c7faa4dcede7dd2b5e6eaba79580ce5e2a1
Signed-off-by: Jayanth Othayoth &lt;ojayanth@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-google: Add smbios-remote-host to allowlist</title>
<updated>2023-09-02T09:26:32+00:00</updated>
<author>
<name>Josh Lehan</name>
<email>krellan@google.com</email>
</author>
<published>2023-08-10T13:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=62e4ae4ec71c41ccb321536216f566f64cb451cc'/>
<id>urn:sha1:62e4ae4ec71c41ccb321536216f566f64cb451cc</id>
<content type='text'>
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 &lt;krellan@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: Add /var/log/state to whitelist</title>
<updated>2023-07-29T04:04:08+00:00</updated>
<author>
<name>Willy Tu</name>
<email>wltu@google.com</email>
</author>
<published>2023-07-28T20:22:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=598f6754f016b71fd535c7741c7e09dd08e60005'/>
<id>urn:sha1:598f6754f016b71fd535c7741c7e09dd08e60005</id>
<content type='text'>
Allow the state file for rsyslog as configured by the default
rsyslog.conf. This prevent us from reading the the whole logs again (if
the logs persists across reboots).

Reference:
- https://gerrit.openbmc.org/c/openbmc/openbmc/+/64418

Change-Id: Ia3650627a26e2dbdcc62f1c464e389e4e668e3a8
Signed-off-by: Willy Tu &lt;wltu@google.com&gt;
</content>
</entry>
<entry>
<title>meta-phosphor/obmc-init.sh: fix panic when rwfs is full</title>
<updated>2022-06-22T12:14:25+00:00</updated>
<author>
<name>Heyi Guo</name>
<email>guoheyi@linux.alibaba.com</email>
</author>
<published>2022-01-26T06:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=2168adb3697432994e2fa39a520380c1a74fe9c0'/>
<id>urn:sha1:2168adb3697432994e2fa39a520380c1a74fe9c0</id>
<content type='text'>
mkdir -p $work will fail if rwfs partition is full, and then it will
cause overlayfs mount fail as well. Finally it cause kernel panic and
bmc fails to boot:

rofs = mtd4 squashfs rwfs = mtd5 jffs2
[    3.841846] jffs2: notice: (103) jffs2_build_xattr_subsystem: complete building xattr subsystem, 21 of xdatum (19 unchecked, 2 orphan) and 45 of xref (1 dead, 1 orphan) found.
mkdir: can't create directory 'run/initramfs/rw/work': No space left on device
[    9.022304] overlayfs: failed to resolve 'run/initramfs/rw/work': -2
mount: mounting cow on /root failed: No such file or directory
chroot: can't execute '/bin/sh': No such file or directory

Unable to confirm /sbin/init is an executable non-empty file
in merged file system mounted at /root.

Change Root test failed!
Fatal error, triggering kernel panic!
[    9.141777] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    9.142489] CPU: 0 PID: 1 Comm: init Not tainted 5.10.36-60b3c9d #1
[    9.142667] Hardware name: Generic DT based system
[    9.142949] Backtrace:
[    9.144308] [&lt;80915100&gt;] (dump_backtrace) from [&lt;809153a4&gt;] (show_stack+0x20/0x24)
[    9.144623]  r7:80b08ed4 r6:60000093 r5:00000000 r4:80d71c9c
[    9.144816] [&lt;80915384&gt;] (show_stack) from [&lt;80919b54&gt;] (dump_stack+0x9c/0xb0)
[    9.144982] [&lt;80919ab8&gt;] (dump_stack) from [&lt;80915824&gt;] (panic+0x114/0x33c)
[    9.145136]  r7:80b08ed4 r6:80d0a970 r5:00000000 r4:80dbe378
[    9.145271] [&lt;80915710&gt;] (panic) from [&lt;80126c14&gt;] (do_exit+0x99c/0xa0c)
[    9.145426]  r3:00000001 r2:00000000 r1:00000100 r0:80b08ed4
[    9.145552]  r7:ffffe000
[    9.145632] [&lt;80126278&gt;] (do_exit) from [&lt;80127cf0&gt;] (do_group_exit+0x50/0xc8)
[    9.145787]  r7:000000f8
[    9.145863] [&lt;80127ca0&gt;] (do_group_exit) from [&lt;80127d88&gt;] (__wake_up_parent+0x0/0x30)
[    9.146034]  r7:000000f8 r6:00000004 r5:00000004 r4:010fd190
[    9.146185] [&lt;80127d68&gt;] (sys_exit_group) from [&lt;80100060&gt;] (ret_fast_syscall+0x0/0x54)
[    9.146425] Exception stack(0x810c5fa8 to 0x810c5ff0)
[    9.146745] 5fa0:                   010fd190 00000004 00000001 00000000 00000001 010fd190
[    9.147049] 5fc0: 010fd190 00000004 00000004 000000f8 00000000 00000000 004e4a84 00000000
[    9.147295] 5fe0: 004e4b40 7ec93a04 00474048 76df4a54
[    9.147959] CPU1: stopping
[    9.148650] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.36-60b3c9d #1
[    9.148957] Hardware name: Generic DT based system
[    9.149264] Backtrace:
[    9.150182] [&lt;80915100&gt;] (dump_backtrace) from [&lt;809153a4&gt;] (show_stack+0x20/0x24)
[    9.150598]  r7:00000001 r6:60070193 r5:00000000 r4:80d71c9c
[    9.150878] [&lt;80915384&gt;] (show_stack) from [&lt;80919b54&gt;] (dump_stack+0x9c/0xb0)
[    9.151149] [&lt;80919ab8&gt;] (dump_stack) from [&lt;8010f1f4&gt;] (do_handle_IPI+0x2f8/0x32c)
[    9.151430]  r7:00000001 r6:0d15a000 r5:00000001 r4:80dbe278
[    9.151649] [&lt;8010eefc&gt;] (do_handle_IPI) from [&lt;8010f250&gt;] (ipi_handler+0x28/0x30)
[    9.151925]  r9:810f6000 r8:81080800 r7:00000001 r6:0d15a000 r5:81084b80 r4:00000014
[    9.152205] [&lt;8010f228&gt;] (ipi_handler) from [&lt;80184754&gt;] (handle_percpu_devid_fasteoi_ipi+0x80/0x154)
[    9.152536] [&lt;801846d4&gt;] (handle_percpu_devid_fasteoi_ipi) from [&lt;8017dce4&gt;] (__handle_domain_irq+0x8c/0xe0)
[    9.152911]  r7:00000001 r6:00000000 r5:00000000 r4:80c6fbdc
[    9.153147] [&lt;8017dc58&gt;] (__handle_domain_irq) from [&lt;80101348&gt;] (gic_handle_irq+0x7c/0x90)
[    9.153508]  r9:810f6000 r8:8f80200c r7:80c6fbe8 r6:8f802000 r5:810f7f38 r4:80d0541c
[    9.153819] [&lt;801012cc&gt;] (gic_handle_irq) from [&lt;80100b0c&gt;] (__irq_svc+0x6c/0x90)
[    9.154168] Exception stack(0x810f7f38 to 0x810f7f80)
[    9.154541] 7f20:                                                       00000000 000195e0
[    9.154993] 7f40: 8ddcb144 8011ba00 810f6000 00000001 80d04d10 80d04d4c 80d9dfdc 80b0b4f0
[    9.155402] 7f60: 00000000 810f7f94 810f7f98 810f7f88 80108fd4 80108fd8 60070013 ffffffff
[    9.155762]  r9:810f6000 r8:80d9dfdc r7:810f7f6c r6:ffffffff r5:60070013 r4:80108fd8
[    9.156070] [&lt;80108f90&gt;] (arch_cpu_idle) from [&lt;80926c68&gt;] (default_idle_call+0x38/0x108)
[    9.156382] [&lt;80926c30&gt;] (default_idle_call) from [&lt;80159894&gt;] (do_idle+0xdc/0x148)
[    9.156676] [&lt;801597b8&gt;] (do_idle) from [&lt;80159bd0&gt;] (cpu_startup_entry+0x28/0x2c)
[    9.156974]  r9:410fc075 r8:8000406a r7:80dbe280 r6:10c0387d r5:00000001 r4:00000091
[    9.157275] [&lt;80159ba8&gt;] (cpu_startup_entry) from [&lt;8010f7c0&gt;] (secondary_start_kernel+0x15c/0x180)
[    9.157614] [&lt;8010f664&gt;] (secondary_start_kernel) from [&lt;8010182c&gt;] (__enable_mmu+0x0/0x14)
[    9.157919]  r5:00000051 r4:810e006a

Fix this by not removing workdir directly, but keeping the directory
and removing all entires under it. We will still get below warning,
but it can boot to shell and provide ssh access to give a chance of
recovery.

[    9.519053] overlayfs: failed to create directory run/initramfs/rw/work/work (errno: 28); mounting read-only

Also update related patch file in meta-google to avoid build failure.

Signed-off-by: Heyi Guo &lt;guoheyi@linux.alibaba.com&gt;
Change-Id: I69c640c70ee3e9d1133b7d61d391501616c229d6
</content>
</entry>
<entry>
<title>meta-google: update obmc-phosphor-initfs whitelist</title>
<updated>2021-11-04T20:27:37+00:00</updated>
<author>
<name>Jie Yang</name>
<email>jjy@google.com</email>
</author>
<published>2021-11-04T17:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=cb3197635912c1f49357838d9cd59f927b1af23b'/>
<id>urn:sha1:cb3197635912c1f49357838d9cd59f927b1af23b</id>
<content type='text'>
Add SMBIOS data sent by LinuxBoot to the initfs whitelist

Signed-off-by: Jie Yang &lt;jjy@google.com&gt;
Change-Id: I70e8cedabc8c7a2dc0df581b38695709e047bf96
</content>
</entry>
<entry>
<title>meta-google: Cleanup for Yocto override syntax change</title>
<updated>2021-08-06T22:06:52+00:00</updated>
<author>
<name>Willy Tu</name>
<email>wltu@google.com</email>
</author>
<published>2021-08-06T16:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=4dd03cae7a0a4afe12b172d404d9587da6971925'/>
<id>urn:sha1:4dd03cae7a0a4afe12b172d404d9587da6971925</id>
<content type='text'>
```
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 {' &gt;&gt;"$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 {' &gt;&gt;"$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 &lt;wltu@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: recipes-phosphor: initrdscripts: Import from gBMC</title>
<updated>2021-06-15T22:29:31+00:00</updated>
<author>
<name>Brandon Kim</name>
<email>brandonkim@google.com</email>
</author>
<published>2021-06-15T22:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/tmp/openbmc.git/commit/?id=bafdac1a131559e5b25c75dd43ad06457bd416fd'/>
<id>urn:sha1:bafdac1a131559e5b25c75dd43ad06457bd416fd</id>
<content type='text'>
Initial recipes-phosphor/initrdscripts code from gBMC.

Google-Bug-Id: 179618491
Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49
Signed-off-by: Brandon Kim &lt;brandonkim@google.com&gt;
Change-Id: I810f3a80d635d2c3a38fcb1db7ee4c396ae2d7bb
</content>
</entry>
</feed>
