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: Ie0d34a9c3146c60c5543e00a48f33aeb56ab419d
|
|
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).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3b5ef37d96be06be175e35ad689546bf8d584601
|
|
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379
for details about why this is necessary.
(From meta-hxt rev: 3388477fdf8a01db23cfbef18151abbc39aed31f)
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I8296f052f7c4d3e65b12cf99d01343cd06ab76ad
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
HXTBASE 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-hxt rev: 9a75e608b2bba938d1e25e8d752dc50cab17aebf)
Change-Id: I6b6a0943ecb467a1ab5c205d43d9295f5deee62c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add the maintainer and reviewer:
M: Yuan Yao <yao.yuan@hxt-semitech.com> <yyaocs!>
M: Brad Bishop <bradleyb@fuzziesquirrel.com> <radsquirrel!>
R: Patrick Venture <venture@google.com> <venture!>
(From meta-hxt rev: 169c6d7057c3f9ea969a98e3e37c954d8f95ef97)
Change-Id: Ief5633c76d8be67be0975844ca38b7d736f9122e
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
A number of corequisites exist so squashing these all into one patch.
meta-ingrasys - refresh master bc513127f4..67bcaf389f
meta-hxt - refresh master 86a4df514f..8fe0d38bbb
meta-phosphor - refresh master 06c09d7cce..df6ddae3d2
meta-quanta - refresh master 4f126361a1..53f3025271
Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
In the 5.0 Linux kernel, an I2C device path segment changed:
i2c@1e78a000 -> bus@1e78a000
(From meta-hxt rev: 86a4df514f987318cf26884432746d899c8ad5a3)
Tested: Verified paths visually, but not tested on hardware.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5b5f694977c5d2e68eec1371e2fdc795e21fad10
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
HXT stardragon4800 is an ARMv8-compatible 48-core processor chip.
The REP2 is a reference design board for stardragon4800.
BMC will handle the sensors,devices by I2C,SPI, include:
IR38163, PXM1310, NVT210, TMP421, ADM1278, PCA9641 and so on.
(From meta-hxt rev: 7f93ff421703876e060efd1f25d6dec5c899ed05)
Change-Id: Ida87db042c52d7b3dc365525eec0dfebc9d19041
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
(From meta-hxt rev: 983f81795dcfb10acd7a9a138206476a0a3a1bb0)
Change-Id: I745e731c32cfaf3c8e367a56b596dc2e6140a01f
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a simple script to help update the soc(host) firmware by flashcp.
Usage:
Format: socupdate.sh FileName IP
Example: socupdate.sh 0ACJAXXX.ROM 192.168.1.1
(From meta-hxt rev: 5679e42877a21303207011a2f8ec3e643b5e76b2)
Change-Id: I44da894bdbe048c7a79ec30bedd006918e1ae2d2
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Set LICENSE field explicitly.
(From meta-hxt rev: de676c5b542da4421585a322d9896427f359537e)
Change-Id: Ib8ed775d06f4318fee343c5575c0ffd914143042
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 hxt layer. Typically this is used to refer to the
layer LICENSE for recipes that don't have any source repository.
(From meta-hxt rev: c34493bfc333267434988f984120dc6e6ca63d6f)
Change-Id: I278e5a37d928d2296cd2588201d05bacb7cc5a4a
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Initial a new platfom for ARM system
(From meta-hxt rev: a74be8cd66acd132d82daf45b6e92c89578c98b0)
Change-Id: Iee29816c86457ac2e07a55184fe7cc1aeb1ba216
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|