Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
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>
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
(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>
|
|
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>
|
|
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>
|