summaryrefslogtreecommitdiff
path: root/meta-yadro/meta-vegman
AgeCommit message (Collapse)AuthorFilesLines
2023-10-11treewide: clean up webui selectionPatrick Williams1-1/+0
The webui-vue package is now enabled by default. Clean up all the meta layers to clean up the explicit enablement. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
2023-09-26linux-aspeed: Move to Linux v6.5Joel Stanley2-2/+2
This moves the OpenBMC kernel to a v6.5 base for ASPEED. The 6.5 kernel moved all 32-bit ARM device trees, so our BMC device tress are now under an 'aspeed' subdirectory. This change means systems must describe the KERNEL_DEVICETREE with the aspeed directory prefix. There are 78 patches in the tree, with 40 of those patches not yet queued for merging in v6.6. The remaining out of tree patches include: Andrew Jeffery (6): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface Cédric Le Goater (1): /dev/mem: add a devmem kernel parameter to activate the device Eddie James (16): ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl soc: aspeed: xdma: Add trace events i2c: core: Add mux root adapter operations iio: si7020: Lock root adapter to wait for reset eeprom: ee1004: Enable devices on multiple busses dt-bindings: trivial-devices: Add Atmel AT30TSE004A serial eeprom eeprom: ee1004: Add OF matching support leds: pca955x: Refactor with helper functions and renaming leds: pca955x: Use pointers to driver data rather than I2C client leds: pca955x: Optimize probe led selection leds: pca955x: Add HW blink support leds: Ensure hardware blinking turns off when requested Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (14): net: ftgmac100: Ensure tx descriptor updates are visible ARM: aspeed: Add debugfs directory ARM: soc: aspeed: Add secure boot controller support dt-bindings: trivial-devices: Remove Infineon SLB9673 TPM ARM: dts: nuvoton: npmc750-evb: Add default console tpm: tis-i2c: Add more compatible strings leds: pca955x: Revert "Remove the unused function pca95xx_num_led_regs()" arm64: configs: Add Nuvoton NPCM defconfig ARM: configs: aspeed: Add new FSI drivers ARM: config: aspeed_g5: Enable SSIF BMC driver ARM: config: aspeed: Remove FIRMWARE_MEMMAP ARM: config: aspeed: Add Ampere SMPro drivers ARM: config: Add openbmc defconfig ARM: config: openbmc: Add HPE GPX and Nuvoton 7xx Johannes Holland (1): dt-bindings: tpm: Add schema for TIS I2C devices Potin Lai (1): mtd: spi-nor: winbond: Add support for w25q01jvq Change-Id: Ib97af192391af6e71c96fe14e12cfc88c23d7a7d Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-05-12Revert "Add socket-id for the first console"Andrew Jeffery1-1/+0
This reverts commit ec7cab9378f548e94ee4af83946b2583d1fc7194. ec7cab9378f5 ("Add socket-id for the first console") was only a partial fixup of the obmc-console configurations found in the tree. For historical reasons not all platforms that support multiple consoles install a client configuration file for all consoles. Instead they relied on some default behaviour that was removed in obmc-console's 4e7186918599 ("Fixed broken dbus interface for multiple consoles"). Applying the configuration changes in the manner of ec7cab9378f5 ("Add socket-id for the first console") resulted in an asymmetric configuration between the client and server, breaking some SSH SOL instances. As of ae2460d0b8e8 ("obmc-console: Provide a default value for `console-id`.") in obmc-console the requirement to specify `socket-id`[^1] is lifted. Instead, the configuration can choose to override a default value. This restores the original behaviour and unbreaks SSH SOL. [^1]: Now an alias of the `console-id` configuration key Websocket and IPMI consoles remain broken. A fix is under development that also takes a proper approach to supporting multiple consoles in bmcweb, and the same solution pattern can be applied in ipmid. More discussion of the problems involved can be found here: https://amboar.github.io/notes/2023/05/08/happenings-in-obmc-console.html Change-Id: I274284c791758f336da6d6301dc523bac2b5dd69 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-04-21Add socket-id for the first consoleNinad Palsule1-0/+1
This drop adds socket-id for first console. This was left out before but with the new design this parameter is required and enforced by obmc-console code. It is decided to set "socket-id = console0" initially because that is the current path used by bmcweb but in future you can change this value to whatever is appropriate. The console information is now available through the DBUS interface. Each console server register it's object path on DBUS. The leaf node of the object path is used to create a console path. For example in the following console0 the leaf node "console0" is used to make up the console path and the GUI will use console path "/console/console0" to connect to the console. busctl tree xyz.openbmc_project.Console.console0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/console0 Here is a discord thread where new design was discussed. https://discord.com/channels/775381525260664832/1083551792094249051 Tested: Tested on the rainier system. Related commits: 1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486 2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496 3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525 Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
2023-03-27treewide: switch '/usr/share' to datadirPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8ea79d284356629f5b7b24ad3a99336e9e2e297e
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-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 Williams2-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-15dbus-sensors: change build option of Intel cpu sensorAndrew Geissler1-1/+1
The build option of Intel cpu sensor service in dbus-sensors repository is changed from "cpusensor" to "intelcpusensor". Update the build option in openbmc source to match with that change. dbus-sensors: srcrev bump 0fe0229497..255da6b419 Thu Nguyen (1): cpusensor: Change cpusensor to intelcpusensor Tested: 1. No build errors. Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Ib31f7ce3dd7d5ed1bb226eb991459ec0bf233973 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2022-08-05treewide: Don't duplicate default extrausers configZev Weiss1-2/+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-06-29meta-yadro: vegman: add sensors to kernel configAndrei Kartashev1-0/+9
This enables drivers for some I2C devices used on different VEGMAN boards. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I46306c570d1e759f520d6d59eefc6bac8f451059
2022-06-29meta-yadro: vegman: fix setting default hostnameAndrei Kartashev1-1/+1
There was a leftover in the script, clean it up. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: Ie6eb88957260540d5f1654796d77140f58472732
2022-06-23meta-yadro: vegman: fix ipmi-host append fileAndrei Kartashev1-2/+2
phosphor-ipmi-host was recently converted from autotools to meson, but we miss the moment. Update recipe according new build flags. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I061f3093f9fe482328e4499c80d74b1a7112e019
2022-06-22meta-yadro: vegman: add CLI tools to the imageAndrei Kartashev1-0/+4
Add CLI user shell as well as lssensors, lsinventory and netconfig tools to the image. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I10f7683e15ab067e373cbed140eda669c2f185bd
2022-06-22meta-yadro: vegman: ipmi: enable hybrid-sensorsAndrei Kartashev3-0/+48
The phosphor-ipmi-host has two implemetations of SDR: static and dynamic. Static SDR implementation requires us to set all coefs manually for all sensors in the system, while dynamic implementation doesn't support discrete sensors. Enable support for mixed mode where both static and dynamic implementations work at the same time. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I27df9e083f0bd816b9a02515e75a3dea69ea20bb
2022-06-20meta-yadro: vegman: fix phosphor-watchdog configurationAndrei Kartashev5-0/+85
This brings a set of the unit-files to make `phosphor-watchdog` working properly. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Change-Id: I9763bf7e87753bfd2b9c7c05295dddd18e6f6c48
2022-06-17meta-yadro: vegman: add smbios parser to the imageAndrei Kartashev2-0/+2
Add smbios-mdr daemon to the image. This only parse smbios image binary which should be delivered to BMC filesystem using some other software (via IPMI in our case). Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I3a18879630ccbe517030b6f803a6ae5fe42dceac
2022-06-17meta-yadro: vegman: add IPMI configurationAndrei Kartashev8-0/+224
Setup ipmi stack for Yadro VEGMAN machines. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I13f5e51dd5b7ac169a71ee046ad61dbfa2bffe9b
2022-06-17meta-yadro: vegman: add EntityManager and dbus-sensorsAndrei Kartashev5-0/+24
This brings EntityManager sevice to the image. This also brings dbus-sensors daemons to provide sensors based on EM configuration. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I4d41f3b8bc98e8859cbfe33a220e79e78e8bbee5
2022-05-24meta-yadro: vegman: add MACHINE_FEATURESAndrei Kartashev1-0/+19
Add main machine features for VEGMAN: power manager, entity manager, ipmi and so on. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I8a8fb30b03329eeaadc56ec7031d2704861f85ee
2022-05-24meta-yadro: vegman: add default FRU handlerAndrei Kartashev4-0/+221
default-fru-vegman recipe provides script to apply hardware configuration on first boot based on FRU EEPROM content. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I7a17c519259e4bb56a2a00900894ffdbd4edd2f6
2022-05-19meta-yadro: vegman: setup obmc-consoleAndrei Kartashev4-0/+69
Add obmc-console configuration for Yadro VEGMAN machines Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I392a6621f1588833d3aaf6187bc277ea661d416f
2022-05-17meta-yadro: vegman: led-manager configurationAndrei Kartashev6-0/+246
This brings LEDs description for phosphor-led-manager. This configuration only describes LED groups. Real LED control will be introduced in later commits with phosphor-dbus-monitor configuration once we set other required components. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I74b9f86b9d2c43d8b4f5728f330fe06b19b1e08a
2022-04-22treewide: drop unused meta-security layerBrad Bishop1-1/+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 Liu1-4/+4
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
2022-01-11meta-yadro: initial bring up for VEGMAN machinesAndrei Kartashev12-0/+415
Introduce new meta-layer for Yadro VEGMAN servers family. This brings initial image build information: layer meta-data, kernel configuration and basic software set. Change-Id: Iad21dc55dab0803ee7476f91861c6a07e9838e6d Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>