| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \
| | |
| | | |
Fix i2c-tools SRCURI syntax
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
Update u-boot to pick up memory corruption fix
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This picks up a new enum for dbus - UnknownService.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updates for:
Console - Support for local tty mirroring
Object manager - BMC boot performance improvements
Event logs - Cap the number of event logs at 128
|
| |/
|/|
| |
| |
| |
| |
| | |
- Add EEPROM to barreleye device tree
- Update to 4.4.10 stable release
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
| |
| |
| |
| |
| |
| |
| | |
- Enables network cable link detection
- Adds support for VOUT sampling to the adm1275 driver
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|\ \
| | |
| | | |
meta-phosphor: Move to openbmc-20160505-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 mapper and skeleton versions.
Bump upload version and add systemd service file.
|
|\ \
| | |
| | | |
Add version_id support in to openbmc
|
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
Recipe updates for Network, Skeleton, Event, IPMI
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
new recipes, version bumps supporting associations
|
| | | |
| | | |
| | | |
| | | | |
Picking up support for pyphosphor and associations.
|
| | | |
| | | |
| | | |
| | | | |
Once this happens the duplicated code can be removed from rest-dbus.
|
| | | |
| | | |
| | | |
| | | | |
OE style guidelines dictate no tabs.
|
| |/ /
| | |
| | |
| | |
| | | |
We have openbmc python utilities scattered all over the place. To
facilitate reuse, bring them together in a single python package.
|
|/ /
| |
| |
| |
| | |
Build a rootfs cpio uimage with everything along with the other
images.
|
| |
| |
| |
| | |
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
| |
| |
| |
| | |
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
| |
| |
| |
| | |
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
See openbmc/obmc-console#2 for failure details.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|\
| |
| | |
meta-phosphor: Move to openbmc-20160321-1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Yocto cleanup
|
| |
| |
| |
| | |
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
| |
| |
| |
| | |
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
| |
| |
| |
| |
| | |
IPMI: Support for ipmitool lan high level commands
USER: User management fixes
|
|\ \
| | |
| | | |
Update openbmc initfs to add temporary run from RAM
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|