daniel-k / rpi3-aarch64-jtag

Starting point for bare metal development and JTAG debugging on Raspberry Pi 3.
26 stars 10 forks source link

fixed startup.asm to stop all cores except one #5

Closed andreaslindner closed 6 years ago

andreaslindner commented 6 years ago

Hi Daniel,

I couldn't get your code to run properly, probably the bootcode.bin provided by the Raspberry Pi foundation changed or something. It seems like that all four cores run and start executing the code, using the same stack pointer and everything. I had multiple times the same four letters in the output and then a lot of them were skipped.

Anyways after adding these lines, the output looks smooth at least. I'll move on with testing JTAG now.

Best, Andreas

andreaslindner commented 6 years ago

Yes, of course! I also added the required target selection to make JTAG work. It was necessary to select core0 first in OpenOCD.

daniel-k commented 6 years ago

Cool! Thanks for taking the time 👍 Ready to merge?

andreaslindner commented 6 years ago

Yes, I'm just looking into whether it's easily possible to turn on the LED. You know, just to have it nice ;). But we can make this a separate merge if I manage.