Software > Firmware
Compiling and Updating BMC
markr87:
Working on a Blackbird/Fedora via debian-chroot, I was able to self compile "blackbird.pnor".
I am stuck with a
"OSError: [Errno 38] Function not implemented
)
ERROR: Unable to connect to bitbake server, or start one"
while Building the OpenBMC firmware.
I had decided to just download the pre-compiled version and became a little confused. The instructions for self compiling say you should end up with 2 files, "image-rofs" and "image-kernel" but when I open the pre-compiled version it contains only one file, "blackbird-v2.00-image-bmc".
EDIT: So, if updating via shell you use the web_ipmi_upgrade and if updating via the web you use the shell_upgrade? I'm sure this makes sense to everybody else but I invert my x-y axis on FPS's. ;)
SiteAdmin:
--- Quote from: markr87 on February 06, 2022, 02:48:19 pm ---Working on a Blackbird/Fedora via debian-chroot, I was able to self compile "blackbird.pnor".
I am stuck with a
"OSError: [Errno 38] Function not implemented
)
ERROR: Unable to connect to bitbake server, or start one"
while Building the OpenBMC firmware.
I had decided to just download the pre-compiled version and became a little confused. The instructions for self compiling say you should end up with 2 files, "image-rofs" and "image-kernel" but when I open the pre-compiled version it contains only one file, "blackbird-v2.00-image-bmc".
EDIT: So, if updating via shell you use the web_ipmi_upgrade and if updating via the web you use the shell_upgrade? I'm sure this makes sense to everybody else but I invert my x-y axis on FPS's. ;)
--- End quote ---
Error 38 from Python means you don't have SHM (proc etc.) bind mounted in your chroot.
SiteAdmin:
--- Quote from: SiteAdmin on February 07, 2022, 01:06:44 pm ---Error 38 from Python means you don't have SHM (proc etc.) bind mounted in your chroot.
--- End quote ---
Correction: /dev is typically where the missing SHM node is located, so you need to bind mount /dev into your chroot.
markr87:
Thank you for your quick response. Your assessment was spot on. After a quick "sudo mount --bind /dev ~/debian-chroot/dev" I was able to compile sort of-ish. Now I get "Summary: There were 2 ERROR messages shown, returning a non-zero exit code."
SiteAdmin:
--- Quote from: markr87 on February 08, 2022, 02:53:35 pm ---Thank you for your quick response. Your assessment was spot on. After a quick "sudo mount --bind /dev ~/debian-chroot/dev" I was able to compile sort of-ish. Now I get "Summary: There were 2 ERROR messages shown, returning a non-zero exit code."
--- End quote ---
Did the build process generate the ROM file? If so, the errors can be ignored, if not, then you should delete the build directory and try again as the lack of SHM might have corrupted the build state enough to stop ROM generation.
Navigation
[0] Message Index
[#] Next page
Go to full version