summaryrefslogtreecommitdiff
path: root/meta-yadro
AgeCommit message (Collapse)AuthorFilesLines
2020-03-17nicole: Fix OCC hwmon paths for the 5.3+ kernelAlexander Filippov3-2/+2
The 5.3 kernel adds an 'fsi-master' directory in front of the fsi0 and fsi1 directories in the OCC device tree paths. Update the OCC hwmon file paths accordingly as those are based on that path. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> (From meta-yadro rev: 54b7c9b1ab1bf5b91b293c76335de887f7ff8311) Change-Id: Ie506f88c4e7b2b20f4b589c655982d42dcc3a3f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-28nicole: Add LED supportArtem Senichev4-1/+146
Changed to be consistent with the schematics. (From meta-yadro rev: 19d9cb67b24396fabbe7160a3f04a71d775c166c) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I46a3f1dde090bd247ddbf72a3a0c1310d6fafdd2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-28nicole: Fix GPIO setup for power buttonArtem Senichev1-26/+1
Changed to be consistent with the schematics. (From meta-yadro rev: c3bb02e54cbccb89c5ba7c308ae36c7655922f2d) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I7610fb0ed0f28c8cfccc98799100df96a57b4722 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-21nicole: Add VPD supportArtem Senichev10-1/+100
VPD contains general description of the BMC card and MAC address for the Ethernet controller. Physically, VPD is stored in the EEPROM AT24C256C, which is connected to the Aspeed SoC via I2C and can be read or written through the special device file /sys/bus/i2c/devices/0-0050/eeprom. (From meta-yadro rev: 95f98dc7d5ccf2b221d2a5aea51bf411201f351c) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I21624f154cfa1e92eddbc1739a4e053d00889b5a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-20nicole: NCSI channel selectorArtem Senichev3-0/+138
NCSI channel number is selected depending on GPIO state of a pin described in the device tree (gpio/nsci_cfg node). Currently, this pin is controlled via MCU, and its state represents Nicole's physical position inside a fabric. Channel selector scheme: * GPIO pin is LOW: channel 0; * GPIO pin is HIGH: channel 1; * invalid configuration or error: channel 0. After changing pin's state it is necessary to reboot the BMC to apply new channel number. (From meta-yadro rev: 2661355417e52d968e9845298c37cae8ff1dfe6b) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I8eeac34f71197fc110e41d186dd1fd4d2f1ef064 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-10nicole: dts: Add RCLK to MAC clocksAlexander Filippov1-1/+1
Fixes build with kernel 5.4.4+ This is a copy of the change which was done in the linux repo for Romulus and other AST2500 based HW Original commit is 06a318f9 Andrew Jeffery <andrew@aj.id.au> ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces We need to ungate RCLK on AST2500- and AST2600-based platforms for RMII to function. RMII interfaces are commonly used for NCSI. (From meta-yadro rev: d971ee2180f448f125fb4e9e471cd10a61bf5ff8) Change-Id: If92e32f144b0c79b937def0136cbf86b4a8aeb73 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-18nicole: esel-parser: srcrev bump 1ed2c38..c35879fArtem Senichev1-1/+1
Artem Senichev (4): Allow using fsp-trace from current directory Fix parsing "Creator subsystem" field Add source file name to fsp-trace output hostboot: bump version 3920d160..0921b80a (From meta-yadro rev: 1e65c1adfc33232d89e9deb50e436c2356317f6a) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: If56a76133bb9fff94638fafe5428969797b257a8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-12nicole: DTS: Add RCLK to MAC clocksAlexander Filippov1-0/+3
This is the same changes which ones were done in the linux repo for all AST2500 based DTS. Original commit is ed7120aa Andrew Jeffery <andrew@aj.id.au> "ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces" We need to ungate RCLK on AST2500- and AST2600-based platforms for RMII to function. RMII interfaces are commonly used for NCSI. (From meta-yadro rev: f66aaa5cea8ee9a6423cb2d7dcf7f5e75bf95f96) Change-Id: Ieb908db2fb5ef0f0e4ff53dd1563b50e14fc2334 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-21meta-yadro: layer.conf: add zeus compatibilityAlexander Filippov3-3/+3
OE-core master will be dropping warrior soon; zeus is the next release. (From meta-yadro rev: 27e7dd3d6c82478ab61973e9a6470fba6f2b4502) Change-Id: Id4a5cb6bff0f2f64df99c6ae602bbbfb55e4cfd0 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-16vesnin: Add green led to phosphor-led-managerAlexander Filippov1-0/+3
The green led should be on while host is up. (From meta-yadro rev: a7fc645df8796c679ac01aaa1b421271af478d0a) Change-Id: I8ea751e5a6d8a509800732a0d002788488329101 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-04meta-nicole: Add recipe for building eSEL parserArtem Senichev2-1/+24
(From meta-yadro rev: 25631eaa5a8c6b4542555aff48a8fc3865956d43) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I5003c0f741333d4c0301fa0707dd83d2edf8c127 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-17meta-yadro: Remove references to YADROBASEBrad Bishop7-9/+6
YADROBASE 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-yadro rev: 55fa5d541e0cb4291c46213132b479e6d16e8360) Change-Id: I8388c5e60837f7ae0d81be4b6cab82db71d43709 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-04nicole: Add phosphor-hostlogger to BMC imageArtem Senichev1-0/+1
(From meta-yadro rev: ab139e076ccf28f19d61728d1bd9f6c6a6e75523) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: Iba51aa5fc183a406e2e0cea65c90e344f131b197 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-28meta-vesnin: configuration: reduce yaml-fileAlexander Filippov1-3708/+154
Reduce size of vesnin-ipmi-fru.yaml by using aliases. It's a cosmetic change and does not yield any changes in functionality. (From meta-yadro rev: b6267a85874aca5fc1971ff11617ce0fbd6a64d0) Change-Id: Ie5807ce37db1d4d4d6dc3514a5af3d33a0946e18 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-26meta-nicole: Add initial setup for OCC and FRUArtem Senichev14-0/+1838
Ported from IBM Romulus layer. (From meta-yadro rev: b64a2eeade9e2ba61ad4103cef8efe300cffd4c0) Signed-off-by: Artem Senichev <a.senichev@yadro.com> Change-Id: I717c8fda8e61ed0c824252ac85f68d58076e9246 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26meta-nicole: Initial versionAlexander Filippov19-0/+693
NICOLE is a new storage controller for TATLIN server. It based on IBM Romulus reference design (POWER9) and uses an AST2500 BMC SoC. (From meta-yadro rev: 13af90da095c5eb6874ce6f89a8b66a7932e6c50) Change-Id: I4685be88448e1de8a1a716ad3f59ef09e168a1df Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com> Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23meta-yadro/meta-vesnin: fix path to aspeed-lpc-ctrl.cAlexander Filippov1-8/+8
The aspeed-lpc-ctrl.c has been moved to the new path. This commit brings the corresponded changes. (From meta-yadro rev: 01cca906159e75a4b68c456efca6b16178f402e3) Change-Id: I768b0908c9e5ea10f1271b7e8c142d5249a098b1 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-23meta-yadro/meta-vesnin: remove obsolete DTS nodesAlexander Filippov2-39/+0
The `mbox` driver was removed from kernel sources, so the 'lpc_host` node is no longer required. (From meta-yadro rev: 2ae27084f441b13c36952642a52173ec34ed2fc2) Change-Id: I69cc44448dea265b86c666e4e5b79b9c72b42309 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-04meta-yadro: vesnin: new YAML dependency schemeBrad Bishop7-50/+33
All the IPMI virtuals and PREFERRED_PROVIDERS in meta-phosphor are in the process of being deprecated. Prepare for that and move to a simpler scheme for providing the YAML configuration for Vesnin systems. (From meta-yadro rev: 9c29d1b377aafa400444273bfb7fdd28b0803f34) Change-Id: Id243bb4e0f2c742ebb1124195a16b9ce20856091 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-14meta-yadro: add subtreeBrad Bishop34-0/+5733
Alexander Filippov (4): Initial commit meta-yadro: Initial version of meta-vesnin layer meta-yadro: Add readme files meta-vesnin: Use VESNIN DTS from kernel repo Change-Id: Ifa6f1ad3890af4800d27a76fb709e8f8d91295df Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>