summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-olympus-nuvoton/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
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-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 Wang11-47/+47
- 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-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
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-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: 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: 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: settings: enable sol by defaultkfting2-0/+13
Enable SOL by default on Olympus Tested: Verified on the Olympus platform (From meta-quanta rev: f8be3623e9c9e1b179fb7cc966b8e5cf7fda87d7) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: kfting <kfting@nuvoton.com> Change-Id: I72f3d2c56c92abbea7847218b08128ab2fd76e16 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: olympus-nuvoton: console: add udev supportJoseph Liu3-8/+11
Listing tty mapped to UART2 Tested: Verified for Olympus platform with ttyS2 (From meta-quanta rev: 7ce165698a6b60452c4d6cf2ac3079fdd2eb290a) Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Change-Id: I1c314f83e2abfc911d32e62cb081aff558ee734c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-11meta-quanta: olympus-nuvoton: IPMI net deafult bindingSamuel Jiang1-0/+1
The IPMI network out-of-band listen will bind eth1 network channel. (From meta-quanta rev: a79eac1c5fa32c3a2536373be3bdf6870430c1f7) Change-Id: Ie54afeec351ce388ff27a8e2a3feb5a1856203ad Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-quanta: meta-olympus-nuvoton: binding ipmi fru to deviceSamuel Jiang3-0/+26
The olympus nuvoton have runbmc nuvoton module and olympus motherboard FRU informations. The phosphor-ipmi-fru package binds related informations. (From meta-quanta rev: 6375cb97e6e70553df918b04bf9f7f4419e44678) Change-Id: Iaa8db9ad2336f1752e5f0722ffd426bdec2d9f81 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-11meta-quanta: olympus-nuvoton: binding KCS to specify deviceSamuel Jiang1-0/+2
The Olympus-nuvoton commuicated with BIOS use KCS channel 1 Setting obmc-host-ipmi-hw use kcs protocol binding KCS1 device in Olympus-nuvoton (From meta-quanta rev: 1d11afbf135af12fbb7dd489ed529df7f3a08e31) Change-Id: If4701303bb2d3ddc6259ba49d905f7a6621b8812 Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-20meta-quanta: olympus-nuvoton: sensors: Add hwmon config filesYSChu23-0/+466
Including temperature, current, adc voltage, and fan-tech sensors (From meta-quanta rev: 3e6c6bf6067915f59f4b2551ffdfb8640612f192) Change-Id: I034970d082ccfd84f830a107cf5f18f834310ba4 Signed-off-by: YSChu <yschu@nuvoton.com> Signed-off-by: Joseph Liu <kwliu@nuvoton.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18meta-quanta: meta-runbmc-nuvoton: rename meta-olympus-nuvotonSamuel Jiang9-0/+492
For avoid confusing this layer only with RUNBMC module (https://www.opencompute.org/documents/ocp-runbmc-daughterboard-card- design-specification-v1-4-1-pdf) The meta-runbmc-nuvoton will rename meta-olympus-nuvoton. That means the Quanta Olympus product with RUNBMC module which based on Nuvoton SoC. The layer configuration will binding Olympus product hardware design. (From meta-quanta rev: f4a8e7ae48dc788fa7e52f024578c67f164c8620) Change-Id: I6faa1bfbb3b8f033239fea3c41e8b8ed18fc492d Signed-off-by: Samuel Jiang <Samuel.Jiang@quantatw.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>