summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-nicole
AgeCommit message (Collapse)AuthorFilesLines
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-13/+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-11-01meta-nicole: admin-account: Move to local.confAlexander Filippov3-39/+6
This refixes of 905072f5c1d2f1e2bd99fb3346ee2978428b992b commit as pure build without sstate-cache is still broken. This commit moves the admin account creation from the standalone package to the bitbake config file. Change-Id: I6d4cfe41b1e6e2f5e707f4e942a8e4df93277e93 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-09-16treewide: fix comments for rpm/ipkPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
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-09-16meta-nicole: admin-account: Fix build as IPKAlexander Filippov1-3/+5
Switching to IPK usage breaks the building of this package. During the installation there are no required groups. This commit fixes the issue. Change-Id: Ibe80f3bf80e851005f637e47ca669e47035dba6d Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams3-4/+4
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
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-23meta-yadro: Yocto override syntax changeAndrei Kartashev29-80/+123
Convert with convert-overrides.py Sync local.conf.sample with: - poky/meta-poky/conf/local.conf.sample - meta-facebook/meta-tiogapass/conf/local.conf.sample Additional manual changes (not found by convert-overrides.py) in - meta-yadro/meta-nicole/recipes-kernel/linux/linux-aspeed_%.bbappend - meta-yadro/meta-nicole/recipes-phosphor/images/obmc-phosphor-image.bbappend - meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend Tested: image compiles. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I959669bad43ce09c0817b2a002e6db546fb98f7f
2021-07-21meta-nicole: settings: fix mailbox overrideAlexander Filippov1-1/+22
This commit fixes build by correcting default value of mailbox settings. Change-Id: I5df137ca7dc8f8008d49a0cd010c14691dc6754b Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-07-21meta-nicole: native class is not inherited lastAlexander Filippov4-4/+4
Moved "inherit native" statements to the last position to remove QA Issues. The message is: WARNING: QA Issue: {RECIPENAME}: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: {CLASSFILES} [native-last] Change-Id: Ib6d8f41c437ca62a8d4a9885ff670adb5ad69f8a Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-2/+1
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-05-19meta-yadro: nicole: Remove autotools specific configWilliam A. Kennington III1-1/+1
We want to use packageconfig options instead of build system specific ones. Change-Id: I13002f3d1f62acb882ca713b038316397720bda0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
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-26ledmanager: Remove phosphor-led-manager-ledmanager packageVishwanatha Subbanna1-1/+1
phosphor-led-manager has 3 packages - phosphor-led-manager : Default - phosphor-led-manager-ledmanager : Packages phosphor-ledmanager - phosphor-ledmanager-faultmonitor : Packages phosphor-fru-fault-monitor Because of this, it was not possible to install files via Makefile and that always needed a corresponding update to FILES_{PN}-ledmanager. Removing phosphor-led-manager-ledmanager will eliminate this problem. Change-Id: I00ca4c34346a47f887872464b9050a46d8f5e8e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2021-03-23nicole: phosphor-hwmon: Add VBAT thresholdsAlexander Filippov1-0/+4
This brings the thresholds for the VBAT sensor. End-User-Impact: The VBAT sensor will now have thresholds. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I7a8fb0194900cb6f39ab09b6c3ad9f1ff65d23ee
2021-03-23nicole: phosphor-ipmi-host: add vbat sensorAlexander Filippov1-0/+21
This brings the VBAT sensor to the sensor's list shown by the `ipmitool sensor` command. End-User-Impact: The `ipmitool sensor` command will now contain the VBAT sensor. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I6465a2d6386bf6cd271763de678cae1ee086d6ee
2021-03-23Revert "meta-nicole: phosphor-hwmon: Fix VBAT gain"Alexander Filippov1-1/+1
This reverts commit 12f7c29b5365fc3d40665b4326b2f2c8c559ce67. The GAIN was too small due the bug in the phosphor-hwmon. It is no longer required as the bug has already fixed. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I54f565f777e4c0edb7368f70c999b08ce9c05b98
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+2
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-02-03openpower-esel-parser: srcrev bump 8d25ae..5bf636Alexander Filippov1-1/+1
Alexander Filippov (1) Fix build with OpenBMC 2.10.0-dev Change-Id: Iee1968deb5c72c3559cbf629742af03bf29bfae2 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2020-11-21meta-yadro: update Yocto compat for gatesgarthPatrick Williams1-1/+1
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-yadro rev: a5126fbe78b18fbe1e52356fb7500cf528e74a65) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f89933f2d3892323400e7acad213a2a1e0c09eb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-17obmc-yadro-cli: bump version 1b0347f2..9457a085Alexander Filippov2-6/+10
Alexander Filippov (2): vegman: sensors: use lssensors bmc/datetime: add time synchronization method This also adds some used tools as runtime dependency. (From meta-yadro rev: e884b08867fed7ba959ae86f4ff676ff94262062) Change-Id: Ifc702728ab05346ed44d4e33bdb986692cc28afe Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-09meta-nicole: Configure admin accountArtem Senichev1-3/+1
Disables setting the primary group for admin account and removes its memberships from group 'operator' and 'user'. Sudo membership is not necessary anymore. Made for compatibility with User Management service. (From meta-yadro rev: 8435f349732c6a2460aa1b05f74cb65717c120b3) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ib4a7b94c352a15e8ad5487ed3cdefb35d976d0fb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: bmcweb: Disable mutual TSL authAlexander Filippov1-0/+3
The `bmcweb` by default has enabled the mutual TSL authentication support. But this feature requires the `phosphor-nslcd-authority-cert-config` installed. This package was removed with LDAP support and as a result the `bmcweb` is crashing now. Nicole does not require LDAP and TLS auth. This commit disables the TLS auth in the `bmcweb` and fixes the issue. (From meta-yadro rev: 98c4bccc9c649da1bbdba41253e0de667f9bc0a0) Change-Id: Ica0f5443dc79174d58a57a105595e8b6fbae1ff3 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: phosphor-hwmon: Fix VBAT gainAlexander Filippov1-1/+1
VBAT is measured in millivolts but should be shown in volts. This commit fixes the gain parameter. (From meta-yadro rev: 8b9a6e68150bb92990314743ba7b95166cf9d409) Change-Id: I508948907b5ffc8845bf1ce04c8a811f4632171f End-User-Impact: VBAT will now show in Volts. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-02meta-nicole: phosphor-ipmi-host: Fix sensorsAlexander Filippov1-4/+4
Since the commit 022da0dd the value type of sensors was changed from `int64_t` with scale to `double`. This brings the same replacement for `phosphor-ipmi-host`. (From meta-yadro rev: fe84801b413deef4185337a117098f62fca4dbc6) Change-Id: I3de00a101a0633658292131c5d255080ab24f64c End-User-Impact: `ipmitool sensor` will now show actual sensor's values. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-30meta-nicole: ipmi-config: Remove AUX fieldAlexander Amelkin1-2/+1
Remove the `aux` field from `dev_id.json` in order to enable parsing of the AUX info from the version string. (From meta-yadro rev: 10a64bde2de34a34bcd015bfb1f8d4183f51321f) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: I74fd12967b19d900f3cdffcd5163242a13efde0f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23nicole: Remove obsolete vlan-4004 package.Alexander Filippov7-93/+0
The functionality of this package was added as a part of `systemd-conf` package. This package is no longer required. (From meta-yadro rev: e5fb11c84f7455acff17efb79373e954afef1780) Change-Id: Iee5368e0bcc60ccdb745323937ec5506ce3c1c4d Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23nicole: Add predefined network settingsAlexander Filippov7-2/+70
This brings the default network settings for Tatlin as a part of `systemd-conf` package. These settings contain a predefined IPv4 address for eth0 interface, keep the possibility of getting an additional IP address from DHCP. VALN4004 with predefined IPv6 address is also kept. (From meta-yadro rev: 56e7efa11a0b281f39d160cd99c84b7a95632205) Change-Id: Ibb025a1ae519f0843bfcb8ec71e009e2bc97141f End-User-Impact: - BMC now has predefined IPv4 address on the eth0. - VLAN4004 also present and has predefined IPv6 address - BMC is able to get a dynamic IP address on eth0. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23meta-nicole: phosphor-ipmi-config: Fix product IDAlexander Amelkin1-1/+1
Use TATLIN Storage Controller BMC product ID End-user-impact: The BMC is now properly identified via IPMI using the Get Device ID command. Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Change-Id: I51d2da6c844effa6478df87dd55609a976f48abd (From meta-yadro rev: 59d7d9823b9e77b81f24d93cc5fb5b7e6e2e5187) Change-Id: I70f17380aa3f87c3670cae2dbd1e5cb2980f7dde Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-09meta-nicole: Add the channel configuration fileKirill Pakhomov1-0/+178
Added the channel configuration file for the NICOLE hardware. (From meta-yadro rev: 47e0014171e94b3a9188473f0e81a69ffe67e4d0) Signed-off-by: Kirill Pakhomov <k.pakhomov@yadro.com> Change-Id: Ie95c491a41086e7e7461ebc0098cff90d120646a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-20meta-nicole: opt out of obmc-user-mgmt-ldapBrad Bishop2-2/+1
Upstream is in the process of reworking how ldap user management is included (or not) - moving from a distro feature to an image feature. Opt out from the new image feature to avoid picking up the ldap user management packages when upstream makes the switch. There is no longer any need to remove ldap from DISTRO_FEATURES, so remove that. (From meta-yadro rev: 8675f543d73843d5d4fe185134d8edc72ef22246) Change-Id: I5071152dfa9c2d71286d76d72d10a4e4569eea2d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14meta-nicole: Remove local copy of DTSAlexander Filippov2-335/+0
DTS for Nicole present in the kernel source since 5.7. This commit removes the local copy of DTS from yocto. (From meta-yadro rev: 9b2cfd0597cb1c3aa8b451e94712b7a0e383a184) Change-Id: Iaaf90287ce5ddcfedc883936b36fdf102356f049 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-05obmc-yadro-cli: srcrev bump 406688be90..5408881b37Artem Senichev1-31/+0
Artem Senichev (3): sel: Show event list by default user: Using primary group as role nmi: Use D-Bus instead of direct pdbg call (From meta-yadro rev: 3434293378d7ce0ac9d0db440ec5dabc6b016fb6) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ic78d82a344c94e207cd9b80cbae1cbaf730a4025 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-05meta-nicole: Disable group restriction for SSHArtem Senichev2-0/+2
By default, OpenBMC allows SSH connection only for members of priv-admin group. This patch removes this restriction. (From meta-yadro rev: 840348016139393f61482ee95f2dcb07187d589b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I9bf5c2950a25715ad814b1d4247a882359a26249 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-nicole: Fix SRESET over NMI callArtem Senichev2-0/+62
Current implementation by IBM supports only witherspoon platform. This patch makes it possible to use a D-Bus call for initiating kernel crash (System Reset vector) on the Nicole host system. (From meta-yadro rev: 5f76189ed4eb64e20191fe460f00f803b37ed88c) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I8ef5ecfd209860500f8303a594636a1cff1298a3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-nicole: disable time synchronizationAlexander Filippov2-1/+9
The time synchronization is not required by default on Nicole. It will be done by the host. (From meta-yadro rev: cca25e974f7b7d6c5f4b1e19b6fdab503649c763) Change-Id: I2478ac2dd528462024e93dc791b6564385f1a1ff Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-yadro: share boot initiator mailbox supportIvan Mikhaylov5-653/+0
Boot Initiator Mailbox should be available on all our hardware. This commit moves all required files and recipes to the meta-yadro. (From meta-yadro rev: 9ee3c28294c6a87912edbcf09b999b926634f836) Change-Id: Idc52bfb50c8f122662279a593de0ee40703ddb51 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-ipmi-host: Add support for boot initiator mailboxIvan Mikhaylov2-0/+478
Add handlers to process the chassis system option 7 (boot initiator mailbox). The format of mailbox is specific to the machine/bootloader. This commit only adds generic handlers to process getting and setting of the mailbox data regardless of the content. Only the IANA Enterprise number is checked in the data block 0. Also checked are the data boundaries. It is expected that a machine-specific override for phosphor-settingsd sets the supported state and the IANA number according to the used bootloader. (From meta-yadro rev: ef10645f38d431598fe0a2bce98cb656354df01e) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I819e2f8ef9d7ddfbadacc5d5bcb6c4fbf98271a0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-ipmi-host: Add support for persistent-only settingsIvan Mikhaylov2-0/+97
Some settings such as Boot Initiator Mailbox do not support one-time setting mode (as per IPMI 2.0 specification). This commit adds support for such persistent-only settings. (From meta-yadro rev: 10458e3a5362815e0f4dc45a103cbdda3165b856) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I44a00b9c19e12e2165a311f6b2867509ee911c80 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-settingsd: Add boot mailbox interfaceIvan Mikhaylov2-0/+18
Add defaults for Control/Boot/Mailbox interface so that phosphor-settingsd could implement and handle it. (From meta-yadro rev: 548286c74a67e8043679be69a47f00325947a327) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I24e302fdcce21de7e570e4edc592dd97bf4a8df6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-06meta-nicole: phosphor-dbus-interfaces: Add boot initiator mailbox interfaceIvan Mikhaylov2-0/+78
Add the xyz.openbmc_project.Control.Boot.Mailbox interface to allow for provision of the boot initiator (such as Petitboot or UEFI) with its specific parameters. This is based on IPMI 2.0 Table 28-14 'Boot Option Parameters' parameter 7 'Boot initiator mailbox'. (From meta-yadro rev: 8a37d4554c77f6b3b93fea17eae46b0124b42d28) Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Change-Id: I231b8658d47d331d0af665b8ccb86da5ea8b2845 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03meta-nicole: Add console tool for backup/restoreArtem Senichev1-0/+1
This tool can be used by an end user to backup and restore OpenBMC configuration files. (From meta-yadro rev: 558449cc14a7437a8d45efbe05fca142e789c21f) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I2aaa209177122a9ee69d4a7d1421f34cd7d986c6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-03meta-nicole: phosphor-network: use sync mac optionAlexander Filippov4-2/+14
The phosphor-network now has the sync-mac feature. It does the same thing as the first-boot-set-mac without any additional services. This commit enables this new feature in phosphor-network and removes obsolete first-boot-set-mac service. (From meta-yadro rev: fea7a8d7a57accd658aa60248cb203afc735c73b) Change-Id: I31e530850b2550de70f72091c683153ecb6968a7 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26meta-nicole: Add console tool for managing networkArtem Senichev1-0/+1
This tool can be used by an end user for managing OpenBMC network configuration. (From meta-yadro rev: e5c4bc9cda0ffc2aa4a72dd5fef99573d91d968b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Ic2647434f0ad675037f12c97adc5526948612ecf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26meta-nicole: Add console tool for print inventoryArtem Senichev1-2/+3
This tool can be used by an end user to print OpenBMC inventory list. (From meta-yadro rev: d8533edaabad01bfc353a7fe1ca44077ac79512d) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I801ed25fe94cbdf87d509b5f1eb6ff25d4fc2c7e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-26nicole: Add default network configs for TatlinAlexander Filippov8-0/+94
This adds VLAN4004 configuration to the nicole firmware image. The IPv6 address will be chosen depending on the BMC position. During the firmware upgrade the stored previous version of `/etc/systemd/network/00-bmc-eth0.network` may prevent to start new VLAN4004 interface. This commit also adds a service which should fix this issue on the first boot time after upgrade by adding necessary option to the interface configuration file if it is not present yet. Tested: BMC now has additional `eth0.4004` interface use static IPv6 address and this address depend on BMC position. (From meta-yadro rev: 83aa32ac997e6dc66cc5e2041a0a3cb723e950d9) Change-Id: I5fc6663ddee67aafcfa9f2004083d8a4a528950f Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16meta-nicole: phosphor-ipmi-config: Set device idAlexander Filippov4-0/+46
This adds a dev_id.json with Nicole specific values and a systemd unit which changes at the boot time the device ID in the dev_id.json to the actual BMC position. Tested: `ipmitool mc info` now shows the actual BMC position in the Device ID field. (From meta-yadro rev: 8dcdb1ef8661b2f5624d75787bd4bcc4da8301d7) Change-Id: Ia819ef4154ffe368ca9684662c248295060e0597 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-10meta-nicole: remove LDAP supportAlexander Filippov1-0/+2
Nicole does not require the LDAP support as the end users will never get direct access to it. This completely removes the LDAP support from the Nicole's build. (From meta-yadro rev: f8f482d64a990e20b55a4d5547e53cd7fccd6278) Change-Id: I19dbae120373794a9579ad84e39fa62e05737bc9 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-05meta-nicole: u-boot: add bmc position supportAlexander Filippov4-61/+660
This brings: - GPIO support in u-boot - BMC position is determined by the GPIOE1 and stored as a boot argument. (From meta-yadro rev: 1b68cd934fe58ce3c33b272b45497d2a1b4e35e6) Change-Id: Ieaf5bda2267b533327618330760431e66224092a End-User-Impact: In the u-boot shell now available `gpio` command Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>