Age | Commit message (Collapse) | Author | Files | Lines |
|
This layer has nothing in it. The current direction is for anything
architecture specific to end up in meta-phosphor. Remove this "layer"
so that it doesn't keep getting copied into new machines.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ied03175589840490bcd1eda8c704c73e224ba9a9
|
|
`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
|
|
This machine is unbuildable and has not been updated in the requisite 2
months per https://lore.kernel.org/openbmc/YRUW7cazmCjW8VpP@heinlein/,
so it is being deleted.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ife1d461de356477463d5b15d0d86ce1f998d7569
|
|
Change-Id: Ic8aaa0728a43936cd4c6212d590e01ba8202b25b
Signed-off-by: Habeeb Mohammed <mohammed.habeeb@inventec.com>
|
|
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
|
|
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>
|
|
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 dunsfell (previous).
(From meta-inventec rev: b1bb8dd37ec15e58fd2867724fb278649a6d3826)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia2c8e9334cc6beb473988ae040474f99ada741fd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-inventec rev: 303c45262638c1594278ef3a7ecfd7be2c9c0619)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f02a99788cee7cfe910a16d38179049766434f6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This was a P9 DD1 workaround. These systems are no longer supported and
are not found in the wild, so the workaround has been retired.
All of the p9 systems in the tree exclude the package so this change
should be a noop.
(From meta-inventec rev: d13717c0d564b57ee2d09459861ee1e8b7da62fe)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Change-Id: I6587d12a486d37cb8814431704a5ec6785838268
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
INVENTECBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-inventec rev: 87316ecf8bbbf9471b961ec3b0185888f983237e)
Change-Id: I1f8f24a1eac6966419f9424216ee2a24fc940f6b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Hard-code multi-user.target instead of SYSTEMD_DEFAULT_TARGET.
(From meta-inventec rev: 521a392c707e349dc0533ec02816a8759046d7ec)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id7412279b4d673ded2c9947ea8e7ce354d5d7054
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update meta-inventec to master HEAD.
Patrick Venture (3):
meta-inventec: lanyang: led-manager-config-native: set LICENSE field
meta-inventec: lanyang: avsbus-control: set LICENSE field
meta-inventec: lanyang: ipmi-inventory-map-native: set LICENSE field
Change-Id: Ie1914a7a3fbb69de9f4a6c03392ee2be32b18af3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop symlink and rename bbappend for obmc-libobmc-intf.
(From meta-inventec rev: cdec61e8ce93222bd5f4f68698d273240073d705)
Change-Id: I730e65b19d2e553451602e01f0886e42c2007e0b
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set the wildcard for version for obmc-libobmc-intf_%.bbappend
(From meta-inventec rev: 1f1bc1c45acf8f4448a4f9875a97b4417a4ba78e)
Change-Id: I575c2d88b1edb66a3a385e087321eb59f947b8be
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop symlink and rename bbappend for mboxd.
(From meta-inventec rev: 12ea9774d2b663bb18a0a8bd7f375035099385fc)
Change-Id: I7d315373f0de433da0d45c5ee0643a9df8b96802
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set the wildcard for version for mboxd_%.bbappend
(From meta-inventec rev: ec386440cf51cf8d3808ef503a43663f72683e5e)
Change-Id: Ic1e57d6837821fe6b06c70edb0bae9bca33cd90e
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename phosphor-ipmi-fru%.bbappend to phosphor-ipmi-fru_%.bbappend
(From meta-inventec rev: b4f00bcad4a0f8455081348c215d928187d1d0fc)
Change-Id: Ib6e6bcfd1c90254a922e853c9cfcbb51ae9f6153
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
lanyang-config.bb inherits config-in-skeleton, which is git-based.
(From meta-inventec rev: f6d0fed43f96e3980f175b77c099c7c1897fe130)
Change-Id: I8ef9cbb262c84849433f7ac9809ee2253a441ba4
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Define a variable that recipes can use for finding the root
of the inventec layer. Typically this is used to refer to the
layer LICENSE for recipes that don't have any source repository.
(From meta-inventec rev: 169daaa946cd053ddb7cc5514fb178497cd9cb30)
Change-Id: If785f8eb05d56cc9653d5924c0c4512cf681d1cd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
meta-inventec did not have licensing information documented. Add it.
(From meta-inventec rev: 2abbab9afa070117bcb8fd78b3fe91500ebfd68b)
Change-Id: Ie8310126a828721d72bd59ba24f34c30954825f6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
(From meta-inventec rev: 7d273477f3e2510a1607ebd29b61f98eb5005be0)
Change-Id: I2aa40a05f2af83011b3091d440aeff1d61b0c657
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
9d47808f7e1 erroneously introduced some new files in a meta-inventec
subdirectory. Move the files to the correct location.
This can likely be blamed on the recent move to poky-style subtrees
as 9d47808f7e1 was originally submitted to the old, pre-subtree openbmc
project repository.
(From meta-inventec rev: 175ad32bef1bc0664bc815020b8827cb849ad545)
Change-Id: If4a2ff56bfda9d92772916314cad7dbe828fb9c7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
These GPIOs are used by the code in the skeleton repo.
(From meta-inventec rev: 6abf0600f408fc66d182e829c60a3ea807e49ffa)
Change-Id: Ia0e3b5ddf720163b039c0b5d70f23b83833e4d93
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add CPU, DIMM and Motherboard inventory for Lanyang machine
Tested: Built the IPMI recipe then read the information of the CPU,
DIMM and Motherboard's inventory after power on.
(From meta-inventec rev: 9d47808f7e1a582a7001b11bb9419742b17d4a1c)
Change-Id: I0b550daa15bc9ab73948075e7cc1ac172612e88f
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The new subtree model brings the subtrees up from the openbmc-machines
layer.
Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|