mellanox / bfb-build Goto Github PK
View Code? Open in Web Editor NEWBFB (BlueField boot stream and OS installer) build environment
BFB (BlueField boot stream and OS installer) build environment
In the README, it would be nice to have an example of rebuilding MLNX_OFED driver packages and other BlueField SoC drivers for DEB-based Distros in the case of installing a customized kernel in these Distros.
I have this use case, so a clue on how to do it would be highly appreciated.
Hello team,
I am trying build through branch DOCA_1.5.1_BSP_3.9.3_Ubuntu_20.04 in an arm64 environment, build command is IMAGE_TYPE=prod ./bfb-build ubuntu 20.04
However, it ends with the error:
Step 70/70 : CMD ["/root/workspace/create_bfb", "-k", "5.15.0-1003.28.ga8d758d-bluefield"]
---> Running in 77d8938543f8
Removing intermediate container 77d8938543f8
---> a6822ec69016
Successfully built a6822ec69016
Successfully tagged bfb_runtime_ubuntu22.04:latest
Work directory: /root/workspace/bfb
update-initramfs: Generating /boot/initrd.img-5.15.0-1003.28.ga8d758d-bluefield
cryptsetup: ERROR: Couldn't resolve device overlay
cryptsetup: WARNING: Couldn't determine root device
W: Couldn't identify type of root file system for fsck hook
mkdir -p /root/workspace/bfb
cd /root/workspace/bfb
rm -rf initramfs
Rebuilding /root/workspace/bfb/dump-initramfs-v0
99863 blocks
mkdir -p ubuntu
xz: (stdin): Cannot allocate memory
tar: ./ubuntu/image.tar.xz: Cannot write: Broken pipe
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Could anyone give it a quick look? Thanks.
Also wondering if crysetup is necessary, can we just disable it?
Could you add an option to build a RHEL9 image? RHEL9 itself would be our preference, but a RHEL9-compatible image like Rocky 9 or Alma 9 would probably work for us, too.
After installed customer kernel, download MLNX_OFED_SRC-5.6-1.0.3.3.tgz and build followed the guide, run into failures
iser-5.6 rebuild failed
Processing files: iser-5.6-OFED.5.6.1.0.1.1.kver.4.19.0_1.0.1.6.aarch64
error: File not found by glob: /var/tmp/OFED_topdir/BUILDROOT/iser-5.6-OFED.5.6.1.0.1.1.aarch64/etc/depmod.d/zz02-iser-*.conf
need to add Note for CentOS: To build kernel RPM while running ARM container on x86_64 need to disable kernel's debuginfo package:
cat > /root/.rpmmacros <<EOF
%debug_package %{nil}
%with_debuginfo 0
%__debug_install_post %{nil}
EOF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.