Quantcast
Viewing all articles
Browse latest Browse all 5127

SDK • Re: How debug a Pico without the elf?

I did use that link. What I'm trying to do is look into the bin file now to see how I set up the gpio I made changes to the layout and didn't have the good sense to write it down.
for that, objdump is far simpler

Code:

vc4-elf-objdump -D -b binary -m vc4 --adjust-vma=0x60000000 ~/apps/rpi/mask-rom.bin
something like this can fix the base addr and disassembly a binary file
then you just need to search for the addr of the gpio, and see what its writing
Okay how do I get vc4-elf-objdump I tried with objdump but it said

Code:

objdump: can't use supplied machine vc4
I tried to search apt for it but no luck, so I did a search for it by name online but objdump is returned so it's part of some other package that I need either compile myself or install and I just don't know what that would be.

Statistics: Posted by DarkElvenAngel — Mon Mar 18, 2024 5:33 pm



Viewing all articles
Browse latest Browse all 5127

Trending Articles