- 19 Aug, 2016 1 commit
-
-
Adriana Kobylak authored
During BMC FW update, preserve the following directories: /var/cache/obmc/ - Holds the inventory data /var/lib/obmc/ - Holds the settings properties The whiltelist is recursive, specifying /var/lib/obmc/ will still preserve the event log directory /var/lib/obmc/events/, so it can be removed. Change-Id: I1e1adb1b39a499a6c50e34171a964ee8c884f6c9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 17 Aug, 2016 1 commit
-
-
Adriana Kobylak authored
Cache the 'fault' and 'present' inventory properties. Update the behavior of the power button. Change-Id: I7c63ef5463dd1e593f0b98099df61dcd752c1c7d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 08 Aug, 2016 1 commit
-
-
Adriana Kobylak authored
Pick up fixes for: Loading inventory from cache Start host watchdog just prior to host starting Change-Id: I8c1cfb1d040397a2905fa73303ccc58af15cac87 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 04 Aug, 2016 2 commits
-
-
Adriana Kobylak authored
Whenever networkd restarts like when network configuration changes, restart the rest server to avoid it getting hung if there are pending REST transaction when the network configuration changed. Use PartOf in the service file because from the systemd documentation, this option is limited to stopping and restarting of units, which is the only desire at this time. Refer to openbmc/phosphor-rest-server#24 Change-Id: Ie366e833b11800df0341e2ae117c2d9a08600a5e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
Joel Stanley authored
- Stable relase 4.4.16 - Gavin's fix for a NCSI race that caused the device to not come up Change-Id: I895e9c58e82f8b3de193e1beb86a5b68e47af31f Signed-off-by: Joel Stanley <joel@jms.id.au>
-
- 22 Jul, 2016 1 commit
-
-
Joel Stanley authored
- Stable release 4.4.15 - John's power button debounce fix for Barreleye Change-Id: I2f7362f6dd717994956314387a52a0edbfb77850 Signed-off-by: Joel Stanley <joel@jms.id.au>
-
- 11 Jul, 2016 2 commits
-
-
Patrick Williams authored
Bump IPMI version for v1.0-stable
-
Adriana Kobylak authored
Pick up support for versioned libraries. Closes openbmc/openbmc#423 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 05 Jul, 2016 1 commit
-
-
Patrick Williams authored
Bump skeleton version for v1.0-stable
-
- 02 Jul, 2016 1 commit
-
-
Adriana Kobylak authored
Pick up fixes and the ability to update at runtime and get the bmc code update progress. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 01 Jul, 2016 1 commit
-
-
Patrick Williams authored
Update flash update to be useable at runtime for v1.0-stable
-
- 30 Jun, 2016 16 commits
-
-
Milton Miller authored
Change the whiltelist definition to be files in a directory instead of a single file. This will allow us to store which files should be saved in individual recipes and also supports comments in the whitelist. The actual split into separate files is deferred for prototyping what assistance classes should look like to make the whitelist (eg systemd service files); also the packages will need to be added to the package list for the initramfs image. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Remove the trailing / so that the update script doesn't have to loop. It was determined the trailing slash confused the code that makes the save subdirectory. The update script was fixed but this removes the extra work needed. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Repeatedly strip trailing "/" and "/." from whitelist entries and fail if an entry includes "/../", ends with "/..", or doesn't start with a "/". Also use the entries quoted to avoid any glob. It was noticed the save code was saving directories that ended in "/" into a subdirectory of the last component name. This was traced the the code creating the directory just stripping the last "/" and then copying to the directory. Choose to sanitize the entry where possible for ease of use verses a small performance penalty. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Notify the user if image wildcard expansion fails instead of printing message about failing to find partition to flash. The update script errors with the message that it can't figure out what partition to flash for /run/initramfs/image-* if there are no images pending. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Create a cpio containing the base read-only image, and create a single combined initramfs image consisting of the image-rofs and the existing initramfs. There has been a desire to have a self contained netboot image present for developer testing and experimentation. The init script already supports having the rofs layer sourced from a file packaged into the initramfs, and will use it if found. While this image will not fit in the current flash layout in the initrd space, it will load over the network. This method leaves the squashfs compressed in RAM, decompreses is invoked as needed at runtime, trading boot time and memory space for runtime decompress on demand. This will also give similar file access overheads and performance to reading the data from flash. Because the rofs is already compressed with xz compression, don't try to compress this cpio (the cpio packaging adds about 40 bytes of ascii before and after, plus some alignment padding). Because the kernel requires uncompressed cpios to appear on a 4-byte boundary with 0 byte fill between archives, place this cpio first in the combined image. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Allow an initrd image to include options for init while still allowing additional options to come from the kernel command line and/or u-boot environment variables. This will allow building a netboot image that can specify to run from RAM while allowing the command line to initiate debug or skip copying files from the read-write overlay file system. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Now that update is intended for use at runtime and not just by the init and shutdown scripts, add a short help message listing the options so people don't have to understand how to read shell. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
The flashcp command will check the file size vs the partition size, so add a check when looking at images. Use stat -L -c "%s" to get the file size, and compare it to the mtd size from the sysfs size attribute. If this check is suppressed the enforcement is left to flashcp. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Instead of checking for any mtd device, only check mtd devices that are to be updated. Include child mtd devices when looking for mounted filesystems. If this check is suppressed flash updates are suppressed. Suppressing the check may be useful to verify a update could succeed at shutdown. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Provide a way to check if update is likely to succeed without attempting actual updates. This will check the image names correspond to mtd partition names, and will be enhanced with additional checking for file size and individual partition mounts. This is not called --dry-run because it will still do file save and restore if those are enabled. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Make sure all error messages start with the tag ERROR and its printed to stderr by creating an echoerr function. Previously one case had the file descriptors backwards in the redirection. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
If there were no files in the read-write overlay file system that were in the persistent file list, then the save directory will not be created and therefore not exist. Skip attempting copying the non-existent directory in that case to avoid the error message. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
When update was written it was exec'd from the shutdown script and hence took over pid 1. Since exiting in that environment was a panic situation, the script instead started a rescue shell with its output presumably on the console. The calling convention was updated to be a simple invocation in commit dbacf104 ("obmc-initfs: run update as a sub-script") but the error handling was not updated. That error handling is now becoming a hindrance to use from additional environments so change it. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Print an error from the shutdown script when the update fails. Update is changing to return codes when its preconditions are not met, so be more verbose about its success to provide a means to debug flash updates not occurring. We could add a sulogin or sushell but its not clear what would be desired here. If so the message should include "rmdir /oldroot to get a PID 1 shell" like /takever works in init. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
Because the recipe was named with trailing part init instead of initfs, the package didn't match the package name requiring PROVIDES, RPROVIDES and other bitbake workarounds. Fix the recipe name to match the package removing the overly verbose packaging. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
Milton Miller authored
The generate_flash_image step was creating a file then using dd to fill in the pieces, but missed adding the conv=notrunc flag, so each step was shortening the file to its output. Add the forgotten conversion flag to each dd command. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
-
- 27 Jun, 2016 1 commit
-
-
Patrick Williams authored
Bump versions for skeleton, IPMI, obmc-mapper
-
- 24 Jun, 2016 1 commit
-
-
Adriana Kobylak authored
Pick changes for: Encoding firmware version in BCD format Handle floating point sensor values Performance improvements Extend the mapper service startup timeout Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 21 Jun, 2016 2 commits
-
-
Patrick Williams authored
Add pflash parallel build fix patch
-
Brad Bishop authored
This resolves https://github.com/openbmc/openbmc/issues/325 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-
- 20 Jun, 2016 3 commits
-
-
Patrick Williams authored
Update recipe and service file for phosphor-networkd
-
Patrick Williams authored
Bump versions for skeleton, rest, inarp, event
-
vishwa authored
Commit c69c3d3 for phosphor-netword introduced DNS support. This change will update the bitbake file to point to correct commit and also creates the service file to start DNS updater. Fixes openbmc/openbmc#134
-
- 18 Jun, 2016 1 commit
-
-
Adriana Kobylak authored
Bump recipe versions and add python dependencies. The rest-dbus recipe was adding pythong packages needed by other processes, so when rest-dbus was removed from the Barreleye image, these processes (skeleton and obmc-rest) would fail, so adding the python dependencies to those recipes. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
- 17 Jun, 2016 5 commits
-
-
Patrick Williams authored
Remove rest-dbus from Barreleye
-
Adriana Kobylak authored
The rest-dbus is a package intended for development debug. Remove it from the Barreleye image now that Barreleye is entering production. The rest-dbus packages in part of the development package. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
Adriana Kobylak authored
The rest-dbus package is a lightweight REST interface intended for development debug. Classify it as a dev package so that it is easy to remove from production images. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-
Patrick Williams authored
support for building witherspoon images
-
Brad Bishop authored
Using this kernel tree for Witherspoon until the necessary support is backported to 4.6 or 4.7 is released. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-