Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-06-01 Thread Rahul Pathak
I swapped the serial_hd() index between the MMUART0 and MMUART1 , so my default qemu console is the MMUART1. I can see the U-Boot and Kernel logs now. I still need both serial consoles for HSS and UBoot/Kernel and will need your help to make the original qemu command line work with unix\#serial1.s

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-06-01 Thread Rahul Pathak
Hi Bin, Thanks for the response. I think the issue currently is that if I keep the "wait=on" and launch minicom on "unix\#serial1.sock" then nothing happens. Qemu keeps waiting for the connection on serial1 and no logs for uboot and Kernel appears on the serial1. Thanks Rahul On Tue, Jun 1, 20

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-06-01 Thread Bin Meng
Hi Rahul, On Tue, Jun 1, 2021 at 11:12 AM Rahul Pathak wrote: > > Hi BIn,Alistair, > > I was passing the hss.elf file and it was strange that gdb after connecting > was not letting the target to continue from gdb. This is the expected behavior if you pass an image to gdb before connecting to th

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Rahul Pathak
Hi BIn,Alistair, I was passing the hss.elf file and it was strange that gdb after connecting was not letting the target to continue from gdb. what worked was to not pass anything and then connect the to target then load the symbol file as hss.elf. I followed the steps from the "Attaching the GDB"

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Bin Meng
Hi Rahul, On Mon, May 31, 2021 at 10:43 PM Rahul Pathak 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

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Alistair Francis
On Tue, Jun 1, 2021 at 12:43 AM Rahul Pathak 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 buil

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Alistair Francis
On Tue, Jun 1, 2021 at 12:06 AM Rahul Pathak wrote: > > I followed the same link. I will elaborate what is happening at my end - > > First - > Used the same versions as per the doc. Built HSS 2020.12 and used > core-image-minimal-dev-icicle-kit-es-sd-20201009141623.rootfs.wic. > Upon executing th

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Rahul Pathak
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. On Mon, May 31, 2021 at 7:37 PM Rahul Pathak wrote: > I follo

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-31 Thread Rahul Pathak
I followed the same link. I will elaborate what is happening at my end - *First* - Used the same versions as per the doc. Built HSS 2020.12 and used core-image-minimal-dev-icicle-kit-es-sd-20201009141623.rootfs.wic. Upon executing the qemu launch command as per the doc, it's just waits for the con

Re: HSS Issue with GCC 10, Qemu Setup for microchip-icicle-kit

2021-05-30 Thread Bin Meng
Hi Rahul, On Mon, May 31, 2021 at 1:08 AM Rahul Pathak wrote: > > Hi Bin, > > I was reading a github issue which you raised for the issue with HSS because > of GCC 10.1. Its pretty old and not sure what has changed so I thought to ask > you over email for help. The HSS issue of GCC 10.1 was al