Giter VIP home page Giter VIP logo

milkv-zephyros's Introduction

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

milkv-zephyros's People

Contributors

kinsamanka avatar

Stargazers

flyingcys avatar Shicheng Chu avatar Lovro Oreskovic avatar Bai Feng avatar Rein Fernhout avatar  avatar TianShuang Ke avatar md avatar Chclk avatar Peter Lin avatar  avatar Vitaliy Suchkov avatar  avatar Guilherme Freire avatar Juri Hahn avatar Wesley Moore avatar sczh01 avatar Ezio avatar  avatar

Watchers

 avatar

milkv-zephyros's Issues

west update -o=--depth=1 error

The following problem occurs when I run west update -o=--depth=1

west update -o=--depth=1
=== updating zephyr (zephyr):
HEAD is now at 468eb56cf release: Zephyr v3.6.0
=== updating libmetal (modules/hal/libmetal):
--- libmetal: fetching, need revision 243eed541b9c211a2ce8841c788e62ddce84425e
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
=== updating open-amp (modules/lib/open-amp):
--- open-amp: fetching, need revision da78aea63159771956fe0c9263f2e6985b66e9d5
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), 155 bytes | 155.00 KiB/s, done.
ERROR: update failed for projects: libmetal, open-amp

What should I do to solve it

cmake -B build blinky error

I have a new problem

$ cmake -B build blinky 
CMake Error at CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "Zephyr" with any
  of the following names:

    ZephyrConfig.cmake
    zephyr-config.cmake

  Add the installation prefix of "Zephyr" to CMAKE_PREFIX_PATH or set
  "Zephyr_DIR" to a directory containing one of the above files.  If "Zephyr"
  provides a separate development package or SDK, be sure it has been
  installed.
-- Configuring incomplete, errors occurred!

What should I do to solve it

Send upstream?

Everything looks very well implemented using Zephyr APIs.
Was there a reason for keeping it as a module?
This could be well received upstream!
Thank you for this great project!

Is this compatible with milkv duo 256m version?

@kinsamanka

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.