Hello
I recently acquired a PolarFire Icicle Kit and intend to run Keystone on it.
At first I tried to follow Gui Andrade's guide, but it didn't compile. My guess is it was intended for an old version of Keystone (<1.x?) and/or the Icicle kit software.
After a lot of headache, and without much conviction, I copied the Keystone image created for qemu (following Keystone documentation) on my sdcard, inserted it in the Icicle kit, and it worked! Keystone seems to have booted up correctly.
Please take a look at the attached UART 0 & 1 outputs.
Loading the keystone driver doesn't work yet,:
# insmod keystone-driver.ko
[ 357.818243] keystone_driver: version magic '5.7.0-dirty SMP mod_unload riscv' should be '5.15.32-linux4microchip+fpga-2022.05 SMP mod_unload riscv'
[ 357.848691] keystone_driver: version magic '5.7.0-dirty SMP mod_unload riscv' should be '5.15.32-linux4microchip+fpga-2022.05 SMP mod_unload riscv'
insmod: can't insert 'keystone-driver.ko': invalid module format
Now I need to find where to fiddle with to solve this issue.