Skip to content

kinsamanka/milkv-zephyros

Repository files navigation

Requirements

Steps

  • 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
    

Note

  • The OpenAMP sample needs an updated remoteproc and mailbox drivers. The sources can be found here

About

Zephyr OS running on Milk-V Duo secondary processor

Resources

License

Stars

Watchers

Forks

Packages

No packages published