summaryrefslogtreecommitdiff
path: root/meta-evb/meta-evb-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2023-03-10meta-evb-aspeed: Add note about passwordsJoel Stanley1-0/+2
Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: If575e370e4ee930a46e85bd9cdebd0b0c80bf35c
2023-03-10meta-evb: fix build warning for meta-evb-aspeedJoel Stanley1-1/+1
Similar to 0823bd2e6b84 ("meta-evb: fix build warning for this layer"), but for the aspeed part of the layer too. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I4b223af17f7770fb784a5bf5a2d2ce9b2f2074d3
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler3-3/+3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-09-30add langdale to compatible layerAndrew Geissler3-3/+3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams2-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams4-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-08-05treewide: Don't duplicate default extrausers configZev Weiss2-8/+0
phosphor-defaults.inc now automatically inherits extrausers and configures the default root/0penBmc account, so individual platforms no longer need to specify either explicitly. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: Ic2b725f0eaadfafef67069449497e57438fa0fba
2022-07-22meta-evb: Fix warningsJoel Stanley2-1/+3
WARNING: Layer evb should set LAYERSERIES_COMPAT_evb in its conf/layer.conf file to list the core layer names it is compatible with. WARNING: Layer evb-aspeed should set LAYERSERIES_COMPAT_evb-aspeed in its conf/layer.conf file to list the core layer names it is compatible with. WARNING: Layer evb-ast2500 should set LAYERSERIES_COMPAT_evb-ast2500 in its conf/layer.conf file to list the core layer names it is compatible with. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I1835b6ed28e4e2d77aadbe6f328001a3ce6e68ce
2022-04-30treewide: remove meta-perlPatrick Williams2-2/+0
The only recipes which use content from meta-perl are openpower machines: ``` meta-openpower/recipes-bsp/pdata/pdata_git.bb: libxml-libxml-perl-native \ meta-yadro/meta-nicole/recipes-phosphor/logging/openpower-esel-parser_git.bb: libxml-libxml-perl-native \ ``` Remove meta-perl from the bblayers of every layer except openpower machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I51f1a8fbfbe879295c64d2339fc115dbd8823681
2022-04-30treewide: remove meta-webserverPatrick Williams1-1/+0
No systems use content from meta-webserver (nginx, apache, etc.), so remove the clutter from our bblayers.conf.samples. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I89ab5ac8c19cd8aa486a2f42d24dcf68688e2408
2022-04-29meta-evb-aspeed: Add information about image optionsJoel Stanley2-2/+14
Now that the obmc-phosphor-image contains the Web UI, make it clear that there are other options when building. In particular, the minimal and 'full' command line builds are useful for testing on an EVB or in Qemu. Change-Id: Ie9df5f1bf0391c5dc34e147ca8bb4a051e333862 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-27meta-evb-aspeed: Declare layer compatibilityJoel Stanley1-0/+2
Avoids this warning: WARNING: Layer evb-ast2500 should set LAYERSERIES_COMPAT_evb-ast2500 in its conf/layer.conf file to list the core layer names it is compatible with. Change-Id: If580b22ff01eec259cd7fd1f0ead90a4b2327418 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-22treewide: drop unused meta-security layerBrad Bishop2-2/+0
This was added with cde0f094f for libseccomp, but shortly after that upstream moved libseccomp from meta-security to core (241c7d2e6). As such, meta-security is no longer used or required. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
2022-04-12treewide: Update BB_DISKMON_DIRS useGeorge Liu2-8/+8
Per [1][2], Yocto is starting to deprecate ABORT and has replaced the "ABORT" action in BB_DISKMON_DIRS entries with "HALT". 1. https://wiki.yoctoproject.org/wiki/Inclusive_language 2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5 Tested: Built obmc-phosphor-image successfully and eliminate the following warnings: ``` WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov2-27/+0
`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>
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery2-2/+2
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>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
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
2021-08-11meta-evb: increment CONF_VERSIONPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2ca490f59630039696f7d1c8086520aa805a7e36
2021-08-11meta-evb: prep for new override syntaxPatrick Williams3-9/+9
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7a755976c2144356314faef7cf1f226ae18dc884
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III2-2/+2
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>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-22openbmc: add meta-security layerAnton D. Kachalov2-0/+8
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-02-20meta-evb-aspeed: add symlinks for machine-conf for setupPatrick Williams2-0/+2
The 'setup' script looks for machine config files being present to know that the meta-layer contains a valid machine for OpenBMC. The aspeed EVBs are split between meta-aspeed for the base support and meta-evb-aspeed for "EVB on Phosphor" support. Add symlinks for the machine config files from meta-aspeed into meta-evb-aspeed so that setup recognizes them as valid machines, but using the phosphor layers. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I673756a3d837f61d7338b8fbb356c5234770ffca
2021-01-13meta-evb-ast2600: Add obmc-phosphor-bsp-common.incTroy Lee1-0/+2
Add obmc-phosphor-bsp-common.inc for building OpenBMC image. Tested build with: TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf . openbmc-env bitbake obmc-phosphor-image (From meta-evb rev: ddba410ebffe7bace588ff6d216c43608f4c5310) Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: Ia005eb875f11fec8ffb3aadd5fff4b93a3028f3a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-13meta-evb-ast2600: Add an new convenience layer for OpenBMC AST2600 EVBTroy Lee5-0/+70
This commit has been verified with AST2600A1 EVB with the image created by the following command: TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf . openbmc-env bitbake obmc-phosphor-image (From meta-evb rev: 9ec0661731103f703660aa65b5806a126a4f69fb) Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: Ie928880ed77ea77cecb33a900092f6ffc5454fb8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-21meta-evb-ast2500: Add obmc-bsp-common.incLei YU1-0/+2
Add obmc-bsp-common.inc so that evb-ast2500 build produces the OpenBMC image. Tested: Verify that the evb-ast2500 builds OK with below commands: TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf . openbmc-env bitbake obmc-phosphor-image (From meta-evb rev: 55bf3f1528d5c90c08c7cfa42e3f1783b4d29d35) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I00b22e5fc9a99296028621abb29f40a44e99fc34 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-evb-aspeed: Remove deprecated evb-ast2500.confLei YU1-9/+0
The config evb-ast2500.conf is replaced by the one in meta-aspeed. Remove it. (From meta-evb rev: 122ac03206645f5bcece5e7aad5d5983c0f26031) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I5372436effe5fa84532d9a17576f3204eadb18b5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley7-0/+82
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>