Skip to content

flashstub: Fix ELF to hexdump conversion#2188

Open
dsdve wants to merge 1 commit intoblackmagic-debug:mainfrom
dsdve:fix/flashstub-build
Open

flashstub: Fix ELF to hexdump conversion#2188
dsdve wants to merge 1 commit intoblackmagic-debug:mainfrom
dsdve:fix/flashstub-build

Conversation

@dsdve
Copy link

@dsdve dsdve commented Feb 3, 2026

Detailed description

Meson is currently set up to build hexdumps of entire ELF files instead of just the relevant part of the binary (which is the .text section in all cases).

This adds an intermediate objcopy to extract the section in binary format and directs that to the hexdump step to produce the correct output.

Your checklist for this pull request

Closing issues

None.

Copy link
Member

@dragonmux dragonmux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got only the one review note and with that addressed, we'll be happy to merge this.

@dragonmux dragonmux added this to the v2.1 release milestone Feb 3, 2026
@dragonmux dragonmux added Bug Confirmed bug BMP Firmware Black Magic Probe Firmware (not PC hosted software) Build system Build system labels Feb 3, 2026
@dsdve dsdve force-pushed the fix/flashstub-build branch from 3ca8674 to cc4ff05 Compare February 4, 2026 19:01
@dsdve dsdve requested a review from dragonmux February 4, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BMP Firmware Black Magic Probe Firmware (not PC hosted software) Bug Confirmed bug Build system Build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants