summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-bletchley
AgeCommit message (Collapse)AuthorFilesLines
2021-12-29meta-bletchley: Add services to control step motorAllen.Wang9-1/+537
For Bletchley platform, we can only power on system by step motor to press power key. Add tools and service to initialize step motor and control system power by motor. Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com> Change-Id: Ic75352a037566d701b2e362743c527c370b0c2e5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-12-29meta-facebook: add fb-phosphor-image.incPatrick Williams1-1/+1
Builds done using facebook/openbmc do not use the 'obmc-phosphor-image' image name, but instead use 'MACHINE-image'. This means that bbappend files have no effect and we need a different method to get consistent sets of include files. Introduce 'fb-phosphor-image.inc' and 'fb-MACHINE-phosphor-image.inc' as the replacements for the obmc-phosphor-image.bbappend. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I166342c1744d1cd0237f8c75d90d87153fb19b35
2021-12-29meta-bletchley: phosphor-network: use += style for appendPatrick Williams1-1/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I19d92019649ba990dcc33ac1bc25c4ebadc933b6
2021-12-27meta-bletchley: read fru from eeprom and store to inventory areaPotin Lai5-0/+94
1. create configuration layer for fru yaml config 2. add fru eeprom path and id config 3. add FRU_YAML_GEN in phosphor-ipmi-host bbappend Test: root@bletchley:~# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/bmc NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "2021-12-21 - 07:56:00" emits-change writable .Manufacturer property s "Quanta" emits-change writable .Model property s "" emits-change writable .PartNumber property s "3RL19MA0000" emits-change writable .SerialNumber property s "1234567890123" emits-change writable .SparePartNumber property s "" emits-change writable .SubModel property s "" emits-change writable xyz.openbmc_project.Inventory.Decorator.Revision interface - - - .Version property s "FRU Ver 0.01" emits-change writable xyz.openbmc_project.Inventory.Item interface - - - .Present property b false emits-change writable .PrettyName property s "Bletchley -Class 1" emits-change writable xyz.openbmc_project.Inventory.Item.Bmc interface - - - xyz.openbmc_project.Inventory.Item.Board interface - - - root@bletchley:~# busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/bmc/ethernet NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Inventory.Item.Ethernet interface - - - xyz.openbmc_project.Inventory.Item.NetworkInterface interface - - - .MACAddress property s "3AD664F68D3F" emits-change writable Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I70d624885abaa13639a0617b356554aa6c88af57
2021-12-24meta-bletchley: phosphor-network: enable sync-macPotin Lai2-0/+13
1. Enable sync-mac 2. add inventory mapping config Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I441c00c22d7f1c0e3d0c9f83b9cc149007acd781
2021-12-22meta-bletchley: Add init service to setup systemHoward Chiu4-1/+122
To setup GPIOs and set fan speed to 70% Signed-off-by: Howard Chiu <howard.chiu@quantatw.com> Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I7a64e19b6e34bcab7013b382d19d7be6156bf87a
2021-12-22meta-bletchley: enable bletchley dtsPotin Lai1-3/+2
select aspeed-bmc-facebook-bletchley.dts for build Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I85503d876b959a2f220ad84b6a9ddba047e89c80
2021-12-22meta-bletchley: kernel: enable SPI_GPIO configPotin Lai1-0/+3
enable SPI_GPIO feature Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I24bb13acfbddcff14c5f15fbd9262ba1b019d9f7
2021-12-20meta-bletchley: add led managerPotin Lai3-0/+109
add support of phosphor-led-manager for Bletchley Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I4c27fb1a7658b89ff20f8f2ee4c38ae5bd17ffc0
2021-12-15meta-bletchley: Enable kernel configs for platform-specific devicesHoward Chiu2-0/+29
1. AST26xx ADC driver 2. AST26xx PWM v14 driver 3. AST26xx Tach driver from Aspeed-linux 4. Enable driver for PHY fixed link 5. HDC1080 humidity sensor driver 6. PCF85363 RTC driver 7. FUSB302 USB-PD PHY driver 8. MP5023 HSC driver 9. DEVMEM driver for early debug purpose Signed-off-by: Howard Chiu <howard.chiu@quantatw.com> Change-Id: Ib87de12cabd5aef4ef8bd25ac3451a1df56d3fc1
2021-12-15meta-bletchley: add phosphor-nvmeHoward Chiu3-0/+45
Use phosphor-nvme to monitor the temperature of NVMe SSD on each sled Signed-off-by: Howard Chiu <howard.chiu@quantatw.com> Change-Id: Ib61dca1742f66b93cab7bee86b27b33cc7dce969
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-15/+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-10meta-facebook: simplify SERIAL_CONSOLESPatrick Williams1-2/+0
The majority of our hardware uses ttyS4 and 57600. Rather than have each machine specify this, put it into a generic "facebook" override as the default for all our machines. Assuming OVERRIDES is set correctly, machines can still make specific overrides as alternatives. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id8b704163dc57d94e27481dba7aef1bdf66aeee5
2021-09-16treewide: fix comments for rpm/ipkPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
2021-09-13meta-facebook: switch to ipk packagesPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I75f71a404016949179cca78605ae5be4613249e3
2021-08-25meta-bletchley: enable tpm2-toolsPatrick Williams2-0/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
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-facebook: increment CONF_VERSIONPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iefe6488f6447fb3976c8f9597674227e83ad8b83
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams2-24/+66
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-10Remove redundant code to set root passwordJoseph Reynolds1-5/+1
Background: The OpenBmc project default root account password is set in meta-phosphor/conf/distro/include/phosphor-defaults.inc and can be customized in each layer's local.conf file. Many of these local.conf.sample files had redundant code to set the password, which probably should not have been there. Removing them allows the defaults in phosphor-defaults.inc to take effect. Tested: No. Only meta-ibm was tested. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: I76dce00d269d7afa005d7bcfd63f846d3cf45596
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams4-7/+7
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-08-05meta-bletchley: configure 57600 baudrateHoward Chiu3-0/+41
Specific patch for bletchley only Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849 Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
2021-07-12meta-bletchley: remove image-mklibsPatrick Williams1-4/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5c3926bd7f021abec612015b5b4f69d9ca2aeb01
2021-06-23meta-facebook: bletchley: enable u-boot SPLPatrick Williams1-1/+2
The latest u-boot no longer boots on AST2600 without enabling the SPL. Port the changes from commit d84b7f4455406807637b7fecf9e96b73e17fcf62 and tested in QEMU. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5ce3f3a97d44ae58c54e3d44251726a84fcc6098
2021-06-04meta-facebook: bletchley: create basic machinePatrick Williams5-0/+285
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5801ad2ce5b7e421a62619c57787465bfa585e95