summaryrefslogtreecommitdiff
path: root/meta-bytedance/meta-g220a
AgeCommit message (Collapse)AuthorFilesLines
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>
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-10-14bytedance: g220a: Initial commit for meta-g220aJohn Wang8-0/+102
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>