summaryrefslogtreecommitdiff
path: root/meta-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2018-04-25phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I30b3dee829f1812a678447b92c215c48d154c613 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-25phosphor-gpio-monitor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ic8394447c75980408a08cf26a17dde9bd976694e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-25phosphor-gpio-monitor: Add EXTRA_ARGS in serviceLei YU1-1/+1
This is a follow up commit of 1065559c, that is to use ${EXTRA_ARGS} instead of "--continue=", so that this option becomes an optional one without argument. For services need extra arguments, e.g. Romulus' id-button service, specify "--continue" in its config file. Tested: Verify the generated gpio monitor service uses ${EXTRA_ARGS} environment. On Romulus, checkstop monitor starts without extra argument, and id_button monitor starts with --continue argument. Change-Id: I09c5ad7f97f1a40caabfc9ae394e68798396dffe Signed-off-by: Lei YU <mine260309@gmail.com>
2018-04-24phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I08ac717512df12591509db280055032a32338434 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-24kernel: Add ASPEED AST2500 DRM driverJoel Stanley1-1/+1
This updates the kernel to include the ASPEED DRM driver. Note that the defconfig update has no affect on the I2C support; it drops out only due to being selected by other dependencies. Joel Stanley (6): drm: Add ASPEED GFX driver drm: aspeed: Debugfs interface for GFX registers ARM: dts: aspeed-g5: Add resets and clocks to GFX node ARM: dts: ast2500-evb: Enable the GFX IP ARM: dts: witherspoon: Enable the GFX IP ARM: dts: aspeed-g5: Add DAC MUX userspace control Change-Id: I084c4df8b7d4bcc183a865c9eabb0154570e0342 Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-04-24kernel: DRM update, ASPEED misc registers, AST2500 clk fixJoel Stanley1-1/+1
These updates are in preperation for the AST2500 GFX DRM driver merge, and associated userspace tools. Aishwarya Pant (1): drm: introduce drm_dev_{get/put} functions Andrew Jeffery (3): soc: aspeed: Miscellaneous control interfaces dts: aspeed-g5: Expose VGA scratch registers dts: aspeed-g5: Expose SuperIO scratch registers Joel Stanley (1): Merge tag 'drm-for-v4.14' into dev-4.13 clk: aspeed: Support second reset register Oleksandr Andrushchenko (1): drm/simple_kms_helper: Add {enable|disable}_vblank callback support Change-Id: Ib6b4316397cedb9636243d0a7a51924d30bb811d Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-04-24phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I6b07c5f7891e62589aa33127d7538332c188faba Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-24phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I25d005b89145d8ac5afab5ac994cae6aafbcf014 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-20Revert "Avahi: Don't start the avahi-daemon if dot local domain is there"Ratan Gupta5-61/+0
Currently this commit uses the host command which comes through bind-utils pacakge,host command and the dependent librarys taking up around 3MB space so reverting this commit. This reverts commit 8f852d2b9484202118e382a31d16e659b91789ee. Change-Id: I1d5d08f15cfd2da79435f4ee0dfe614b2e405681 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2018-04-20phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I648433b8c5488c0af53c02bef3991be73fd85d9a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-19phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I4f51c32df2f0e3ebb751e8a6a43ee625ffd39cca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-19phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I37cfc9a3c5b5f03c80389e9321841989fb6608f2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-19phosphor-gpio-monitor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I3a6cad7c1c4bbc58e315dbbc520c8557df32bd10 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-18Avahi: Don't start the avahi-daemon if dot local domain is thereRatan Gupta5-0/+61
More info is at the following link https://web.archive.org/web/20150228130344/http://avahi.org/wiki/AvahiAndUnicastDotLocal This commit creates the avahi user and avahi group,as there may be cases where one of them don't exist due to code update. for example a BMC image that has additional user accounts (and therefore a bigger /etc/group file) is installed on the BMC, the /etc/group or /etc/passwd file would not be updated because is part of the persistent files, so the old /etc/group or /etc/passwd file would remain. Tested: 1) System which doesn't have avahi group,With this fix creates the group and start the avahi daemon. 2) Verified on the system where there is a zone .local is being used by the DNS server,avahi-daemon was not started. Resolves openbmc/openbmc#2788 Change-Id: I23b7a6cdd21bcefbea3d854fec8faa21c70378e9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2018-04-18systemd: Remove journald sync patchesAdriana Kobylak3-396/+1
The phosphor-logging interface has been updated to call a local interface to sync the journal instead of making a D-Bus call: https://gerrit.openbmc-project.xyz/#/c/9910/ Delete the journald patches since they're not needed anymore. Tested: Built witherspoon image. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Change-Id: Ie6b4387bf53ea4c29a7bbef6483ef723c333dfdf
2018-04-18meta-romulus: Add id-button.bbLei YU1-1/+1
This recipe adds the function to assert/deassert identify LED Group when the ID button is pressed: 1. Add phosphor-gpio-monitor for the ID button GPIO key; 2. Start id-button-pressed.service when the key is pressed; 3. The service starts a script to check the identify LED group state, and assert or de-assert it. Tested: Assert/De-assert identify LED group by pressing the ID button on Romulus. Change-Id: I782dbc15563a313418aa90bee1f48fc97a6d25fb Signed-off-by: Lei YU <mine260309@gmail.com>
2018-04-18aspeed: move MTD partition rulesBrad Bishop2-8/+0
Move the MTD partition rules to their own recipe under udev rather than appending u-boot-fw-utils. Additionally the rules are an artifact of the aspeed u-boot-fw-utils configuration, so place the new recipe in the aspeed layer. Tested: Built a witherspoon image Change-Id: I1fec995dd75543b2630db29d78bfb29a1a5949d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-04-18kernel: Add Nuvoton NPCM (Poleg), ncsi and romulus fixesJoel Stanley1-1/+1
Brendan Higgins (3): MAINTAINERS: Add entry for the Nuvoton NPCM architecture arm: npcm: add basic support for Nuvoton BMCs arm: dts: add Nuvoton NPCM750 device tree Eddie James (1): aspeed: watchdog: Set bootstatus during probe Joel Stanley (3): serial: 8250: Add Nuvoton NPCM UART dt-bindings: watchdog: Add Nuvoton NPCM description watchdog: Add Nuvoton NPCM watchdog driver Lei YU (1): ARM: dts: aspeed: romulus: Add id-button gpio key Samuel Mendoza-Jonas (1): net/ncsi: Refactor MAC, VLAN filters Tali Perry (2): dt-binding: clk: npcm750: add binding clk: npcm7xx: add clock controller Tomer Maimon (10): arm: dts: add watchdog device to NPCM750 device tree arm: dts: modify UART compatible name in NPCM750 device tree arm: dts: modify timer register size in NPCM750 device tree arm: dts: modify clock binding in NPCM750 device tree arm: dts: modify Makefile NPCM750 configuration name arm: dts: modify Nuvoton NPCM7xx device tree structure arm: npcm: modify configuration for the NPCM7xx BMC. dt-binding: timer: document NPCM7xx timer DT bindings clocksource/drivers/npcm: Add NPCM7xx timer driver arm: npcm: enable L2 cache in NPCM7xx architecture Change-Id: Ia5743a14d780d85a61c2796786eed483d7e2f78c Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-04-18phosphor-logging.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7be1005adc32e9c9ce2053243fb313066b1b1371 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-18phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I2ec2a701aec5f6f52dabdd58400155a68b1f6d5a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-17Fix build-from-scratch issue with u-bootAndrew Geissler1-1/+1
A recent change in the u-boot-asspeed.inc caused a regression when building an OpenBMC image from scratch. Resolves openbmc/openbmc#3073 Change-Id: I8e75c7bba1733d885dfa342667012888c44f5f1e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-17phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I378786718db0109954b871fa33d757439dca5e35 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-17phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I80b0b7da8c6494220be377890595dd7cdc50b871 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-17phosphor-led-manager.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I65745c91b154a6741e4ed920e03363ff4358678e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I5e1fd361bb7520627d21ae16018146e3c3fdb441 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I97914bf606c4b4e30da2bea7734ece8792ca3378 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ifb321963694f0313129006fdfe6c8359d64b33d0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16phosphor-logging.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7111cebfdd70ae3d76db63607c9065e22659452a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-16mrw-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Iaa61c468bc5deab50c2161e8608c8e6f8525d561 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-13phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Idf6ea019ea9eb6f3e497c429812f6b14dbb33d1a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-13witherspoon: Enable BMC signature verificationAdriana Kobylak1-0/+2
Enable signature verification in the phosphor-software-manager code for witherspoon. This causes an error to be logged if updating to an unsigned image, or image signed with a different key than the one on the system, and if field mode is set, it'll stop the activation process. Tested: Signature verification is enforced on witherspoon, verified error is logged with and without field mode enabled, and activation is prevented with field mode enabled. Change-Id: Ifc8f8054f8d852cc16942af9cbf58d60aff3fc33 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2018-04-13phosphor-fan.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I8f702e0db614a59b566bf042e066e82345ec0d2b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-13phosphor-rest.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I66981100de71ce2b0f8f96d0f3ef6bb8802420c1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-12u-boot: Ensure we rebuild on change of VERSION_IDAndrew Jeffery1-7/+6
Systems utilising the obmc-ubi-fs DISTRO_FEATURE may fail to boot a freshly built image under some circumstances. Typically the error will be a mismatch in the u-boot environment between the value set in `kernelname` and the on-flash volume name for the kernel. They differ in the "Image ID" portion. The image ID is derived from the VERSION_ID field of `/etc/os-release`, and is currently added to the u-boot environment by sed-patching both a patch file adding the necessary information to the appropriate u-boot header, and the u-boot header itself. Why the current approach is wrong requires a bit of background on bitbake: 1. bitbake tasks must be idempotent 2. Building on 1, bitbake caches build state using stamp files 3. bitbake tasks will not be re-run if a stamp exists and the task input state matches 4. bitbake requires actions execute in the appropriate build phase To the issues: A. The sed-patching was performed by hooking the do_configure() task. This is wrong: There's a do_patch() phase whose purpose is to handle modifying the source tree, and will handle cache invalidation appropriately. The patch modifies the recipe to append the sed-patching to the do_patch() phase when the obmc-ubi-fs DISTRO_FEATURE is enabled. B. Sed-patching a patch is unnecessary. We can just sed the target file. By appending to the do_patch() phase we know the patches listed in SRC_URI have be applied, so drop any mangling of the patch. Note that as the existing approach hooked do_configure(), the source (including the patch) will not be redeployed, therefore the patch may remain in its mangled state. C. The search regex of the sed line only accounted for the case where the source was freshly unpacked and patched, and `kernelname` was assigned `kernel-0`. This will not be the case under a rebuild of a new commit to the OpenBMC repository that doesn't touch u-boot, as the source will not be redeployed due to the caching behaviour. D: We need an explicit dependency for the do_patch() phase on os-release:do_populate_sysroot to ensure that if os-release changes that we redo the patch phase to pick up the new image ID in the u-boot environment. The change addresses all of the issues outlined above. Change-Id: I01c95693053cb58aa0c0a90da04a03bca8eeec9e Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2018-04-12phosphor-ipmi-net.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ie1db920366e3104fe16ca1af6ca6b5e9fefea068 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11phosphor-webui.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I95e6ecf183cb1b82a138df17609b45441dd9ec45 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ie97d6c5610eddc15baffc2404e5944c6d53b9777 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11phosphor-dbus-monitor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Idf4713febc9a0ce07a5c27da5058692fbbf4c360 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11phosphor-ipmi-net.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I4063b02df076d7052d1a69cd2b9f75f9452e0125 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11Add mirror u-boot option to obmc-flash-bmcEddie James3-0/+82
The mirror u-boot function copies the currently booted BMC chip's u-boot partition to the alternate chip, if the two don't match. This is to make sure we always have a good u-boot in the alternate flash. Also add service file for the mirror u-boot option. Resolves openbmc/openbmc#2876 Change-Id: Ida09a167de21f3ccb588a096509d88ad88450c93 Signed-off-by: Eddie James <eajames@us.ibm.com>
2018-04-11sdbusplus.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I0653a49853992d7996d05ffb90d3480a99b65e61 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-11phosphor-ipmi-host.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I77bf192891947e33f040b4dc1a6a238f96775997 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-10Remove u-boot-fw-utils from IMAGE_INSTALLBrad Bishop1-1/+0
Install u-boot-fw-utils via dependency, rather than explicitly attempting to include it in all images. Tested: Built witherspoon, qemux86 images Change-Id: I371cb4b848d67d75816a6d0d3b35bc7615f2ec39 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-04-10perl/yaml-tiny: Update to 1.73Brad Bishop1-4/+4
Change-Id: Idc8c64241b24f05b4cbaeb84780a5f72f40d2406 Tested: Built witherspoon and palmetto images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-04-10minor yaml-tiny recipe enhancementsBrad Bishop1-1/+3
inherit allarch and enable both native and target builds. Change-Id: Ib5c6bb03a9ac5c5cf7aab9ba65ef4b95845b5478 Tested: Built witherspoon and palmetto images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-04-10Revert "Allow login on ttyS4"Brad Bishop2-14/+0
This reverts commit 85bdf258c54304ee286a90795db3c1a75f1bfdbd. Seem to be able to log in on tty4 just fine without this, so drop. Tested: Built and booted a witherspoon image Change-Id: Iec0adad5404805514618eadc372a2fe9582da032 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-04-10systemd: patch in watchdog device configuration changeEdward A. James3-0/+217
upstream: https://github.com/systemd/systemd/pull/7352 Change-Id: I62df65eeec786890c0a7b923fd0455f7869f38b9 Signed-off-by: Edward A. James <eajames@us.ibm.com>
2018-04-10phosphor-hwmon.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7d3e5cc65ffa5846b091194ef23c23d648360214 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-10phosphor-debug-collector.inc: bump versionAndrew Geissler1-1/+1
Change-Id: I464bd2518f738bdb6317f46175bc547bde49bef7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-10ffdc.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ia11b3a1257ed64a79334b6b86171cf81a39025e0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>