bf-bundle install attempt, take 2
Now that the card is up and running and accessible, we are going to take another shot at 3.6. It’s the latest image, and I am pretty sure that disabling secure boot was the magic fix we needed.
Back on the host system we kick off the 3.6 install.
sudo doca-installer -b "$HOME/bf-bundle-3.6.0-86_26.10_ubuntu-24.04_64k_prod.bfb" -r rshim0
In an second terminal, we open screen so we can watch the BF2 boot (you may need to run screen a few times as the session will terminate as the BF2 resets)
sudo screen /dev/rshim0/console 115200
Watching the boot process in screen we can see that the image is starting to write to disk. So far so good.

Again the BF2 will need to reboot to apply the latest firmware. This process is automatic, and you can watch it in the screen window. Success!
The installer reports NIC firmware 24.51.1002 written and has initiated the card reboot.

Once the card finishes booting we need to again login with ubuntu/ubuntu and set a password.
This time we ssh to the external mgmt interface, no reason really, just making sure its still working.
$ ssh ubuntu@10.1.10.152
You will be prompted to change the default password.
You are required to change your password immediately (administrator enforced).
Inspect Updated Certificate Database
Ok, lets get back to Secure Boot.
First we need to list the certificate names that are currently trusted by UEFI.
sudo mokutil --db | grep 'Subject:'
The output from the command above shows that certificate database has been updated. It now includes NVIDIA EFI Signing 2022-A and the Canonical Master Certificate Authority, both absent when we investigated the original install failure.

Re-Enabling Secure Boot
Our remaining test is if the installed 3.6 Ubuntu bootloader and kernel boot successfully with enforcement enabled. The installer kernel and the installed OS use different boot paths, so we will verify directly on the installed OS.
First, lets gracefully shutdown the Bluefield card.
$ sudo poweroff
Now we watch via screen and ensure that the OS has stopped and the card is shutdown. Once shutdown we reset the card
printf 'SW_RESET 1\n' | sudo tee /dev/rshim0/misc >/dev/null
Now, watch Screen and press Esc twice at the UEFI countdown. When prompted enter the new password we just set above in the NIC OS (its no longer the default pw of bluefield)

Then:
- Open Device Manager → Secure Boot Configuration.
- Select Attempt Secure Boot and press Space to check it.
- Acknowledge the reset message, exit the menu,
- While you are here not a bad time to poke around a bit
- Now reset the BlueField again using the same command.
- Watch for Current Secure Boot State: enabled and the Ubuntu login prompt.
Once it boots (which it did for me) , run mokutil –sb-state on the BlueField to confirm. Keep Screen open so we can see the boot result.
$ mokutil --sb-statSecureBoot enabled
Hostname
Again, the plan is to have two BF2s installed in this dual proc Dell R730, because why not.
This current NIC (BlueField-2) is in slot 5 on riser 2, connected to NUMA node 0, so we will give it an appropriate and rather descriptive hostname.
sudo hostnamectl set-hostname nic-bf2-numa0-riser2-slot5
And lets confirm.
$ hostnamectl --staticnic-bf2-numa0-riser2-slot5
Management IPs
- mgmt IP on the external mgmt NIC (oob_net0)
- mgmt IP on the internal mgmt interface (tmfifo_net0).
External management IP address is statically assigned, so we do need to make any changes, we can keep it as dhcp.
We do need to reconfigure the internal mgmt interface and modify host networking.
Fun Fact: If your server can keep the pci slot powered when the server is off, you can reach the external mgmt interface, and potentially facilitate host system provisioning. Doubt this is an option with the R730.
Host Side Networking
On the host system, I ran the following commands. The commands create br-bf2, disable spanning tree on it, attach the BF2’s host-side RShim interface, assign the host address, and bring the bridge up.
sudo ip link add br-bf2 type bridge
sudo ip link set br-bf2 type bridge stp_state 0
sudo ip link set tmfifo_net0 master br-bf2
sudo ip addr add 192.168.100.1/24 dev br-bf2
sudo ip link set br-bf2 up
I then verified the bridge and tested the existing BF2 address.
ip -br -4 addr show br-bf2
ip -br link show master br-bf2
ping -c 2 -W 2 192.168.100.2
The bridge lets both BF2s share one internal subnet while each card has its own separate PCIe RShim interface on the R730 (Prometheus).
With two cards, RShim would expose tmfifo_net0 and mfifo_net1. Attaching both to br-bf2 makes the bridge act like a small virtual Ethernet switch.

We then save our config and move on to re-configuring networking on the BF2 DPU.
BF2 DPU Networking Changes
On the BF2, via ssh.
$ sudo grep -n '192.168.100.2/30' /etc/netplan/*.yaml/etc/netplan/50-cloud-init.yaml:10: - "192.168.100.2/30"
We need to change this 192.168.100.2/30 to “192.168.100.2/24”
sudo sed -i 's@192\.168\.100\.2/30@192.168.100.2/24@' /etc/netplan/50-cloud-init.yaml
Then check and apply.
sudo grep -n '192.168.100.2' /etc/netplan/50-cloud-init.yaml
sudo netplan generate
sudo netplan try
Netplan is cool because it will revert back to original settings unless you confirm the change. So confirm the prompt, then verify:
ip -br -4 addr show tmfifo_net0sudo ping -c 2 192.168.100.1
Also confirm the prefix change:
ip -br -4 addr show tmfifo_net0
Getting to know your BF2 NPU
As the proud owner of a used NPU, lets get to know it a bit.
$ lscpu
The BF2 looks like an eight-core Arm computer because that’s what’s running Ubuntu on the card. Our output shows:
• aarch64 — Ubuntu is running in 64-bit Arm mode.
• 8 Cortex-A72 cores — all eight are online. With one thread per core, Linux sees eight CPUs numbered 0–7.
• Caches — each core has its own L1 instruction and data caches. The output shows four L2 cache instances totaling 4 MiB, plus one 6 MiB L3 cache.
• One NUMA node — this is the BF2’s own Arm system reporting node 0. Prometheus has its own NUMA topology, where the PCIe slot is also local to node 0. Those are separate systems.
• BogoMIPS: 400.00 — a Linux delay-loop calibration value. It isn’t the core frequency or a performance benchmark. NVIDIA lists this card’s Cortex-A72 cores at up to 2.5 GHz.
• Flags such as aes, pmull, sha1, and sha2 — Arm CPU instruction features available to software. These are interesting to compare with the card’s separate networking and crypto acceleration capabilities.
• Vulnerabilities — the kernel reports its assessment and enabled mitigations for the running Arm system.
$ free -m
Ubuntu sees 15 GiB of usable RAM out of the card’s 16 GB installed. Some memory is reserved for firmware and hardware.
Now lets inspect disk/storage:
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTSNAME SIZE TYPE FSTYPE MOUNTPOINTSmmcblk0 59.3G disk ├─mmcblk0p1 50M part vfat /boot/efi└─mmcblk0p2 59.2G part ext4 /mmcblk0boot0 31.5M disk mmcblk0boot1 31.5M disk
The BF2 has its own 64 GB eMMC, which Linux displays as 59.3 GiB because storage vendors and Linux use different units.
The installer created two main partitions:
• mmcblk0p1 — 50 MiB, FAT mounted at /boot/efi. This is the EFI system partition used during boot.
• mmcblk0p2 — 59.2 GiB, ext4 mounted at /. This holds Ubuntu, DOCA, and the card’s local files.
The two mmcblk0boot devices are small, separate eMMC boot areas used by the platform’s boot firmware.
Next, let’s look at how the network devices are connected inside the card.
udo ovs-vsctl show6f51114a-70b6-417d-8e33-cfbfbdd967c2 Bridge ovsbr1 Port p0 Interface p0 Port pf0hpf Interface pf0hpf Port ovsbr1 Interface ovsbr1 type: internal Port en3f0pf0sf0 Interface en3f0pf0sf0 Bridge ovsbr2 Port p1 Interface p1 Port ovsbr2 Interface ovsbr2 type: internal Port pf1hpf Interface pf1hpf Port en3f1pf1sf0 Interface en3f1pf1sf0 ovs_version: "3.6.0038"
The BF2 is running Open vSwitch 3.6.0038 with one bridge for each data port:
ovsbr1 ovsbr2 ├── p0 physical port 0 ├── p1 physical port 1 ├── pf0hpf host PF 0 ├── pf1hpf host PF 1 └── en3f0pf0sf0 Arm SF 0 └── en3f1pf1sf0 Arm SF 1
Each bridge connects an uplink representor (p0 or p1), a representor for the corresponding host PCIe function, and a representor for an Arm-side scalable function. This is how the card can put the host and its own Arm OS on the data path managed by the DPU.
The ovsbr1 and ovsbr2 entries with type: internal are interfaces belonging to the bridges themselves. The separate oob_net0 and tmfifo_net0 management interfaces don’t appear in these bridges.
Next, let’s see the embedded switch’s view of those ports:
sudo devlink port showpci/0000:03:00.0/196608: type eth netdev pf0hpf flavour pcipf controller 1 pfnum 0 external true splittable false function: hw_addr 10:70:fd:e6:18:f4 state active opstate attachedpci/0000:03:00.0/229408: type eth netdev en3f0pf0sf0 flavour pcisf controller 0 pfnum 0 sfnum 0 splittable false function: hw_addr 02:08:03:07:63:50 state active opstate attachedauxiliary/mlx5_core.eth.0/262143: type eth netdev p0 flavour physical port 0 splittable falsepci/0000:03:00.1/262144: type eth netdev pf1hpf flavour pcipf controller 1 pfnum 1 external true splittable false function: hw_addr 10:70:fd:e6:18:f5 state active opstate attachedpci/0000:03:00.1/294944: type eth netdev en3f1pf1sf0 flavour pcisf controller 0 pfnum 1 sfnum 0 splittable false function: hw_addr 02:73:94:ca:6c:6a state active opstate attachedauxiliary/mlx5_core.eth.1/327679: type eth netdev p1 flavour physical port 1 splittable falseauxiliary/mlx5_core.eth.2/12910592: type eth netdev enp3s0f0s0 flavour virtual splittable falseauxiliary/mlx5_core.eth.3/15007744: type eth netdev enp3s0f1s0 flavour virtual splittable false
- Port 0 — p0 is the physical-port representor, pf0hpf represents Prometheus’s first host PCIe function, and en3f0pf0sf0 is scalable function 0’s representor. The Arm-side network device for that scalable function is enp3s0f0s0.
- Port 1 — p1, pf1hpf, en3f1pf1sf0, and enp3s0f1s0 form the corresponding set for the second port.
The host PF MAC addresses match the ones Prometheus (host system) sees, ending in 18:f4 and 18:f5. state active and opstate attached describe the functions’ state. The physical 25 GbE ports are still uncabled (waiting on ebay)
The two PCI addresses here, 03:00.0 and 03:00.1, are inside the BF2’s Arm system. Host system sees the card at 05:00.x. Each computer has its own PCIe view.
Now lets hardware accelerators and crypto devices exposed to Ubuntu via the NPU.
lspci -nn00:00.0 PCI bridge [0604]: Mellanox Technologies MT42822 BlueField-2 SoC Crypto enabled [15b3:a2d4] (rev 01)01:00.0 PCI bridge [0604]: Mellanox Technologies MT42822 Family [BlueField-2 SoC PCIe Bridge] [15b3:1978] (rev 01)02:00.0 PCI bridge [0604]: Mellanox Technologies MT42822 Family [BlueField-2 SoC PCIe Bridge] [15b3:1978] (rev 01)03:00.0 Ethernet controller [0200]: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller [15b3:a2d6] (rev 01)03:00.1 Ethernet controller [0200]: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller [15b3:a2d6] (rev 01)
The Arm OS sees the BF2’s internal PCIe structure:
• 00:00.0 identifies the BlueField-2 SoC as the crypto-enabled variant.
• 01:00.0 and 02:00.0 are internal PCIe bridges connecting parts of the card.
• 03:00.0 and 03:00.1 are the two integrated ConnectX-6 Dx network functions we saw in the devlink output.
Prometheus sees the same card from its side at 05:00.x. The Arm OS sees its own internal PCIe topology, so the addresses differ.
The Crypto enabled label identifies the hardware variant. We haven’t yet tested a crypto operation or measured offload.
Next Steps
I have a bit more work planned for this R730.
Mainly installing 2x NVIDIA P4 8GB GPU, currently unused in another lab system into this R730. And a upgrade to 2x 1000W PSUs.
Sadly, the R730 only has 4x slots that support the required 75w power delivery that is required for the BF2 NPUs and P4 GPUs. I will not be able to land an NPU/GPU combo cleanly in each numa node. Not that it matters for this lab system, but it will still bother me.
Additionally this system has an Intel X710 (2x 10gbe – LACP) Network Daughter Card (predecessor to the OCP slot), and a ConnectX-4 (infiniband).
I had Claude work up a diagram/image for me.

Once we have all our PCIe cards installed we can move forward with planning additional labs, mainly:
- SRIOV/vGPU on Libvirt
- SRIOV/vGPU on OKD
- OVS offload and zero trust
Additionally, I want to determine the best way to shutdown the embeded Ubuntu running on the BF2, this is what NVIDIA recommends. I am thinking that I could hook into the systemctl/shutdown to accomplish this, however I want to do more research.

Leave a Reply