retpolanne blog

Your friendly programmer catgirl 🏳️‍⚧️😺

15 December 2023

Raspberry Pi CM4 and OpenOCD

by Anne Macedo

I’m trying to debug the Renesas XHCI bug using the Raspberry Pi CM4 (which has a PCI interface). However, it doesn’t support IOMMU, so I can’t debug using QEMU… I bought a JTAG then and I’m going to use it with OpenOCD :)

Installing GDB Multiarch on Arch Linux

yay -S gdb-multiarch

I’ve built openocd from the source.

References

[1] https://linaro.atlassian.net/wiki/x/CJzH4wU

tags: embedded - jtag