Skip to content

GabrielBFern/bl-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bl-tools

Easily get various tools for flashing and developing the BL808 with Nix.

Usage

Enter a shell with all the tools in PATH:

nix develop github:zebreus/bl-tools

You can also run individual commands like this:

# Run the BLDevCube tool
nix run github:zebreus/bl-tools#BLDevCube

# Run bouffalo-loader
nix run github:zebreus/bl-tools#bouffalo-loader

# Run the bouffalo-loader fork of orangecms. For flashing 2 firmwares at once.
nix run github:zebreus/bl-tools#bouffalo-loader-extended

# Run bflb-mcu-tool
nix run github:zebreus/bl-tools#bflb-mcu-tool

# Run bflb-iot-tool
nix run github:zebreus/bl-tools#bflb-iot-tool

# Run print_boot_header from bl808-utils
nix run github:zebreus/bl-tools#print_boot_header

# Run gen_boot_header from bl808-utils
nix run github:zebreus/bl-tools#gen_boot_header

# Run BLFlashCommand
nix run github:zebreus/bl-tools#BLFlashCommand

# Run bflb_fw_post_proc
nix run github:zebreus/bl-tools#bflb_fw_post_proc

# Run BLFlashCube
nix run github:zebreus/bl-tools#BLFlashCube

About

I wrote this flake to be able to work with the BL808 on Nixos, but it should also work on any other Linux system that supports Nix.

The packaging is, for the most part, really hacky because I just wanted to get them to work, and the flashing utilities are only available as precompiled binaries or Python packages that modify their own environment.

About

Run various tools for flashing and developing the BL808 with nix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%