Add "-b <addr>" option to elf2uf2 #1071

Closed
opened 2022-10-18 10:03:36 -05:00 by esky-software · 6 comments
esky-software commented 2022-10-18 10:03:36 -05:00 (Migrated from github.com)

The input file is treated as a binary blob to be packaged at the specified address.

Handy when the application expects to find data at a known location in flash.
e.g. Config data, display resources, etc.

The input file is treated as a binary blob to be packaged at the specified address. Handy when the application expects to find data at a known location in flash. e.g. Config data, display resources, etc.
kilograham commented 2022-10-21 08:24:46 -05:00 (Migrated from github.com)

Note there is a python script to do that here https://github.com/microsoft/uf2/

Note there is a python script to do that here `https://github.com/microsoft/uf2/`
esky-software commented 2022-10-21 08:40:35 -05:00 (Migrated from github.com)

Heh, so there is: https://github.com/microsoft/uf2/blob/master/utils/uf2conv.md
Feel free to merge or close the PR as you see fit.

Heh, so there is: https://github.com/microsoft/uf2/blob/master/utils/uf2conv.md Feel free to merge or close the PR as you see fit.
kilograham commented 2022-10-21 08:44:09 -05:00 (Migrated from github.com)

Yeah - it is a nice idea, but feels a bit weird in a tool called elf2uf2... but we will add such support if we have reason to add functionality related to making UF2s in the future

Yeah - it is a nice idea, but feels a bit weird in a tool called `elf2uf2`... but we will add such support if we have reason to add functionality related to making UF2s in the future
mrdudz commented 2022-10-31 09:41:35 -05:00 (Migrated from github.com)

I repeat the request - i use it so users can flash an extra file with some custom config data to the end of the flash without needing to update the entire firmware. So far using a little custom tool, but being able it with what is in the sdk would be cleaner.

I repeat the request - i use it so users can flash an extra file with some custom config data to the end of the flash without needing to update the entire firmware. So far using a little custom tool, but being able it with what is in the sdk would be cleaner.
lurch commented 2024-11-11 04:02:01 -06:00 (Migrated from github.com)

@will-v-pi Has this been "fixed" in picotool? I guess at the very least, this issue ought to be moved over to that repo?

@will-v-pi Has this been "fixed" in picotool? I guess at the very least, this issue ought to be moved over to that repo?
will-v-pi commented 2024-11-11 04:04:07 -06:00 (Migrated from github.com)

Yes, it’s been added - the option is -o. I closed the PR but missed this issue

Yes, it’s been added - the option is `-o`. I closed the PR but missed this issue
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#1071
No description provided.