- Zephyr development environment: Follow Getting Started Guide
- Milk-V Duo: Install the latest image
- Clone repo
git clone https://github.com/kinsamanka/milkv-zephyros
- Build firmware
cd milkv-zephyros west init -l manifest-repo west update cmake -B build <blinky or openamp> make -C build
- Install firmware
scp -O build/zephyr/zephyr.elf root@<milk-v ip addr>:/lib/firmware
- Run
ssh root@<milk-v ip addr> echo stop > /sys/class/remoteproc/remoteproc0/state echo -n zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware echo start > /sys/class/remoteproc/remoteproc0/state
- The OpenAMP sample needs an updated
remoteproc
andmailbox
drivers. The sources can be found here