/tinyboot

Builds and bootable partition tools.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

tinyboot

go.dev reference Go Report Card codecov Go

Tools for working with program builds and bootable partitions.

How to install package with newer versions of Go (+1.16):

go mod download github.com/soypat/tinyboot@latest

Package layout

There are two main top level packages:

  • boot: Concerns storage formats for booting a computer such as MBT, GPT and Raspberry Pi's picobin format.

    • boot/mbr: Master Boot Record Partition Table interfacing.
    • boot/gpt: GUID Partition Table interfacing.
    • boot/picobin: Raspberry Pi's bootable format for RP2350 and RP2040.
  • build: Concerns manipulation of computer program formats such as ELF and UF2.

    • build/elfutil: Manipulation of ELF files that works on top of debug/elf standard library package.
    • build/uf2: Manipulation of Microsoft's UF2 format

picobin tool

picobin tool permits users to inspect RP2350 and RP2040 binaries which are structured according to Raspberry Pi's picobin format.