summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add autostart policy for these services of the openbmc repo.Nan Li2016-06-0617-0/+17
| | | | | | | | Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
* | Merge pull request #305 from kc8apf/i2c_tools_srcuriPatrick Williams2016-05-281-1/+2
|\ \ | | | | | | Fix i2c-tools SRCURI syntax
| * | Fix i2c-tools SRCURI syntaxRick Altherr2016-05-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Override syntax (FOO_append, FOO_prepend) doesn't insert spaces to separate the append from the original value. This caused the two URIs to be incorrectly merged into one and caused a download failure. It happens that the fallback in that case is to use the Yocto mirror so it kept working other than emitting a warning. Using =+ prepend syntax correctly adds the separating space. Change-Id: I36f48cb53aa29ea9a4bde738c975784f6ce24250 Signed-off-by: Rick Altherr <raltherr@google.com>
* | | Pin host-ipmi-hw-example to a specific Git SRCREVRick Altherr2016-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AUTOREV assumes you can reach the remote repository to lookup the most recent commit. When setting up a hermetic build, that will fail even though a local mirror tarball exists. Pinning the recipe to a specific revision skips the lookup and just checks out the specified commit from the local mirror tarball. Change-Id: I05cfa67dfcd321ff28a93453df5ce1c82666e6c1 Signed-off-by: Rick Altherr <raltherr@google.com>
* | | Merge pull request #304 from mdmillerii/update-ubootPatrick Williams2016-05-261-2/+1
|\ \ \ | |/ / |/| | Update u-boot to pick up memory corruption fix
| * | meta-phosphor/u-boot: Move to newer versionJoel Stanley2016-04-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes from Milton for u-boot leaving ethernet device running after loading linux: net: aspeednic: Create aspeed_write_hwaddr from set_mac_address net: aspeednic: Do not start hardware in initialize net: aspeednic: Remove extra spaces before assignments net: aspeednic: Do not fill in a random MAC address net: Implement random ethaddr fallback in eth.c Backports from upstream from me to support building under modern GCC versions: common: main.c: make show_boot_progress __weak ARM:asm:io.h use static inline arm: board: use __weak net: Implement random ethaddr fallback in eth.c compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6 Signeo-off-by: Joel Stanley <joel@jms.id.au>
* | | Bump IPMI, networkd, REST, and skeleton versionsv0.8.1Adriana Kobylak2016-05-246-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pick up: Fix FRU VPD error messages Add REST interface to update BMC via local file Add Barreleye motherboard VPD to the inventory Handle parallel IPMI SEL reservation requests Add support to stream the journald log to a remote syslog Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* | | Bump skeleton versionAdriana Kobylak2016-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix OCC hardcoded sensor Add adm1278 sensors Fix preserving u-boot env variables during BMC updates Add gpio Q7 handling Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* | | Release openbmc-20160521-1Joel Stanley2016-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | - Enable shmem in config, fixing qemu booting - Add latest version of Yi's OCC hwmon driver to support barreleye Signed-off-by: Joel Stanley <joel@jms.id.au>
* | | Bump pyphosphor versionBrad Bishop2016-05-191-1/+1
| | | | | | | | | | | | | | | | | | This picks up a new enum for dbus - UnknownService. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | | Bump version for console, object manager, and event logsAdriana Kobylak2016-05-194-4/+4
| | | | | | | | | | | | | | | | | | | | | Updates for: Console - Support for local tty mirroring Object manager - BMC boot performance improvements Event logs - Cap the number of event logs at 128
* | | meta-phosphor: Move to openbmc-20160518-1Joel Stanley2016-05-181-1/+1
| |/ |/| | | | | | | | | | | - Add EEPROM to barreleye device tree - Update to 4.4.10 stable release Signed-off-by: Joel Stanley <joel@jms.id.au>
* | meta-phosphor: Move to openbmc-20160511-1Joel Stanley2016-05-121-1/+1
| | | | | | | | | | | | | | - Enables network cable link detection - Adds support for VOUT sampling to the adm1275 driver Signed-off-by: Joel Stanley <joel@jms.id.au>
* | Merge pull request #255 from shenki/kernel-openbmc-20160505-1nkskjames2016-05-111-1/+1
|\ \ | | | | | | meta-phosphor: Move to openbmc-20160505-1
| * | meta-phosphor: Move to openbmc-20160505-1Joel Stanley2016-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | - Update to 4.4.9 for security and bug fixes - Adds device tree and network phy for firestone support Signed-off-by: Joel Stanley <joel@jms.id.au>
* | | Bump versions for inventory uploadBrad Bishop2016-05-052-2/+2
|/ / | | | | | | | | Bump mapper and skeleton versions. Bump upload version and add systemd service file.
* | Merge pull request #254 from causten/tag7nkskjames2016-05-041-1/+1
|\ \ | | | | | | Add version_id support in to openbmc
| * | Add version_id support in to openbmcChris Austen2016-05-041-1/+1
| | | | | | | | | | | | | | | Adding https://github.com/openbmc/phosphor-host-ipmid/commit/176c96534484213dfb19d2ef5f70306b145a4fcf to all the ipmi -I dbus mc info command to reflect what is seen via REST
* | | VERSION_ID is not granularChris Austen2016-04-301-2/+2
|/ / | | | | | | | | | | | | | | | | | | Currently VERSION_ID is v0.6 Even when I am 30 commits past the tag. I am swapping the code's BUILD/VERSION populator to ensure we adhere to the reason why VERSION_ID exists in the first place... to know what level of code you have on the system Definition of what the VERSION_ID is for... https://www.freedesktop.org/software/systemd/man/os-release.html
* | Merge pull request #251 from anoo1/0429nkskjames2016-04-304-4/+4
|\ \ | | | | | | Recipe updates for Network, Skeleton, Event, IPMI
| * | Recipe updates for Network, Skeleton, Event, IPMIAdriana Kobylak2016-04-294-4/+4
| | | | | | | | | | | | | | | | | | | | | Add release version id to inventory and IPMI interface Add REST interface to query the type of network interface Add event REST association suppot Fix inventory data for CPU1
* | | Merge pull request #252 from bradbishop/pullnkskjames2016-04-294-8/+24
|\ \ \ | | | | | | | | new recipes, version bumps supporting associations
| * | | Bump rest, mapper and rest-dbus versionsBrad Bishop2016-04-293-3/+4
| | | | | | | | | | | | | | | | Picking up support for pyphosphor and associations.
| * | | Add pyphosphor requirement to rest-dbusBrad Bishop2016-04-291-1/+1
| | | | | | | | | | | | | | | | Once this happens the duplicated code can be removed from rest-dbus.
| * | | Whitespace fixes for obmc-rest.bbBrad Bishop2016-04-291-4/+4
| | | | | | | | | | | | | | | | OE style guidelines dictate no tabs.
| * | | New recipe for pyphosphor libraryBrad Bishop2016-04-291-0/+15
| |/ / | | | | | | | | | | | | We have openbmc python utilities scattered all over the place. To facilitate reuse, bring them together in a single python package.
* | | Build a tftpboot friendly image.Brad Bishop2016-04-211-0/+1
|/ / | | | | | | | | Build a rootfs cpio uimage with everything along with the other images.
* | skeleton: Use pflash recipePatrick Williams2016-04-141-0/+7
| | | | | | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* | obmc-console: Add ssh endpointJeremy Kerr2016-04-143-1/+41
| | | | | | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* | dropbear: Add patch for -c <command> option to dropbearJeremy Kerr2016-04-142-1/+93
| | | | | | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* | Enable obmc-console projectJeremy Kerr2016-04-142-1/+2
| | | | | | | | | | | | | | The issue that prevented obmc-console from compiling was has been fixed in f5858b5bf, so bump to a recent obmc-console version, and reenable. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* | Limit size of event log dbAdriana Kobylak2016-04-111-1/+1
|/ | | | | | | The event log process now supports an argument to specify the max size of the event log db. Set this size to a default of 200kB. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* obmc-phosphor-image: temporarily disable obmc-consolePatrick Williams2016-04-011-1/+0
| | | | | | See openbmc/obmc-console#2 for failure details. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Merge pull request #212 from shenki/kernel-4.4Patrick Williams2016-04-011-13/+3
|\ | | | | meta-phosphor: Move to openbmc-20160321-1
| * meta-phosphor: Move to openbmc-20160329-1Joel Stanley2016-03-291-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are now on a 4.4 based kernel - Fix i2c_smbus_read_block_data error in our i2c bus driver - Includes many JFFS2 fixes identified by Milton: * Fix directory hardlinks from deleted directories * Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin" * jffs2: Fix page lock / f->sem deadlock * jffs2: reduce the breakage on recovery from halfway failed rename() * mtd: spi-nor: aspeed-smc: Fix flash struct setup for scan - Remove our in-tree adm1275 driver in favour of the upstream one, which was cherry picked from 4.6-rc1. Adds support for device tree - Incremental cleanups to the p8 occ hwmon driver - SCU fixes for GPIO configuration relating to Ethernet phy and PCIe Squishes down most of the fixes that were found in the 4.3 development effort into the commit that added the driver. This is part of the work in preparing for upstreaming Aspeed kernel support. Signed-off-by: Joel Stanley <joel@jms.id.au>
* | Add obmc-console projectJeremy Kerr2016-03-244-0/+34
|/ | | | | | | This change introduces obmc-console, a little daemon to handle the UART data and multiplex it to a log and client processes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* inarp: Update to 19ed5170Jeremy Kerr2016-03-171-1/+1
| | | | | | | | | | | | This change updates us to 19ed5170, which supports dynamic interface configuration, and better syslog support. Jeremy Kerr (3): Rename inarp_ctx.socket Use netlink for link state queries Use syslog for log output Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Merge pull request #203 from williamspatrick/yocto-cleanupPatrick Williams2016-03-094-0/+1238
|\ | | | | Yocto cleanup
| * Move glibc-cross-localedef patches from yocto-poky.Patrick Williams2016-03-072-0/+28
| | | | | | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
| * Move systemd patches from yocto-poky tree.Patrick Williams2016-03-072-0/+1210
| | | | | | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* | Update recipes to pick up IPMI and User management fixesAdriana Kobylak2016-03-083-3/+3
| | | | | | | | | | IPMI: Support for ipmitool lan high level commands USER: User management fixes
* | Merge pull request #200 from mdmillerii/from-ramnkskjames2016-03-078-32/+333
|\ \ | | | | | | Update openbmc initfs to add temporary run from RAM
| * | init: Increase fidelity of u-boot environment parsingMilton D. Miller II2016-03-071-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deleting a variable with a long value exposed a duplicate openbmcinitdownloadurl variable resulting in two lines in the url file, and wget was not happy. The u-boot environment ends with a double NUL character like many operating environments. Using strings to separate on the NUL bytes was loosing this information. The fw_printenv command does not clear the remainder of the environment when deleting variables. Instead it just makes sure it is terminated with a double NUL byte. Switch from strings to tr to separate the strings. Translate NL to CR to avoid false matches, and use sed to detect a blank line. Also use tail to skip over the CRC bytes. We don't have the config file to know if a flag exists so assume 1 copy for now. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | host-ipmid: OEM command will require clear-once serviceMilton D. Miller II2016-03-072-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell systemd the host-ipmid service wants the clear-once service to be started, and that it wants to run after the clear-once service. The new OEM command will use the openbmc init run once variables set in the u-boot environment. We want the u-boot variable cleared before the host can request it be set again. Tell bitbake to require the clean-once package. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | Add clear-once serviceMilton D. Miller II2016-03-072-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a service unit to clear the openbmconce variable in the the u-boot environment with fw_setenv. Set the timeout to allow the flash to be written, even though we currently just update the ram shadow file. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | initfs: Install option and download files if they existMilton D. Miller II2016-03-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install the init-option and init-download-url if they exist in the build directory. This change to the bitbake recipe allows an override layer to simply add these files to the SRC_URI variable and then have them appear in the initramfs. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | init: Add a hook to download filesMilton D. Miller II2016-03-071-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a hook to download a read-only file system image file from a URL using TFTP, HTTP, or FTP. The URL is retrieved from a u-boot environment variable unless the file is already in the initramfs image. Only execute this command if the previously established options file has a keyword trigger. Do not even consider the option if a build option flag is not set to y, and allow each protocol to be disabled by simiar build options. This allows one to specify at u-boot commands that would download a read-only file system into memory for execution this boot instead of needing to create a custom initramfs to netboot or specifying debug-init-sh, entering the password, and doing the download from the shell. Note: Access to set u-boot environment variables implys the ability to replace the kernel and initramfs session. Access to the variables and the serial console likely gives full root access to the system at this time. The existing shutdown and update scripts have paths that expose a root shell to the serial port without a prior password challenge. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | init: Allow options to be fixed at build timeMilton D. Miller II2016-03-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the file /init-options exists copy it to the runtime location /run/initramfs/init-options. This allows an initramfs image to be built that will not parse any u-boot or command line variables by adding a file into the the image. This can be done either through a recipe overlay or additonal package today and could also be a cpio merged into the initrd in the future. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | init: Look for options in u-boot environmentMilton D. Miller II2016-03-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look in the saved u-boot environment for init options in addition to the kernel command line. This allows setting options to run in the u-boot environment instead of setting bootargs. Look at specific variables but not the whole environment so that users can setup variable to run. Look at two variables so scripts can automatically clear one on successful boot as one-time options (defer that to the full filesystem). Instead of having the full fw_setenv / fw_getenv binaries which would overflow the existing space for the initramfs, just use the busybox strings command to extract the variables. The oldest variable might get a crc32 character or flag byte if redundant environment were configured for nand but that is not expected to be these user defined variables. [1] The environment consists of a crc32, a flag byte if a redundant environment is configured, then a series of var=value strings separated by NUL bytes. The flag byte is 1 (active) or 0 (obsolete) for NOR flash, or a counter 0-255 in nand, the flag byte cycles through 0-255. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
| * | init: Add option to copy files into memoryMilton D. Miller II2016-03-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to copy files from the rwfs to ram then run in ram. This allows customizations like user ids and network settings to be initialized from the read-write filesystem. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
OpenPOWER on IntegriCloud