Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiments with Small Devices : Kendryte K210 #28

Open
antoinecarme opened this issue Oct 23, 2020 · 5 comments
Open

Experiments with Small Devices : Kendryte K210 #28

antoinecarme opened this issue Oct 23, 2020 · 5 comments

Comments

@antoinecarme
Copy link
Member

See #25

This is a place holder for all Kendryte K210 specific notes/ideas.

https://www.canaan.io/product/kendryteai

@antoinecarme
Copy link
Member Author

antoinecarme commented Oct 23, 2020

K210 can run a small linux (no memory management unit).

image

https://www.cnx-software.com/2020/02/17/how-to-build-run-linux-on-kendryte-k210-risc-v-nommu-processor/

@antoinecarme
Copy link
Member Author

Sipeed MAIX Dock K210 AI+lOT deep learning vision

image

@antoinecarme
Copy link
Member Author

image

@antoinecarme
Copy link
Member Author

>>> machine.reset()

[MAIXPY]Pll0:freq:832000000
[MAIXPY]Pll1:freq:398666666
[MAIXPY]Pll2:freq:45066666
[MAIXPY]cpu:freq:416000000
[MAIXPY]kpu:freq:398666666
[MAIXPY]Flash:0xc8:0x17
open second core...
gc heap=0x802ece50-0x8036ce50(524288)
[MaixPy] init end

 __  __              _____  __   __  _____   __     __
|  \/  |     /\     |_   _| \ \ / / |  __ \  \ \   / /
| \  / |    /  \      | |    \ V /  | |__) |  \ \_/ /
| |\/| |   / /\ \     | |     > <   |  ___/    \   /
| |  | |  / ____ \   _| |_   / . \  | |         | |
|_|  |_| /_/    \_\ |_____| /_/ \_\ |_|         |_|

Official Site : https://www.sipeed.com
Wiki          : https://maixpy.sipeed.com

MicroPython v0.4.0-87-g42e92b235-dirty on 2019-11-07; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>> os.uname()
(sysname='MaixPy', nodename='MaixPy', release='0.4.0', version='v0.4.0-87-g42e92b235-dirty on 2019-11-07', machine='Sipeed_M1 with kendryte-k210')
>>> 
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.90 | VT102 | Offline | ttyUSB0                                       
    

@antoinecarme
Copy link
Member Author

The goal is to replace stock K210 firmware with a custom firmware based on the model C++ code compiled using a gcc cross-compiler for riscv.

stock firmware (micropyhton):

https://maixpy.sipeed.com
https://github.com/sipeed/MaixPy

cross compiler :

https://github.com/kendryte/kendryte-gnu-toolchain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant