summaryrefslogtreecommitdiff
path: root/meta-bytedance
AgeCommit message (Collapse)AuthorFilesLines
2020-12-31bytedance: g220a: Enable swampd tuning modeJohn Wang2-0/+19
Do not enter the failmode if a temperature sensor's value is NAN, It's useful for debug. We always want the pid-controler to run, when debugging. (From meta-bytedance rev: ae79ff9e289c85498e656172e99d44b11d969109) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I957528b2e2f336bdf3abbd78ec105bdc249e3716 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Enable webuiJohn Wang1-1/+2
Tested: Login in the webui, it works. (From meta-bytedance rev: 69a07b424834dc1f78046177c1314988812e27e9) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I2c89ce0cddfb0f68b788b855b67cbc56e321c3f4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Enable ipmiJohn Wang7-0/+486
Tested: Run ipmitool fru print 0 and ipmitool sensor list, the output is as expected. (From meta-bytedance rev: 9e8a65aa85782b09f21fda3df0f502f6037e0f02) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I0ab25c386a418d039f05a4c4e96553152322194f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31meta-g220a: Add me-time-syncLei YU4-0/+58
g220a BMC needs to get time from ME on start. Add me-time-sync package that fetches time from ME via ipmb, and set the time to BMC via `date` command. Tested: Verify the time is set on BMC boots (From meta-bytedance rev: c8640d007d25676261acc04317e5612269bd3ed5) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I0e7f1d249cf743e3477843a67a6d2e6250c43aa6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Enable ipmbLotus Xu5-0/+50
Tested : we can see /dev/ipmb-4 on g220a Use `busctl call xyz.openbmc_project.Ipmi.Channel.Ipmb \ "/xyz/openbmc_project/Ipmi/Channel/Ipmb" org.openbmc.Ipmb \ sendRequest yyyyay 0x01 0x0a 0x00 0x48 0` to get ME time correctly (From meta-bytedance rev: 58c6841aee1bd93c1070401ce7ca589367b8e6d0) Signed-off-by: Lotus Xu <xuxiaohan@bytrdance.com> Change-Id: Ic45173405ec9cd1806b5caa7a5081b6ed0d8fc3e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Enable peciJohn Wang1-0/+7
Tested: boot the host, and see cpu/dimm sensors under /sys/class/hwmon (From meta-bytedance rev: 76f1849431b2dcafbe96ca4ece33841ba66e0fd9) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I3125bd6f42c8de0d85a2fb49946e8e219f46ab54 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Add sol configJohn Wang3-0/+37
Tested: ssh -p 2200, SOL works well. (From meta-bytedance rev: 1f40f6da4fc2e00fc06128ae6ba7dd1f045c8a84) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I2abd1e11c5158da887ac382bb2a98f94d85a4749 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Enable uart routingJohn Wang1-0/+1
(From meta-bytedance rev: 5b738226c37418f6c98935bb747db509e63a5466) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: Ia0f32176b25d14ee35481dc413d463edb50eb98c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Add uart routing patchJohn Wang4-0/+597
(From meta-bytedance rev: 5729e59f3a7f1202deccb8d90738a32f8821c215) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I115935112219927a9ac77720adeae646a62aec12 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a: Add configurationsJohn Wang2-0/+2526
(From meta-bytedance rev: aec4880792267c1d8a00ba8a77b3fd23640691f3) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I729b66aa82c4bde434879e9ef696c03d4015c624 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-30meta-g220a: Support gatesgarthLei YU2-3/+1
The upstream is updated to support Yocto gatesgarth tag, fix the meta-g220a layer: * Remove meta-x86 which is empty and does not support gatesgarth yet; * Add gatesgarth in meta-g220a layer. Tested: Verify meta-g220a builds fine with upstream code. (From meta-bytedance rev: 5ba67f07bc7d145712d56eaa70d892cb8ba9fc3e) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I98eebe6472dccf88837df23de7b4f8f757d64f19 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-05meta-bytedance: 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 dunsfell (previous). (From meta-bytedance rev: dd8a65df2ed78f90c119e4cb1f388f46f2d586e2) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I96fc7c6313aad49530f87f3c7b93840a31fe3478 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-14bytedance: g220a: Initial commit for meta-g220aJohn Wang10-0/+153
G220a is an x86 server platform with an ast2500 BMC (From meta-bytedance rev: f6d9fbafdfa3e5b0088f4d72792f2f3a031009a6) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: Ie0851a3e689fa7348cbb812e9ff51ea570632123 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-09meta-bytedance : use bmcweb meson buildManojkiran Eda1-1/+1
- This commit would swith and use the equivalent options that are supported by bmcweb meson build. (From meta-bytedance rev: fa72c33238169aa8705c22c719f4018ac44164b5) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I229a33430883c91530e1929e49d58f5aef62309b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-15Add and use usb-network packageLei YU4-1/+44
The usb-network.bb addes the service and config to enable usb-network by default. Tested: Verify that the usbeth0 device is created by default. (From meta-bytedance rev: d7af25d78f709173cb41789708eb95119b9e3dd1) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I075598dbddd8d7919b82d50bdbb1d12dc7f59d1e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-15Add phosphor-misc-usb-ctrl recipeLei YU1-0/+1
The phosphor-misc is upstreamed including usb-ctrl support. Add the recipe phosphor-misc-usb-ctrl to get it. Tested: Verify the script usr/bin/usb-ctrl is in the built image. (From meta-bytedance rev: 32196546e7f58d6c3daaf9c8163c441a9744f564) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Ifda08b4fb57e7eef5737be32db731e3ac5cd3828 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-21Enable USB gadget ECM support in kernel configLei YU2-0/+6
The USB gadget ECM enables the BMC to enumrate as an ethernet device to the host. (From meta-bytedance rev: 9447c4e6d55b1f8ed57f42f46c3c3a8041e4a5ca) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I2a64716588b88950df41880f01e2ff76fbf70b6f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-21Enable Rest API in bmcwebLei YU1-0/+1
Append -DBMCWEB_ENABLE_DBUS_REST=ON to enable Rest API for D-Bus objects. (From meta-bytedance rev: 028a30ea9d433d4963357e1ada9a9d00298e0ad2) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I77339dee77fc6c620be853969fb23a697b51dc05 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-17Add lsof and curl to debug toolsLei YU1-0/+4
Add needed debug tools in packagegroup-obmc-phosphor-debugtools.bbappend (From meta-bytedance rev: a9db632f1b002bbd8bb6777acf6adcc050bc95b8) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: If169960b4475e6aa30faaf6b3410f0122f81876c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-17Add conf/layer.confLei YU1-0/+10
The layer.conf is a required config file to describe the bytedance-layer. (From meta-bytedance rev: 60fb7f5059aba9e96849c27e8beda2d8c46607ff) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I751bc250fe275c4559093a73e354e0ef930b332a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-17Add MAINTAINERSLei YU1-0/+46
(From meta-bytedance rev: 193994c9c7d389a108808dc55a47cdb715451172) Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I24d489822b73be76ef64125cd7e71d6771fdb903 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-17Initial commit for meta-bytedanceLei YU3-0/+204
This layer will contain bytedance specific configs. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I95acd413016f44520706657e52a46d27f279f921 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>