Age | Commit message (Collapse) | Author | Files | Lines |
|
`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>
|
|
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>
|
|
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
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE'
should stay underscore
Signed-off-by: David Wang <davidwang@quantatw.com>
Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
|
|
- 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
|
|
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
|
|
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>
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
(From meta-quanta rev: 46261fab4220f20f98b9768b05395dd6f359c166)
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Change-Id: I9deda8f050a0b6fb50ab39076aefc4d2a58d3a88
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
(From meta-quanta rev: 686363b1a1ec8d0320ae6ebb0b3b1e358bb8ea53)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: I65a734a3e1ad5b43179553ba6e81bc1c6676893c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Enable Linux LED support, this allows control of supported LEDs
from both userspace and optionally.
(From meta-quanta rev: da09ffd483adad0ca1ed97fef553938d6f738ebf)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: Ib0c7b2777ec98ae15bc3ff68554085bbb0d00655
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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>
|
|
These image generation XML files will come from the npcm7xx-igps recipe
instead.
(From meta-quanta rev: 902c46d575fc89967bb03cf304ad2ed1e847ae41)
Change-Id: Iaddd02ad6dfcc32405e39a40963507fe9d4df724
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This variable determines which XML image configuration files will be
used from npcm7xx-igps.
(From meta-quanta rev: 5d54cbf770d5701f0973fcfb8b49ed751532ddd0)
Change-Id: Ic269c8d44e1ea5a0d323ac66e419002307c19051
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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>
|