On Fri, Jan 13, 2023 at 12:56:57PM +0000, Conor Dooley wrote: > > > On 13 January 2023 00:35:11 GMT, Bin Meng wrote: > >On Fri, Jan 13, 2023 at 2:03 AM Conor Dooley wrote: > >> > >> +CC Bin Meng > >> > > >> Bin Meng, you're listed as a supporter (in master anyway) but is that > >> still accurate? I figure there's a good chance it isn't anymore? > >> Have you tested the platform from HSS init at all lately? > > > >Yes, I am still maintaining the QEMU PolarFire SoC. The WiKi page > >listed the exact HSS version I tested and if it doesn't, it should be > >a regression in QEMU. If yes, I would like to have a look at that. > > That'd be great. > I submitted a few patches for fixing the direct kernel boot & hopefully > haven't broken anything! > I'll try to test it also, if I get some time. Gave 7.2.0 a go yesterday afternoon. The URL from the documentation is no longer accessible, I cannot wget the image! I'll try and find out what happened there, AFAIU that FTP is still in use, so dunno why that file doesn't seem to be there. I'll try to find out. I dug out the commit from the docs for the HSS, built that. Generated a payload using the nearest payload generator commit to that was compilable, which I passed as the image instead of the wic. The HSS would load, get as far as trying to extract the payload containing the next stage bootloader & fail. Specifically, it was complaining that the magic number for the payload was all zeros. Perhaps if you still have the original wic image you'll have more luck! Thanks, Conor. | qemu-system-riscv64 -M microchip-icicle-kit -smp 5 \ | -bios path/to/hss.bin -sd path/to/sdcard.img \ | -nic user,model=cadence_gem \ | -nic tap,ifname=tap,model=cadence_gem,script=no \ | -display none -serial stdio \ | -chardev socket,id=serial1,path=serial1.sock,server=on,wait=on \ | -serial chardev:serial1 btw, I built my QEMU with `./configure --target-list=riscv64-softmmu && make`, and got a complaint from the above command that user mode NICs were not present in my QEMU.