Giter VIP home page Giter VIP logo

bluefield-2-tools's Introduction

Bluefield-2 tools

This repository contains tools and a Containerfile to build a container which provides a conveniant way to manage Buefield-2 (BF-2). Make sure that the underlying system has kernel-modules-extra installed (since cuse is a dependency) and run the container as follows (a build is available on quay.io):

sudo podman run --pull always --replace --pid host --network host --user 0 --name bf -dit --privileged -v /dev:/dev quay.io/bnemeth/bf

Tools

All the tools can directly be ran inside the container. All the tools automatically find and act on the first BF-2 in the system.

sudo podman exec -it bf <TOOL_NAME>
Tool Purpose
reset Reboots the BF-2.
listbf List all BF-2 on the system.
fwup Updates the firmware on the BF-2 to the latest.
fwversion Shows firmware version
console Starts a minicom console to access the BF-2.
pxeboot Starts a pxe server and tells BF-2 to boot from it. An coreos iso file needs to be passed.
fwdefaults Resets the firmware settings on the BF-2 to defaults.
bfb Downloads BFB images and sends it to the BF-2.
set_mode Sets the BF-2 mode to either dpu or nic. One argument is required
get_mode Gets the BF-2 mode.

The only tool that requires an argument is the pxeboot tool. It expect an iso file with coreos that should be booted through the rshim. The iso file can optionally be on an nfs mount point.

bluefield-2-tools's People

Contributors

bn222 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.