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

[other]: k230 可用的 debian 镜像在哪里 #30

Open
PPParticle opened this issue May 14, 2024 · 3 comments
Open

[other]: k230 可用的 debian 镜像在哪里 #30

PPParticle opened this issue May 14, 2024 · 3 comments
Assignees

Comments

@PPParticle
Copy link

Other

我尝试烧录了开发者社区内的debian镜像 canmv_debian_sdcard_sdk_1.3.img.gz,但是我进入系统查看 ssh 命令都没有,而且接hdmi根本无法显示,另外烧录k230_canmv_sdcard_v1.5_nncase_v2.8.1.img.gz这个,同样没有ssh,心好累

@PPParticle
Copy link
Author

另外,k230 如何编译 rvv 1.0, riscv64-unknown-linux-gnu-g++ -O3 -static -march=rv64imafdcv_zihintpause_zfh_zba_zbb_zbc_zbs_xtheadc -mabi=lp64d -mtune=c908 -Wconversion-null -flax-vector-conversions 编译出来的程序,illegal instruction

@wangjianxin-canaan
Copy link
Contributor

wangjianxin-canaan commented Jul 26, 2024

Other

我尝试烧录了开发者社区内的debian镜像 canmv_debian_sdcard_sdk_1.3.img.gz,但是我进入系统查看 ssh 命令都没有,而且接hdmi根本无法显示,另外烧录k230_canmv_sdcard_v1.5_nncase_v2.8.1.img.gz这个,同样没有ssh,心好累

debian和ubuntu参考如下命令安装下ssh就可以了
dhclient
date -s 20231027
apt-get update
apt-get install gcc
apt-get install ssh
apt-get install parted;parted /dev/mmcblk1 print; parted /dev/mmcblk1 resizepart 3 16G;resize2fs /dev/mmcblk1p3
scp [email protected]:~/t/a.c .
gcc a.c
./a.out

双系统镜像默认没有打开ssh,你把ssh打开,重新编译个版本就可以使用ssh了。

@wangjianxin-canaan
Copy link
Contributor

wangjianxin-canaan commented Jul 26, 2024

另外,k230 如何编译 rvv 1.0, riscv64-unknown-linux-gnu-g++ -O3 -static -march=rv64imafdcv_zihintpause_zfh_zba_zbb_zbc_zbs_xtheadc -mabi=lp64d -mtune=c908 -Wconversion-null -flax-vector-conversions 编译出来的程序,illegal instruction

c908有两个核,只在1核上有向量,双系统版本(linux+rtthrea),linux运行在0核(不带向量),如果你想在linux下测试向量,可以使用纯linux版本(https://kendryte-download.canaan-creative.com/developer/k230/linux_k230_canmv_v0.2_nncase_v0.0.0.img.gz)

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

4 participants