Debian: Add bnxt-en and libbnxt-re to ISO image

This commit adds the bnxt-en and libbnxt-re Debian packages to the ISO
image to support Broadcom NetXtreme network adapters. In addition, the
bnxt-en package is added to the initial RAM filesystem image to
accommodate systems that have Broadcom NetXtreme network adapters as
their management (OAM) interfaces.

Verification:
- An ISO image was successfully built with this commit.
- The ISO image was installed onto a system with a quad-port Broadcom
  NetXtreme-E network adapter, albeit with manual workarounds unrelated
  to this commit.
- The Broadcom network adapter was successfully sanity-tested with the
  installed system.
- The /initrd file in the ISO image was manually extracted and the
  bnxt_en (as well as bnxt_re) kernel modules were found to have been
  included in the initial RAM file system image.
- The ISO image was started up in a qemu/KVM-based virtual machine and a
  root shell was acquired in the initramfs by appending "instsh=1" to
  the kernel command line. In the root shell, it was confirmed that the
  bnxt_en kernel module can be loaded with "modprobe bnxt_en" (which
  also loaded the bnxt_re module, as expected).

Note that the dependency mentioned below exists because the bnxt_re
kernel module has a dependency on the Mellanox OFED kernel modules, and
bnxt_re is automatically loaded after bnxt_en.

Story: 2009915
Task: 45214
Depends-On: https://review.opendev.org/c/starlingx/tools/+/839832

Change-Id: Ia79a414dc68534dabaa7b93149549b8785c2294f
Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
This commit is contained in:
M. Vefa Bicakci 2022-04-18 19:45:35 +00:00
parent 9223c8f960
commit 0113fe0399
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@ packages:
- base-passwd
- bash
- bc
- bnxt-en
- busybox
- bzip2
- ca-certificates

View File

@ -35,6 +35,9 @@ bash-static-dbgsym
bash-static
bash
# bnxt_en - Broadcom kernel modules
bnxt-en
#build-info
#build-info-dev # not used
build-info
@ -345,6 +348,9 @@ isolcpus-device-plugin
#k8s-pod-recovery
k8s-pod-recovery
# libbnxt_re - Broadcom Infiniband verbs library
libbnxt-re
#kernel-std
#bpftool-dbgsym # not used
#bpftool # not used