Open source version of Bouffalo SDK in a docker container
Go to file
2023-04-27 09:23:46 -07:00
Dockerfile allow rootless podman flash command 2023-04-27 09:23:46 -07:00
entrypoint add Dockerfile/entrypoint 2023-04-25 21:49:49 -07:00
LICENSE add license 2023-04-25 21:49:21 -07:00 add README 2023-04-26 10:59:11 -07:00

Bouffalo Lab (mostly) open SDK, as a docker image

This is available prebuilt for SDK revision 2f6477f at:

The docker image is meant to alleviate download and use of the Bouffalo Lab SDK

Due primarily to the requirement of a fairly new version of cmake, this is based on Debian Bookworm, which is currently in testing.

Leveraging the work done in the Xuantie GNU Toolchain docker image allows this image to eliminate most binary blobs. Remaining binary blobs in use include the WiFi and the BLE drivers, all other binaries are removed during image build.

The Dockerfile includes all details, but the general image build process performs the following actions:

  • Download specific versions of the SDK itself, the decompiled post-process tool, and the decompiled flashing tool
  • Remove all tool binaries from the SDK
  • Reconfigure cmake files to use the open source/system provided tooling
  • Establish an entrypoint to allow easy compilation


The entrypoint is set up to call make. The intended usage is to run the image from within your source directory.


docker run --rm -t -v $(pwd):/build flash BOARD=bl616dk CHIP=bl616


docker run --rm --device /dev/ttyACM0 -v $(pwd):/build flash BOARD=bl616dk CHIP=bl616 COMX=/dev/ttyACM0