summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-olympus-nuvoton
AgeCommit message (Collapse)AuthorFilesLines
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
2023-10-11treewide: clean up webui selectionPatrick Williams1-1/+0
The webui-vue package is now enabled by default. Clean up all the meta layers to clean up the explicit enablement. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
2023-07-20ipmi-fru-parser: srcrev bump 06514028f8..7153343816Andrew Geissler1-4/+4
Patrick Williams (6): clang-format: copy latest and re-format writefrudata: remove vla strgfnhandler: suppress unused parameter warnings frup: suppress stringop-truncation warning scripts: accept absolute paths to YAML build: enable meson builds build: install strgfnhandler into ipmi-providers dir Vernon Mauery (1): Set new maintainer as Patrick Williams Willy Tu (1): fru-parser: Remove the use of mktime Switch to Meson. Change-Id: Iec9c41cc17a72f84248b8cd75f70353e053f17e2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12Revert "Add socket-id for the first console"Andrew Jeffery1-1/+0
This reverts commit ec7cab9378f548e94ee4af83946b2583d1fc7194. ec7cab9378f5 ("Add socket-id for the first console") was only a partial fixup of the obmc-console configurations found in the tree. For historical reasons not all platforms that support multiple consoles install a client configuration file for all consoles. Instead they relied on some default behaviour that was removed in obmc-console's 4e7186918599 ("Fixed broken dbus interface for multiple consoles"). Applying the configuration changes in the manner of ec7cab9378f5 ("Add socket-id for the first console") resulted in an asymmetric configuration between the client and server, breaking some SSH SOL instances. As of ae2460d0b8e8 ("obmc-console: Provide a default value for `console-id`.") in obmc-console the requirement to specify `socket-id`[^1] is lifted. Instead, the configuration can choose to override a default value. This restores the original behaviour and unbreaks SSH SOL. [^1]: Now an alias of the `console-id` configuration key Websocket and IPMI consoles remain broken. A fix is under development that also takes a proper approach to supporting multiple consoles in bmcweb, and the same solution pattern can be applied in ipmid. More discussion of the problems involved can be found here: https://amboar.github.io/notes/2023/05/08/happenings-in-obmc-console.html Change-Id: I274284c791758f336da6d6301dc523bac2b5dd69 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-04-27meta-quanta: fix shellcheck issuesPatrick Williams2-23/+21
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I189baf142cc86d44ebbf615edd3bb0ec1785be8d
2023-04-21Add socket-id for the first consoleNinad Palsule1-0/+1
This drop adds socket-id for first console. This was left out before but with the new design this parameter is required and enforced by obmc-console code. It is decided to set "socket-id = console0" initially because that is the current path used by bmcweb but in future you can change this value to whatever is appropriate. The console information is now available through the DBUS interface. Each console server register it's object path on DBUS. The leaf node of the object path is used to create a console path. For example in the following console0 the leaf node "console0" is used to make up the console path and the GUI will use console path "/console/console0" to connect to the console. busctl tree xyz.openbmc_project.Console.console0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/console0 Here is a discord thread where new design was discussed. https://discord.com/channels/775381525260664832/1083551792094249051 Tested: Tested on the rainier system. Related commits: 1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486 2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496 3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525 Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-08-02Deprecate phosphor-webuiEd Tanous1-1/+1
For the moment, phosphor-webui is deprecated and unmaintained. The replacement for it is webui-vue, which already has feature parity, and many more features than its predecessor. Several calls have been made asking if there is anyone still using phosphor-webui and would like to maintain it into the future, but no such volunteer has stepped up. Moving to webui-vue is the recommended option these days, and this patchset is done under the assumption that these platforms would actually like to move off the deprecated UI, and just don't have patches to that effect. For the machine maintainers reading this, if you would like to stay on phosphor-webui, please start that discussion here about who would like to maintain it. This commit ports the last few platforms over to webui-vue. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I9c74442b850aceca130545f37d5bc694a4f4424d
2022-06-21phosphor-host-ipmid: srcrev bump 33d90e182d..0e7a8af0e5Andrew Geissler1-3/+3
Harvey.Wu (2): dbus-sdr: fix SEL record Generator ID to fit SPEC dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable Jian Zhang (1): Add data types to Value to extend setDbusProperty Vernon Mauery (1): fix header install Willy Tu (4): cleanup: Remove all warning errors for the Meson build support build: Add meson build for phosphor-host-ipmi build: move all shared_library/module to library with version suffix build: Remove dynamicsensor library if it is not enabled Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Willy Tu <wltu@google.com>
2022-04-30treewide: remove meta-perlPatrick Williams1-1/+0
The only recipes which use content from meta-perl are openpower machines: ``` meta-openpower/recipes-bsp/pdata/pdata_git.bb: libxml-libxml-perl-native \ meta-yadro/meta-nicole/recipes-phosphor/logging/openpower-esel-parser_git.bb: libxml-libxml-perl-native \ ``` Remove meta-perl from the bblayers of every layer except openpower machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I51f1a8fbfbe879295c64d2339fc115dbd8823681
2022-04-22treewide: drop unused meta-security layerBrad Bishop1-1/+0
This was added with cde0f094f for libseccomp, but shortly after that upstream moved libseccomp from meta-security to core (241c7d2e6). As such, meta-security is no longer used or required. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
2022-04-16meta-quanta: Add hotswap orderingWilliam A. Kennington III1-5/+2
We want it to be possible to order units prior to the powercycle event if state needs to be persisted prior to a powercycle. We can also remove the time_delay functionality as this is now provided globally by the gbmc-psu-hardreset.target. Change-Id: I15b33e120be0246dd821d0dfe9d61b5aae7d1492 Signed-off-by: William A. Kennington III <wak@google.com>
2022-04-12treewide: Update BB_DISKMON_DIRS useGeorge Liu1-4/+4
Per [1][2], Yocto is starting to deprecate ABORT and has replaced the "ABORT" action in BB_DISKMON_DIRS entries with "HALT". 1. https://wiki.yoctoproject.org/wiki/Inclusive_language 2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5 Tested: Built obmc-phosphor-image successfully and eliminate the following warnings: ``` WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-01-27meta-quanta: Drop StandardOuput=syslogDavid Wang1-1/+0
Standard output/error type syslog is obsolete. Update all unit files, and remove the setting altogether. Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: I9d38713dadd5cca85f0b96f8c217df8afa145add
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-13/+0
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required. As it said by Yocto documentation it can be used by `Hob` https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE that already removed since Yocto-2.1 https://www.yoctoproject.org/tools-resources/projects/hob Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams2-0/+3
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams2-3/+0
Every machine layer treats 'system-management' as either part of a package-group or removes the feature. The sample implementation in meta-phosphor is a do-nothing shell script (and up until recently was a Python script). There appears to be no useful purpose to this feature as a stand-alone concept, so remove it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the choice is functionally arbitrary for image generation but control over the package format becomes important if we want to: 1. Include runtime package management functionality in the firmware image 2. Mess about with the packages on the build system With respect to 1 the IPK format and opkg (an ipk package manager) are designed for embedded systems[1] - by contrast to RPMs have heavier dependencies and a greater impact on the size and complexity of the firmware image. Regarding 2, the embedded nature and the need for opkg to work without much fuss leads to a lower configuration barrier by comparison to RPMs. With ipk it becomes possible to reuse the packages built during image preparation for core analysis without needing to generate an SDK: ``` $ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib $ MY_DEBUG_ROOT=tmp/rootfs-debug $ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \ -o $MY_DEBUG_ROOT \ update $ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \ -o $MY_DEBUG_ROOT \ install dbus-sensors dbus-sensors-dbg $ gdb-multiarch (gdb) set solib-absolute-prefix .../tmp/rootfs-debug (gdb) add-auto-load-safe-path .../tmp/rootfs-debug (gdb) file tmp/rootfs-debug/usr/bin/nvmesensor (gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000 Core was generated by `/usr/bin/nvmesensor'. Program terminated with signal SIGABRT, Aborted. pthread_kill.c:45 45 pthread_kill.c: No such file or directory. (gdb) bt pthread_kill.c:45 ../sysdeps/posix/raise.c:26 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 "xyz.openbmc_project.NVMeSensor", this=0x488f04) at /usr/include/sdbusplus/bus.hpp:234 ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159 (gdb) ``` This approach documented in the Poky Reference Manual: https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins Switch all machines to IPK to align the debugging experience with upstream's documentation and to facilitate efficient use of packaged software at runtime. [1] https://openwrt.org/docs/guide-user/additional-software/opkg Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-4/+4
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-17Fix path to udev rules filesAnton Blanchard2-5/+5
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-17meta-quanta: Fix incorrect change in Yocto syntax updateDavid Wang2-4/+4
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE' should stay underscore Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
2021-08-13meta-quanta: Cleanup for Yocto override syntax changeDavid Wang21-77/+77
- Cleanup subtree meta-f0b, meta-olympus-nuvoton, meta-q71l with convert-overrides.py meta-quanta/meta-f0b convert-overrides.py meta-quanta/meta-olympus-nuvoton convert-overrides.py meta-quanta/meta-q71l git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-f0b git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-olympus-nuvoton git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-q71l git grep -l _f0b -- meta-quanta/meta-f0b | xargs sed -i 's/_f0b/:f0b/' git grep -l _olympus-nuvoton -- meta-quanta/meta-olympus-nuvoton | xargs sed -i 's/_olympus-nuvoton/:olympus-nuvoton/' git grep -l _quanta-q71l -- meta-quanta/meta-q71l | xargs sed -i 's/_quanta-q71l/:quanta-q71l/' - Fix up a few by hand - Revert 'BBFILE_PATTERN' and 'LAYERSERIES_COMPAT' - Add honister to 'LAYERSERIES_COMPAT' - Update 'CONF_VERSION' - Fix up 'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK' and 'SYSTEMD_OVERRIDE' in all subtree Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ic431624d09dc5899b1d84439559bea9efca08ad8
2021-07-20treewide: inventory: switch ChassisType to future enum valuePatrick Williams1-1/+1
Change Ie1a7c389edb6b7a048836a49283ceb62de51bba5 will be transitioning the 'Type' property in Inventory.Item.Chassis to an enumeration. In order to avoid crashing in PIM we need these default values in the starting YAML to be fully-qualified enumeration names that will match the values which will start in Ie1a7c. This code is safe to merge as is without any PDI or PIM changes. Prior to the PDI change, we must make a change to PIM that allows conversion automatic from string->enum, leveraging library interfaces available in sdbusplus. These will be submitted independently. I checked the codebase for usage of this string. It appears that the value is currently, effectively, write-only. There is code in bmcweb that fills in the equivalent Redfish value but currently just hard-codes the string 'RackMount'. Tested: Booted Witherspoon in a QEMU model with this change and proposed changes to sdbusplus + PIM. PIM no longer coredumps with the PDI change and yields an expected persistence file: ``` $ pwd /var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system/chassis $ cat xyz.openbmc_project.Inventory.Item.Chassis { "value0": { "cereal_class_version": 2, "Type": 3 } } ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icaf9447f31ccdd945cdf74b3e017682e4aed686f
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+1
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+4
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2020-11-23meta-quanta: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunfell (previous). (From meta-quanta rev: 34f30a0dca7ab63d93d56132f93e96244b02aeff) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I388aa5bf43235718668da109ebdb800e27b856d0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14meta-quanta: olympus-nuvoton: change machine configurationStanley Chu1-1/+1
1. specify uboot dtb 2. remove unsupported image type (From meta-quanta rev: 3d624b165aa52925b7b67506f2489bcf686ed20c) Change-Id: I48c77859213ca37688223e23c04401e4a96619ed Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-11meta-quanta: olympus-nuvoton: add packagegroupStanley Chu2-0/+53
specify the packages for openbmc chassis/fan/flash/system management (From meta-quanta rev: 09e8ff20ac73bf1f62dd6d4765ff4de73f853486) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I4ac45184159175b44a4e10cd60362d6fb800bbfa Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-04meta-quanta: olympus-nuvoton: ipmi sensor: revise sensor valueStanley Chu1-24/+11
The type of sensor value has been changed to double. https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 we should chnage the sensor value type from int64 to double and remove the scale parameter. (From meta-quanta rev: e7db32d0846987bb087d7e0597ec0f3c78d25cf6) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I10d11b376aedf18c881c14b4c9d205f2034f9682 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: iptable: save rules while bmc rebootingTim Lee2-0/+29
The iptable needs to be preserved in order keep the rules. Tested: Verified for Olympus platform (From meta-quanta rev: ae01a4669bc1653ed81998573f25b8dc62a4794b) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ic9b226f21a2526994bdf353701d0ca7b7d053d8a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-30meta-quanta: olympus-nuvoton: network: add mac-address packageTim Lee2-0/+15
1. Set eth1 mac address from bmc fru. 2. This package is using to replace first-boot-set-mac Tested: Verified for Olympus platform (From meta-quanta rev: bb7b7e368e39044dc09831c4da75fbcd320dd99f) Signed-off-by: kwliu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I8a328d8cb365b5652cad10d4c6edbd10b287a603 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-29meta-quanta: olympus-nuvoton: power: update psu inventory over pmbusTim Lee3-0/+97
According to PMBUS spec, there is an Inventory Information we can update to PSU inventory. MFR_ID - Manufacturer MFR_MODEL - Model MFR_SERIAL - SerialNumber IC_DEVICE_ID - PartNumber redfish/v1/Chassis/chassis/Power "PowerSupplies": [{ "@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0", "Manufacturer": "FlexPower", "MemberId": "powersupply0", "Model": "MIS-S-1020", "Name": "powersupply0", "PartNumber": "FPS-213-D0000293-101", "PowerInputWatts": 104.0, "PowerOutputWatts": 61.5, "SerialNumber": "MISPS1839A0A0RW", "Status": { "Health": "OK", "State": "Enabled" }}], Tested: Verified for Olympus platform (From meta-quanta rev: cbb46b95df93a6102ebf18c0bf6105f8f6482451) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2714293957919193b36effdaa2c07cb8e6eabda4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: olympus-nuvoton: add ipmi yaml configStanley Chu6-2/+1627
add configuration yaml files for fru and sensors (From meta-quanta rev: 8327e2c69649eb91175b5e12002e57662411730e) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I0571b349ad77df5d773f8547a0effabddd568dca Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: inventory: add assocationsStanley Chu2-0/+340
(From meta-quanta rev: 46261fab4220f20f98b9768b05395dd6f359c166) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I9deda8f050a0b6fb50ab39076aefc4d2a58d3a88 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: inventory: add inventory-cleanup yamlStanley Chu2-0/+33
create /system/chassis on startup (From meta-quanta rev: 70fb3172257a650ff33c1913cce2d4971a943b59) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I6ca5ca37da9db5400d9f4ce280cf6fed6e59481b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: add busybox settingJoseph Liu2-0/+11
1. Enable devmem and lsusb commands 2. Enable SMP feature (From meta-quanta rev: 0764bd036c4cd35b26176bac4739ddacfc78d66d) Change-Id: I3aefa05a9bc66ea9b1b619112a539ed87270dd19 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: ipmb: modify slave-pathJoseph Liu1-1/+1
Use ipmb driver for ipmb interface. (From meta-quanta rev: a94f058fe04b700defe6b6ba6273c261bf99cb92) Change-Id: I76f9f41f975f2be47bb4b935a58d64a4b91814b0 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Stanley Chu <yschu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: phosphor-led-managerStanley Chu2-0/+38
add configuration yaml (From meta-quanta rev: e7914d758c68b5d2db1630b312b5c7aef799ba82) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: Ia229c5cef6b9da7d48d786446b2fab0594b19cbe Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: add Hotswap Power Cycle ServiceStanley Chu2-0/+35
Add a hotswap power cycle service for oem google sys command, "Delay hard reset". Tested by: Setting 5 secs delay for delay hard reset: ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x03 0x05 0x00 0x00 0x00 79 2b 00 03 (From meta-quanta rev: 5c41384c9da6dbaf8547f58084726960dfac92c7) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I1a9443d1e1adabcc308124aa2e613a37b86bd00c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: ipmi: add kcs devicekfting2-1/+10
1. Olympus host communicates with BMC by KCS1. Tested: Verified on the Olympus platform (From meta-quanta rev: bfb04c47fb8dd3c4e72407f049f7b7b074fd321f) Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: Ic872945b3f244a5166494c599783044983f8d228 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24meta-quanta: olympus-nuvoton: bblayers conf: add meta-google layerJoseph Liu1-0/+2
Introduce meta-google layer to support google ipmi oem command (From meta-quanta rev: e3e73d4a1248513858d630db649a49cee242070b) Change-Id: I39631f1dc75f686293e11c61c8566636424914d1 Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>