<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello Mario,</p><p class=MsoNormal>Did you try bringing up the complete bare metal environment in the Bare Metal Raspberry Pi 3b JTAG blog entry?</p><p class=MsoNormal>I would verify that that environment with the bare metal Aarch64 examples work before trying to get the 32 bit RTEMS binaries to work.</p><p class=MsoNormal>It seems like these should work on the Pi2 with the A53 cores</p><p class=MsoNormal><a href="https://metebalci.com/blog/bare-metal-rpi3-programming/">https://metebalci.com/blog/bare-metal-rpi3-programming/</a></p><p class=MsoNormal>But the UART example might not work due to the differences between how the uarts are used on the Pi2 and 3.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does the ARM multiarch GDB work with Aarch64? Maybe try the Aarch64 GDB mentioned in the bare metal RPI3 blog entry?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Alan</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:palomares.mario14@gmail.com">Mario Palomares</a><br><b>Sent: </b>Saturday, May 16, 2020 7:41 AM<br><b>To: </b><a href="mailto:users@rtems.org">users@rtems.org</a><br><b>Subject: </b>JTAG error with arm-rtems-gdb</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>I am tryining to debug RTEMS programs on mi RPI2 through a JTAG conexion with OpenOCD. Right now i have the connection correctly established and i can connect through a telnet client. Whenever I try to connect through arm-rtems5-gdb i get the following error</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>warning: while parsing target description (at line 4): Target description specified unknown architecture "aarch64"<br>warning: Could not load XML target description; ignoring<br>Truncated register 16 in remote 'g' packet</p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>The configuration file i use for the RPI can be found in this page </p></div><div><p class=MsoNormal><a href="https://metebalci.com/blog/bare-metal-raspberry-pi-3b-jtag/" target="_blank">https://metebalci.com/blog/bare-metal-raspberry-pi-3b-jtag/</a>. :</p></div><div><p class=MsoNormal>I canĀ“t use the configuration file proposed here:</p></div><div><p class=MsoNormal><a href="https://github.com/ppisa/rpi-utils/blob/master/jtag-debug/rpi2/rpi-jt_usb5.cfg" target="_blank">https://github.com/ppisa/rpi-utils/blob/master/jtag-debug/rpi2/rpi-jt_usb5.cfg</a> by Pavel because my RPI is a RPI2 v1.2 which has the same SoC that the RPI3. If i try Pavels configuration file the connection fails.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I have installed gdb multiarch and tried with it but no luck, when i set the architecture to aarch64 i get:</p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>warning: Architecture rejected target-supplied description<br>Truncated register 8 in remote 'g' packet</p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal>Any ideas how to get arround this ?</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>