Hi Rahul, On Mon, May 31, 2021 at 10:43 PM Rahul Pathak <rpathakmail...@gmail.com> wrote: > > On top of that, it seems I cannot connect with the target using gdb > > (gdb) target remote :1234 > Remote debugging using :1234 > bfd requires flen 8, but target has flen 0 > > Though the ABI is lp64 and ISA is rv64imac when the hss was built. >
Did you feed gdb the image you wanted to debug before "target remote:"? The PolarFire SoC has 1+4 HARTs and you should follow the instructions @ https://wiki.qemu.org/Documentation/Platforms/RISCV#Attaching_GDB to do the debug. Regards, Bin