mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
Added instructions on disassembly to the README for Linux.
This commit is contained in:
parent
5f0edbd825
commit
4b22d137f8
@ -27,6 +27,18 @@ The device tree files for the various FPGA's Wally supports, as well as QEMU's d
|
||||
Or for the default buildroot location:
|
||||
|
||||
$ make generate
|
||||
|
||||
The .dts files will end up in the `<BUILDROOT>/output/images` folder of your chosen buildroot directory.
|
||||
|
||||
## Disassembling the Binaries for Debugging
|
||||
|
||||
By using the `riscv64-unknown-elf-objdump` utility, we can disassemble the binaries in `<BUILDROOT>/output/images` so that we can explore the resulting machine code instructions and see what assembly or C code the instructions came from, along with the corresponding addresses. This is useful during debugging in order to trace how code is being executed.
|
||||
|
||||
To create the disassembled binaries, run:
|
||||
|
||||
$ make disassemble BUILDROOT=path/to/buildroot
|
||||
|
||||
You'll find the resulting disassembled files in `<BUILDROOT>/output/images/disassembly`.
|
||||
|
||||
## Creating a Bootable SD Card
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user