commit | 51e6b4ea6f619fe7183eabc3fe3a8989456dbb9c | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Mon May 30 11:21:34 2022 +0930 |
committer | Joel Stanley <joel@jms.id.au> | Tue May 31 03:26:37 2022 +0000 |
tree | 959a68a9a54da8eba52d8c605137b138adcb6cab | |
parent | ed14f8a3961f1b9d222ae9f15aadece389628f45 [diff] |
u-boot-aspeed: TPM TIS I2C support This contains a backport of the TPM TIS core from u-boot mainline, plus a driver from Eddie that enables the I2C backend. It fixes I2C support for the AST2600 and enables the TPM on IBM's rainier platform. A new AST2600 board 'ast2600-ibm' is added that contains some machine specific code for performing TPM init. This board does not have a in-tree defconfig, rather it will be selected by Yocto metadata. This allows us to keep the number of defconfigs low while still having machine specific customisation. Eddie James (6): tpm: core: Set timeouts before requesting locality i2c: ast_i2c: Remove SCL direct drive mode tpm: add support for TPMv2.x I2C chips arm: dts: ast2600-rainier: Add NPCT75X TPM board: ast2600-ibm: Add AST2600 BMC based POWER10+ servers arm: dts: ast2600: Add I2C pinctrl Heinrich Schuchardt (1): tis: fix tpm_tis_remove() Ilias Apalodimas (1): tpm2: Introduce TIS tpm core Joel Stanley (2): configs: ast2600: Remove redundant target option configs: ast2600: openbmc: Add TPM TIS I2C support Johannes Holland (1): tpm: add #ifndef to fix redeclaration build errors Simon Glass (1): tpm: Add more TPM2 definitions Change-Id: Ibd13e0b0a1920f344ead219894a264323f0b8cc5 Signed-off-by: Joel Stanley <joel@jms.id.au>
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.
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat \ zstd pigz
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake \ rpcgen perl-Thread-Queue perl-bignum perl-Crypt-OpenSSL-Bignum perl-FindBin sudo dnf groupinstall "C Development Tools and Libraries"
git clone git@github.com:openbmc/openbmc.git 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 gsj romulus dl360poc kudo s2600wf e3c246d4i mihawk swift ethanolx mtjade tiogapass evb-ast2500 nicole transformers evb-ast2600 olympus-nuvoton witherspoon evb-npcm750 on5263m5 witherspoon-tacoma f0b p10bmc x11spi fp5280g2 palmetto yosemitev2 g220a qemuarm zaius gbs quanta-q71l
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.
Feature List
Features In Progress
Features Requested but need help
Dive deeper into OpenBMC by opening the docs repository.
The Technical Steering Committee (TSC) guides the project. Members are: