New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenBMC and kernels #46
Comments
@karthikbgt 4.7 is an internal tree we are experimenting. It is not stable and not ready for production use. That's the reason why the line is in comment and we didn't push that branch out. 4.1.15 is the one in production. |
facebook-github-bot
pushed a commit
that referenced
this issue
Apr 30, 2019
Summary: Add libbic for Wedge400 Pull Request resolved: facebookexternal/openbmc.celestica#46 Test Plan: root@win-fghmrivntih:~# bic-util scm --get_dev_id Device ID: 0x25 Device Revision: 0x80 Firmware Revision: 0x1:0x8 IPMI Version: 0x2 Device Support: 0xBF Manufacturer ID: 0x0:0x1C:0x4C Product ID: 0x46:0x20 Aux. FW Rev: 0x0:0x0:0x0:0x0 root@win-fghmrivntih:~# bic-util scm --get_gpio XDP_CPU_SYSPWROK: 1 PWRGD_PCH_PWROK: 1 PVDDR_VRHOT_N: 1 PVCCIN_VRHOT_N: 1 FM_FAST_PROCHOT_N: 1 PCHHOT_CPU_N: 1 FM_CPLD_CPU_DIMM_EVENT_CO_N: 1 FM_CPLD_BDXDE_THERMTRIP_N: 1 THERMTRIP_PCH_N: 0 FM_CPLD_FIVR_FAULT: 0 FM_BDXDE_CATERR_LVT3_N: 1 FM_BDXDE_ERR_LVT3_N: 7 SLP_S4_N: 1 FM_NMI_EVENT_BMC_N: 1 FM_SMI_BMC_N: 1 RST_PLTRST_BMC_N: 1 FP_RST_BTN_BUF_N: 1 BMC_RST_BTN_OUT_N: 1 FM_BDE_POST_CMPLT_N: 0 FM_BDXDE_SLP3_N: 1 FM_PWR_LED_N: 1 PWRGD_PVCCIN: 1 SVR_ID: 15 BMC_READY_N: 0 BMC_COM_SW_N: 1 rsvd: 0 root@win-fghmrivntih:~# bic-util scm --read_sensor sensor#1: value: 0x1D, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#5: value: 0x24, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#7: value: 0x1A, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#8: value: 0x20, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#9: value: 0xBC, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#16: value: 0x0, flags: 0xC0, status: 0x0, ext_status: 0x0 sensor#23: value: 0x0, flags: 0x0, status: 0x0, ext_status: 0x0 sensor#41: value: 0xC, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#42: value: 0x98, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#43: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#44: value: 0xA, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#48: value: 0x68, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#59: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#64: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#65: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#67: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#81: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#86: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 sensor#99: value: 0x0, flags: 0x0, status: 0x0, ext_status: 0x0 sensor#101: value: 0x0, flags: 0xC0, status: 0x0, ext_status: 0x0 sensor#126: value: 0x0, flags: 0xC0, status: 0x3, ext_status: 0x0 sensor#128: value: 0x23, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#129: value: 0x23, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#130: value: 0x1C, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#131: value: 0x8, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#132: value: 0x12, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#133: value: 0x7, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#136: value: 0xB4, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#137: value: 0x69, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#138: value: 0x79, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#139: value: 0x7, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#140: value: 0x13, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#141: value: 0x4, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#142: value: 0x51, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#178: value: 0x0, flags: 0xC0, status: 0x0, ext_status: 0x0 sensor#179: value: 0x0, flags: 0xC0, status: 0x0, ext_status: 0x0 sensor#180: value: 0x1A, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#182: value: 0x1A, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#208: value: 0x9D, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#210: value: 0x9A, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#211: value: 0x51, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#213: value: 0x9E, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#214: value: 0x9D, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#215: value: 0x51, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#216: value: 0x5E, flags: 0xC0, status: 0xC0, ext_status: 0x0 sensor#217: value: 0x0, flags: 0xE0, status: 0xC2, ext_status: 0x0 sensor#235: value: 0x0, flags: 0xE0, status: 0x0, ext_status: 0x0 root@win-fghmrivntih:~# bic-util scm --read_fruid FRU Information : MINILAKE --------------- : ------------------ Chassis Type : Rack Mount Chassis Chassis Part Number : Chassis Serial Number : Board Mfg Date : Wed Jan 23 14:18:00 2019 Board Mfg : Quanta Board Product : Minilake Board Serial : 6WC90300856 Board Part Number : 23XG1MA00D0 Board FRU ID : FRU Ver 0.04 Board Custom Data 1 : 02-000294 Product Manufacturer : Quanta Product Name : Minilake Product Part Number : 13MBUZZ058E Product Version : Minipack Product Serial : Product Asset Tag : Product FRU ID : Product Custom Data 1 : 19-001181 Product Custom Data 2 : MP root@win-fghmrivntih:~# bic-util scm --get_sdr type: 1, sensor_num: 1, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 7, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 8, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 5, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 9, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 48, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 180, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, util_get_sdr:bic_get_sdr returns -1 type: 1, sensor_num: 182, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 129, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 130, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 128, sensor_type: 1, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 132, sensor_type: 3, evt_read_type: 1, m_val: 125, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 133, sensor_type: 3, evt_read_type: 1, m_val: 125, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 131, sensor_type: 3, evt_read_type: 1, m_val: 5, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 240, type: 1, sensor_num: 137, sensor_type: 2, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 224, type: 1, sensor_num: 138, sensor_type: 2, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 224, type: 1, sensor_num: 136, sensor_type: 2, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 224, type: 1, sensor_num: 140, sensor_type: 11, evt_read_type: 1, m_val: 125, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 141, sensor_type: 11, evt_read_type: 1, m_val: 25, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 224, type: 1, sensor_num: 139, sensor_type: 11, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 208, sensor_type: 2, evt_read_type: 1, m_val: 209, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 213, sensor_type: 2, evt_read_type: 1, m_val: 209, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 215, sensor_type: 2, evt_read_type: 1, m_val: 39, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 142, sensor_type: 2, evt_read_type: 1, m_val: 130, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 211, sensor_type: 2, evt_read_type: 1, m_val: 130, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 210, sensor_type: 2, evt_read_type: 1, m_val: 78, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 214, sensor_type: 2, evt_read_type: 1, m_val: 32, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 1, sensor_num: 216, sensor_type: 2, evt_read_type: 1, m_val: 131, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 217, sensor_type: 2, evt_read_type: 1, m_val: 129, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 192, type: 1, sensor_num: 44, sensor_type: 11, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 41, sensor_type: 11, evt_read_type: 1, m_val: 1, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 1, sensor_num: 42, sensor_type: 2, evt_read_type: 1, m_val: 79, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 208, type: 2, sensor_num: 16, sensor_type: 201, evt_read_type: 111, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 2, sensor_num: 101, sensor_type: 7, evt_read_type: 111, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 2, sensor_num: 179, sensor_type: 199, evt_read_type: 111, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 2, sensor_num: 178, sensor_type: 198, evt_read_type: 111, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 2, sensor_num: 126, sensor_type: 202, evt_read_type: 111, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 3, sensor_num: 235, sensor_type: 1, evt_read_type: 0, m_val: 0, m_tolerance: 0, b_val: 0, b_accuracy: 0, accuracy_dir: 0, rb_exp: 0, type: 3, sensor_num: 59, sensor_type: 1, evt_read_type: 0, m_val: 101, m_tolerance: 115, b_val: 104, b_accuracy: 32, accuracy_dir: 69, rb_exp: 118, type: 3, sensor_num: 43, sensor_type: 1, evt_read_type: 0, m_val: 114, m_tolerance: 115, b_val: 104, b_accuracy: 32, accuracy_dir: 69, rb_exp: 118, type: 3, sensor_num: 86, sensor_type: 1, evt_read_type: 0, m_val: 114, m_tolerance: 114, b_val: 111, b_accuracy: 114, accuracy_dir: 69, rb_exp: 118, type: 3, sensor_num: 81, sensor_type: 1, evt_read_type: 0, m_val: 32, m_tolerance: 69, b_val: 120, b_accuracy: 116, accuracy_dir: 69, rb_exp: 118, type: 3, sensor_num: 64, sensor_type: 1, evt_read_type: 0, m_val: 32, m_tolerance: 67, b_val: 104, b_accuracy: 107, accuracy_dir: 32, rb_exp: 69, type: 3, sensor_num: 65, sensor_type: 1, evt_read_type: 0, m_val: 114, m_tolerance: 67, b_val: 104, b_accuracy: 107, accuracy_dir: 32, rb_exp: 69, type: 3, sensor_num: 67, sensor_type: 1, evt_read_type: 0, m_val: 73, m_tolerance: 79, b_val: 32, b_accuracy: 69, accuracy_dir: 114, rb_exp: 114, type: 3, sensor_num: 99, sensor_type: 1, evt_read_type: 0, m_val: 69, m_tolerance: 67, b_val: 67, b_accuracy: 32, accuracy_dir: 69, rb_exp: 114, type: 3, sensor_num: 23, sensor_type: 1, evt_read_type: 0, m_val: 72, m_tolerance: 101, b_val: 97, b_accuracy: 108, accuracy_dir: 116, rb_exp: 104, This record is LAST record root@win-fghmrivntih:~# Pass Reviewed By: mikechoifb fbshipit-source-id: c3bfec2f4b
facebook-github-bot
pushed a commit
that referenced
this issue
Aug 26, 2020
Summary: ELBERT: Use flashrom 1.2 for ELBERT. Needed for MTQ25U/MT25QL part support Testing: root@bmc-oob:~# flashrom flashrom v1.2 on Linux 5.6.14-elbert (armv7l) flashrom is free software, get the source code at https://flashrom.org Please select a programmer with the --programmer parameter. Valid choices are: dummy, gfxnvidia, drkaiser, satasii, atavia, it8212, serprog, buspirate_spi, dediprog, developerbox, pony_spi, nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, linux_mtd, linux_spi, pickit2_spi, ch341a_spi, digilent_spi, stlinkv3_spi. Pull Request resolved: facebookexternal/openbmc.arista#46 Reviewed By: mikechoifb fbshipit-source-id: d87aa01900
facebook-github-bot
pushed a commit
that referenced
this issue
Sep 1, 2022
Summary: OpenBMC machine Sandia creation Create machine Sandia to build OpenBMC running on Sandia runBMC. Reference Fuji for creation. Build instruction: 1. Set up OpenBMC build environment. 2. Run "source open-init-build-env sandia". It goes into build directory. 3. From build directory, edit conf/local.conf to add a line "INHERIT += "fb-proprietary-recipes" at the end of file. 4. From build directory, run "bitbake sandia-image". X-link: facebookexternal/openbmc.cisco#46 Test Plan: 1. Build should complete without errors. 2. Program Flash image to Kodiak runBMC. 3. Boot OpenBMC. Linux should boot up. 4. Log in OBMC. 5. Reboot OBMC and break into U-Boot. 6. From U-Boot, set up network and tftpboot OBMC image. 7. From U-Boot, run bootm to boot OBMC. Linux should boot up. 8. Log in OBMC. 9. From Linux, run "ifconfig". "eth0" should be enabled.10. 10. Set up eth0 for network access. 11. Download OBMC Flash image. 12. "flashcp" OBMC Flash image. 13. "reboot". OBMC image should boot up. Log: [kodiak001-fbsandia-20220830-2235.txt](https://github.com/facebookexternal/openbmc.cisco/files/9458958/kodiak001-fbsandia-20220830-2235.txt) Reviewed By: tao-ren, GoldenBug fbshipit-source-id: 189728a5dbee4ab2168fd671263317f26ddd9f05
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I find the following versions of kernel recipes are present, however unable to find the the one that is based on version 4.7 kernel which is claimed to be stable for AST25XX series.... Can someone kindly confirm the availability of the kernel 4.7 ?
https://github.com/facebook/openbmc/blob/helium/meta-facebook/meta-cmm/recipes-kernel/linux/files/defconfig -> linux kernel 4.1.15 (CMM OpenBMC)
https://github.com/facebook/openbmc/blob/helium/meta-facebook/meta-wedge100/recipes-kernel/linux/files/defconfig -> linux kernel 4.1.15 (wedge-100)
https://github.com/facebook/openbmc/blob/helium/meta-facebook/meta-wedge/recipes-kernel/linux/files/defconfig -> linux kernel 4.1.15 (wedge)
https://github.com/facebook/openbmc/blob/helium/meta-facebook/meta-galaxy100/recipes-kernel/linux/files/defconfig -> linux kernel 2.6.28.9 (OpenBMC for LC/FC )
Also, the code in below link (AST2520 header) states 2 versions as preferred. However i find that 4.7 is commented with '#'. Does it mean that the kernel version 4.7 is not supported ...
Reference : https://github.com/facebook/openbmc/blob/helium/meta-aspeed/conf/machine/include/ast2520.inc
PREFERRED_VERSION_linux-aspeed ?= "4.1.15"
#PREFERRED_VERSION_linux-aspeed ?= "4.7"
If 4.7 kernel is not available, can someone confirm whether those improvements are incorporated as part of 4.1.15 kernel of helium itself ?
Thanks in advance,
Karthik Balaguru
The text was updated successfully, but these errors were encountered: