commit | f52e3dde8c006aa1204b4d74d64bcda47fcd061e | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Jan 26 13:04:43 2024 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jan 26 15:13:47 2024 -0600 |
tree | 2b74f493eb9baa0f2943f045654c7ab8f6e00c59 | |
parent | 5de6da07e075e1c2294ecda8843cc773d33416b6 [diff] |
subtree updates meta-openembedded: 4dbbef7a39..9953ca1ac0: Andreas Cord-Landwehr (1): freerdp: provide cmake integration BELOUARGA Mohamed (1): Monocypher: Correct source URI and license Clément Péron (2): abseil-cpp: rename recipe to follow the version protobuf: upgrade 4.23.4 -> 4.25.2 Fabio Estevam (1): v4l-utils: Remove unneeded musl patch Gassner, Tobias.ext (1): softhsm_2.6.1.bb fixing p11-kit module path, adding softhsm2.module to FILES Gianfranco Costamagna (1): vbxguestdrivers: upgrade 7.0.12 -> 7.0.14 Khem Raj (4): Revert "rng-tools: move from oe-core to meta-oe" python3-pillow: Correct branch parameter in SRC_URI python3-multidict: Make it work with python 3.12 python3-multidict: Fix running ptests Markus Volk (6): eog: update 45.1 -> 45.2 file-roller: update 43.0 -> 43.1 gvfs: update 1.52.1 -> 1.52.2 gjs: update 1.78.1 -> 1.78.2 mozjs: update 115.2.0 -> 115.6.0 pipewire: update 1.0.0 -> 1.0.1 Michael Haener (1): nginx: add http sub module feature Pablo Saavedra (1): libbacktrace: fix sdk installation Peter Marko (2): protobuf-c: change branch to master srecord: fix malformed patch upstream status Ross Burton (1): mozjs-115: fix the build on ARMv5 Yi Zhao (1): samba: upgrade 4.19.3 -> 4.19.4 Yoann Congal (3): packagegroup-meta-oe: remove mongodb python3-coverage: add native and nativesdk BBCLASSEXTEND python3-pytest-cov: Add missing python3-pytest RDEPENDS alperak (8): fmt: upgrade 10.1.1 -> 10.2.1 gerbera: upgrade 1.12.1 -> 2.0.0 spdlog: upgrade 1.12 -> 1.13 libebml: upgrade 1.4.4 -> 1.4.5 lcms: upgrade 2.15 -> 2.16 libkcapi: upgrade 1.4.0 -> 1.5.0 icewm: upgrade 3.4.4 -> 3.4.5 libreport: upgrade 2.17.8 -> 2.17.11 meta-raspberrypi: b859bc3eca..9c901bf170: Damiano Ferrari (2): rpi-config: Add CAN0_INTERRUPT_PIN and CAN1_INTERRUPT_PIN variable docs: add info on how to set different CAN interrupt pins Florin Sarbu (1): Add Raspberry Pi 5 Leon Anavi (7): rpi-base.inc: Add vc4-kms-v3d-pi5.dtbo u-boot_%.bbappend: Skip for Raspberry Pi 5 rpi-config: Reduce config.txt size linux-raspberrypi.inc: bcm2712_defconfig for rpi5 conf/machine/raspberrypi5.conf: kernel_2712.img conf/machine/raspberrypi5.conf: ttyAMA10 conf/machine/raspberrypi5.conf: Use "Image" poky: 7af374c90c..348d9aba33: Alejandro Hernandez Samaniego (1): newlib: Upgrade 4.3.0 -> 4.4.0 Alexander Kanavin (1): shadow: replace static linking with dynamic libraries in a custom location and bundled with shadow Anuj Mittal (4): bluez5: upgrade 5.71 -> 5.72 cronie: upgrade 1.7.0 -> 1.7.1 libpsl: upgrade 0.21.2 -> 0.21.5 grub2: upgrade 2.06 -> 2.12 Bruce Ashfield (12): linux-yocto/6.6: update to v6.6.11 linux-yocto/6.6: update CVE exclusions linux-yocto/6.1: update to v6.1.72 linux-yocto/6.1: update CVE exclusions linux-yocto/6.6: cfg: arm: introduce page size fragments linux-yocto/6.6: security/cfg: add configs to harden protection linux-yocto/6.1: security/cfg: add configs to harden protection linux-yocto/6.6: update to v6.6.12 linux-yocto/6.6: update CVE exclusions linux-yocto/6.1: update to v6.1.73 linux-yocto/6.1: update CVE exclusions linux-yocto/6.1: drop recipes Chen Qi (5): oeqa/selftest: add test case to cover 'devtool modify -n' for a git recipe systemd: refresh musl patches for v255.1 systemd: upgrade to 255.1 systemd-boot: upgrade to 255.1 rootfs-postcommands.bbclass: ignore comment mismatch in systemd_user_check Etienne Cordonnier (1): cmake.bbclass: add Darwin support Fabio Estevam (2): weston: Update to 13.0.0 pulseaudio: Update to 17.0 Jiang Kai (4): debianutils: upgrade 5.15 -> 5.16 enchant2: upgrade 2.6.4 -> 2.6.5 libsecret: upgrade 0.21.1 -> 0.21.2 libxrandr: upgrade 1.5.3 -> 1.5.4 Joe Slater (1): eudev: modify predictable network if name search Jonathan GUILLOT (1): udev-extraconf: fix unmount directories containing octal-escaped chars Julien Stephan (3): externalsrc: fix task dependency for do_populate_lic devtool: modify: add support for multiple source in SRC_URI oeqa/selftest/devtool: add test for recipes with multiple sources in SRC_URI Kai Kang (2): nativesdk-cairo: fix build error p11-kit: fix parallel build failures Kevin Hao (2): yocto-bsp: Bump the default kernel to v6.6 yocto-bsp: Drop the support for v6.1 kernel Khem Raj (4): libgudev: Pass export-dynamic to linker directly. coreutils: Fix build with clang glibc: Do not enable CET on 32bit x86 rust: Re-write RPATHs in the copies llvm-config Pavel Zhukov (1): mdadm: Disable ptests Peter Marko (1): zlib: ignore CVE-2023-6992 Richard Purdie (7): qemu: add PACKAGECONFIG for sndio poky-altcfg: Update PREFERRED_VERSION for kerenl xev: Drop diet libx11 related patch libxcomposite: Drop obsolete patch python3-subunit: Add missing module dependency qemu: Upgrade 8.1.2 -> 8.2.0 qemu: Fix segfaults in webkitgtk:do_compile on debian11 Robert Yang (1): autoconf: 2.72d -> 2.72e Ross Burton (7): cve_check: handle CVE_STATUS being set to the empty string cve_check: cleanup logging xserver-xorg: add PACKAGECONFIG for xvfb xserver-xorg: disable xvfb by default libssh2: backport fix for CVE-2023-48795 bitbake: bitbake: Version bump for inherit_defer addition sanity: require bitbake 2.7.2 for the inherit_defer statement Ryan Eatmon (1): python3-yamllint: Add recipe Simone Weiß (2): tune-core2: Update qemu cpu to supported model gcc: Update status of CVE-2023-4039 Thomas Perrot (1): opensbi: bump to 1.4 Timotheus Giuliani (1): linux-firmware: fix mediatek MT76x empty license package Vincent Davis Jr (1): shaderc: update commit hash to v2023.7 Wang Mingyu (2): python3-subunit: upgrade 1.4.2 -> 1.4.4 libtest-warnings-perl: upgrade 0.031 -> 0.032 William Hauser (1): native.bbclass: base_libdir unique from libdir William Lyu (1): perl: Fix perl-module-* being ignored via COMPLEMENTARY_GLOB Yash Shinde (7): rust: Fetch cargo from rust-snapshot dir. rust: detect user-specified custom targets in compiletest rust: Enable RUSTC_BOOTSTRAP to use nightly features during rust oe-selftest. rust: Fix assertion failure error on oe-selftest rust: Add new tests in the exclude list for rust oe-selftest rust: Remove the test cases whose parent dir is also present in the exclude list rust: Enable rust oe-selftest. Yogita Urade (1): tiff: fix CVE-2023-6228 meta-arm: 1cad3c3813..6bb1fc8d8c: Harsimran Singh Tungal (1): n1sdp:arm-bsp/optee: Update optee to v4.0 Ross Burton (1): arm-bsp/linux-yocto: add 6.1 recipe Change-Id: Ib4cc4e128e4d41f3329cf83a0d5e8539ef07ebe3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenBMC is a Linux distribution for management controllers used in devices such as servers, top of rack switches or RAID appliances. It uses Yocto, OpenEmbedded, systemd, and D-Bus to allow easy customization for your platform.
See the Yocto documentation for the latest requirements
sudo apt install git python3-distutils gcc g++ make file wget \ gawk diffstat bzip2 cpio chrpath zstd lz4 bzip2
sudo dnf install git python3 gcc g++ gawk which bzip2 chrpath cpio \ hostname file diffutils diffstat lz4 wget zstd rpcgen patch
git clone https://github.com/openbmc/openbmc cd openbmc
Any build requires an environment set up according to your hardware target. There is a special script in the root of this repository that can be used to configure the environment as needed. The script is called setup
and takes the name of your hardware target as an argument.
The script needs to be sourced while in the top directory of the OpenBMC repository clone, and, if run without arguments, will display the list of supported hardware targets, see the following example:
$ . setup <machine> [build_dir] Target machine must be specified. Use one of: bletchley mori s8036 dl360poc mtjade swift e3c246d4i mtmitchell tatlin-archive-x86 ethanolx nicole tiogapass evb-ast2500 olympus-nuvoton transformers evb-ast2600 on5263m5 vegman-n110 evb-npcm750 p10bmc vegman-rx20 f0b palmetto vegman-sx20 fp5280g2 qcom-dc-scm-v1 witherspoon g220a quanta-q71l witherspoon-tacoma gbs romed8hm3 x11spi greatlakes romulus yosemitev2 gsj s2600wf zaius kudo s6q lannister s7106
Once you know the target (e.g. romulus), source the setup
script as follows:
. setup romulus
bitbake obmc-phosphor-image
Additional details can be found in the docs repository.
The OpenBMC community maintains a set of tutorials new users can go through to get up to speed on OpenBMC development out here
Commits submitted by members of the OpenBMC GitHub community are compiled and tested via our Jenkins server. Commits are run through two levels of testing. At the repository level the makefile make check
directive is run. At the system level, the commit is built into a firmware image and run with an arm-softmmu QEMU model against a barrage of CI tests.
Commits submitted by non-members do not automatically proceed through CI testing. After visual inspection of the commit, a CI run can be manually performed by the reviewer.
Automated testing against the QEMU model along with supported systems are performed. The OpenBMC project uses the Robot Framework for all automation. Our complete test repository can be found here.
Support of additional hardware and software packages is always welcome. Please follow the contributing guidelines when making a submission. It is expected that contributions contain test cases.
Issues are managed on GitHub. It is recommended you search through the issues before opening a new one.
First, please do a search on the internet. There's a good chance your question has already been asked.
For general questions, please use the openbmc tag on Stack Overflow. Please review the discussion on Stack Overflow licensing before posting any code.
For technical discussions, please see contact info below for Discord and mailing list information. Please don't file an issue to ask a question. You'll get faster results by using the mailing list or Discord.
This is a common question, particularly regarding boards from popular COTS (commercial off-the-shelf) vendors such as Supermicro and ASRock. You can see the list of supported boards by running . setup
(with no further arguments) in the root of the OpenBMC source tree. Most of the platforms supported by OpenBMC are specialized servers operated by companies running large datacenters, but some more generic COTS servers are supported to varying degrees.
If your motherboard is not listed in the output of . setup
it is not currently supported. Porting OpenBMC to a new platform is a non-trivial undertaking, ideally done with the assistance of schematics and other documentation from the manufacturer (it is not completely infeasible to take on a porting effort without documentation via reverse engineering, but it is considerably more difficult, and probably involves a greater risk of hardware damage).
However, even if your motherboard is among those listed in the output of . setup
, there are two significant caveats to bear in mind. First, not all ports are equally mature -- some platforms are better supported than others, and functionality on some "supported" boards may be fairly limited. Second, support for a motherboard is not the same as support for a complete system -- in particular, fan control is critically dependent on not just the motherboard but also the fans connected to it and the chassis that the board and fans are housed in, both of which can vary dramatically between systems using the same board model. So while you may be able to compile and install an OpenBMC build on your system and get some basic functionality, rough edges (such as your cooling fans running continuously at full throttle) are likely.
Dive deeper into OpenBMC by opening the docs repository.
The Technical Steering Committee (TSC) guides the project. Members are: