-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add binary info to link to additional images #591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
so a "there's another executable at this fixed address" BI type? - and it'd just look within that for a binary info root as it does with the start of flash? |
Yes, exactly. The flashloader knows that the main application should be at 0x1001000, so it could just include that pointer. In my case, chaining would be sufficient but I could imagine a scenario where, for example, the flashloader (or similar) could decide at boot time which application image to boot (from a selection of fixed addresses). In that case you'd want to be able to list the addresses of all the application images in the flashloader. |
GRUB for RP2040? 😉 EDIT: I've just read through your flashloader README, and it sounds pretty neat 👍 🙂 |
I've no idea whether that's either feasible or practical but I can certainly imagine a multi-stage bootloader/flashloader (since I've been there and done that).
Thank you! I've no doubt it could be improved on but I tried to make it as usable as possible. Either directly or as a basis for going in a different direction. |
Moving this out of the closing 1.3.0 ... need to think some more about use cases. I did start and added a link to a physical address with flags. those included whether to show the target program ahead of the source in picotool (or whether to hide the source completely). this would allow you to link to multiple sub images, but we might want more control... |
I guess this links to raspberrypi/picotool#82 |
I've implemented a flashloader similar to what was suggested in #545 and noticed that using pico-tool to read what's flashed only returns information about the flashloader.
It would be nice if a binary info field could be used to chain from one image to the next so that pico-tool could also show information about the main application (or additional images if appropriate).
From my limited understanding of how the binary info fields work, this could be done by a third-party but it would be nice to have the functionality directly in pico-tool.
The text was updated successfully, but these errors were encountered: