summaryrefslogtreecommitdiff
path: root/meta-bytedance
AgeCommit message (Collapse)AuthorFilesLines
2021-07-14bytedance: Limit coredump sizeLei YU3-0/+26
Override coredump.conf and set the max size of coredump to 2MiB. Tested: Verify systemd removes the old coredumps and makes sure the max size is around 2MiB. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I9ae2ba46edd2b1e1b12537f12ca09f97882a7d40
2021-07-14bytedance: g220a: Add some sensors in yamlLotus Xu1-25/+509
Tested: Run ipmitool sensor list and verify the output is as expected. Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: Ibd81144adf8cb1477a8963cc3b8331b72c1a928b
2021-07-14bytedance: g220a: Add retry for me-time-syncLotus Xu1-1/+8
ipmb may not be ready for communication when me-time-sync start. Add some retry so that the time could be synced. Tested: Test 10 times, me-time-sync can work well Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I93343d2ac17fc13b1d094bf05f424d9cb54cfa3f
2021-07-14bytedance: bmcweb: Increase http-body-limit to 65MiBLei YU1-1/+4
The default http-body-limit is 30 MiB, bytedance's system uses 64MiB chips so potentially the largest upload size is 64MiB+ (uncompressed tarball) Increase it to 65MiB so bmcweb accept such uploads. Tested: Upload a tarball that is larger than 32MiB, and verify it works fine. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I0551b34234b14c40d01ea61e88062572deb344c8
2021-07-02bytedance: g220a: node-manager: Remove total power sensorLei YU2-0/+39
The Total_Power sensor is not available on g220a system, add patch to remove it. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Ibc70bec3d56b13740d3f17a666a8d0b0fa7c8429
2021-07-02bytedance: g220a: Enable phosphor-node-manager-proxyLotus Xu3-5/+30
Tested: Verify the CPU_Power and Memory_Power sensors are OK. Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I13fde13adc4062d5586167e411c129a986e3ad76
2021-06-29bytedance: g220a: linux: Fix uart patch conflictLotus Xu1-12/+12
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I78521f447c361c1bb3c4746a2d28016d123d2029
2021-06-16bytedance: g220a: Remove customized layoutLei YU1-3/+0
The upstream has defined the 64MiB layout, use the upstream one. Tested: Verify g220a's image boots fine in QEMU. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Id69df5796c11f1d86bc1340fdb7127f0eb3f3e18
2021-06-16bytedance: g220a: Use u-boot-aspeed-sdkLei YU1-1/+6
Use the new u-boot-aspeed-sdk as the uboot. Tested: Verify the image boots u-boot in g220a QEMU, and boots the OpenBMC if bootcmd is modified to fit the image. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I93c3a083a81f09d37627749c8d0692ae9a75466a
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+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-24bytedance: g220a: Add power configJohn Wang2-0/+22
Add the power related config to enable power on. Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I3912fc603cf249bb2a1f48f69b7e14d458a6e0f1
2021-05-24bytedance: g220a: Enable ipmi interface eth1 and kcs4Lotus Xu5-0/+90
Tested:now we can see ipmi-kcs4 and eth1 Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I85166e66c0b37a7b5b3f5b8387b6056afc66e1cd
2021-04-06hardknott: yocto releaseAndrew Geissler2-2/+2
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-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-23bytedance: g220a: hostlogger: Modify the uart instanceJohn Wang1-0/+1
Although hostlogger does not read the serial port, its systemd unit depends on the obmc-console and waits for the obmc-console of the specified serial port instance, which is vuart by default, ttyS2 on the g220a Tested: journalctl |grep VUART, no realted log Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I4136e6f376e71d3590ab2a787784446bcc7647df
2021-01-15Change Owners Plugin in meta-bytedanceEd Tanous1-1/+1
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. Some commits pointed out that we should identify by email instead of name. This commit changes the existing owners to use email instead of name. (From meta-bytedance rev: bb6cdc41ccc377b092c320ae1bdf359f1bb4da01) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Ie7596f216e3544df8eb2f8968a2285e3bb5c6d5d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12bytedance: g220a: Remove the local patchJohn Wang1-2/+0
This patch is for phosphor-ipmi-host (From meta-bytedance rev: 588f458cf553f84e1cc2cc9e7dca07ed6ebd3d86) Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com> Change-Id: I41a0c113ec6853f8a49ac1664c66595419b570e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12Add Owners Plugin to meta-bytedanceEd Tanous1-0/+2
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-bytedance rev: c4f35df1767bc36a49b2126f95fbf4d9a3a4cabf) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Iab01da867119eed372dc14f94a277b7330665211 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31bytedance: g220a:read eeprom mac addrLotus Xu4-0/+166
read a byte at one time eg: for the first byte i2cset -y 1 0x50 0x00 0x00 i2cget -y 1 0x50 (From meta-bytedance rev: 6389a4f03a518e49241d13843cf005f4a85d7cc8) Tested: Verify the eeprom mac addr can be read use `fw_printenv`,`ip a` can read device mac addr Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com> Change-Id: I5fbf28e5bb3bb2ccc2a074388f4166e35da48afc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
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>