Skip to content
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

idf.py coredump-info should accept .elf file as command line parameter to allow standalone usage (IDFGH-12407) #13433

Closed
SukuWc opened this issue Mar 21, 2024 · 2 comments
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Feature Request Feature request for IDF

Comments

@SukuWc
Copy link

SukuWc commented Mar 21, 2024

Is your feature request related to a problem?

I want to decode a large batch of coredump binaries retrieved from users using many versions of the firmware. For that I have the .elf file for all of the builds matched to each cordump binary. I want to call idf.py coredump-info -c coredump.bin but it only works if I manually copy the .elf to the build folder beforehand.

Describe the solution you'd like.

idf.py coredump-info should be able to get .elf path via command line parameter

Describe alternatives you've considered.

No response

Additional context.

No response

@SukuWc SukuWc added the Type: Feature Request Feature request for IDF label Mar 21, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 21, 2024
@github-actions github-actions bot changed the title idf.py coredump-info sould accept .elf file as command line parameter to allow standalone usage idf.py coredump-info sould accept .elf file as command line parameter to allow standalone usage (IDFGH-12407) Mar 21, 2024
@igrr
Copy link
Member

igrr commented Mar 21, 2024

I think for this type of usage, you can use the esp-coredump tool directly. idf.py integration is only meant to support use cases occurring in a development environment. Besides, if you use esp-coredump, you don't need to install the whole ESP-IDF on the server where you will process the coredumps.

@dobairoland
Copy link
Collaborator

I see this advise is missing from the documentation. We'll update it....

@dobairoland dobairoland changed the title idf.py coredump-info sould accept .elf file as command line parameter to allow standalone usage (IDFGH-12407) idf.py coredump-info should accept .elf file as command line parameter to allow standalone usage (IDFGH-12407) Mar 25, 2024
@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development and removed Status: Opened Issue is new labels Mar 25, 2024
@espressif-bot espressif-bot added Status: In Progress Work is in progress Status: Reviewing Issue is being reviewed and removed Status: Selected for Development Issue is selected for development Status: In Progress Work is in progress labels Apr 3, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable Resolution: Done Issue is done internally and removed Status: Reviewing Issue is being reviewed Resolution: NA Issue resolution is unavailable labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Feature Request Feature request for IDF
Projects
None yet
Development

No branches or pull requests

5 participants