I have flashed the release milk-v duo sd image (milkv-duo_sdcard.img), however the uart cant output the normal info, the Bps is 115200, is there anything wrong with my step?
the output garbled, it is interesting, reflashed the sd image and changed another uart adapter it works, and changed uart adapter back again, it also worked, anyway thks for your advice.
have you tried to port remoteproc to develop branch (duildroot-sdk), I have cherrt-picked the1c655766bebffe3d377b0a7f70c1ec2654157f11 into develop branch, but I cant echo stop into " echo stop > /sys/class/remoteproc/remoteproc0/state
sh: write error: Invalid argument"
Hi, I am new to riscV and zephyr, I was wondering if this project was compatible with the MilkV duo 256m version of the board. I guess its not because milkv duo 256m is based on sg2002 soc not on CV1800B like the duo. In case it’s not compatible, which steps should I follow, or which steps did you follow to add compatibility to this board ?
I am interested in doing some academic research on it, any information is useful thank you.
So the problem was actually very simple (my own fault as it was perfectly described in this post), as I was echoing the wrong firmware name to sys/class/remoteproc/remoteproc0/firmware. Error -2 in remoteproc means it cant find the file. Remoteproc looks for the filename written into sys/class/remoteproc/remoteproc0/firmware in the /lib/firmware directory.
After that, renaming it correctly it did work, so I guess this is also valid for duo 256m (at least the blinky example).
One thing to consider also, is that in order to load any firmware to the small core with remoteproc, the file has to declare a .resource_table section (you can check that with readelf -S zephyr.elf), else remoteproc will throw error -22.