東山派K230 雙系統 無法進入Linux

Viewed 76

`不論是使用下載的image 還是用sdk編譯的, 開機後, UART0 顯示的不是Linux
硬件是東山派CanMV V2

9 Answers

你好,请问你烧录或者烧录得是什么镜像和sdk?

请补充下“下載的image”的路径,还有uart0的输出log

root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output# ls -l
total 4
drwxr-xr-x 6 root root 4096 Aug 11 16:47 k230_canmv_dongshanpi_defconfig
root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output# cd k230_canmv_dongshanpi_defconfig/
root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output/k230_canmv_dongshanpi_defconfig# ls -l
total 16
drwxr-xr-x 4 root root 4096 Aug 11 16:18 big
drwxr-xr-x 5 root root 4096 Aug 11 16:19 common
drwxr-xr-x 4 root root 4096 Aug 12 16:26 images
drwxr-xr-x 5 root root 4096 Aug 11 16:46 little
root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output/k230_canmv_dongshanpi_defconfig# cd images
root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output/k230_canmv_dongshanpi_defconfig/images# ls -l
total 250532
drwxr-xr-x 5 root root 4096 Aug 12 16:26 big-core
lrwxrwxrwx 1 root root 22 Aug 12 16:26 k230_canmv_dongshanpi_sdcard__nncase_v2.9.0.img.gz -> sysimage-sdcard.img.gz
drwxr-xr-x 7 root root 4096 Aug 12 16:26 little-core
-rw-rw-rw- 1 root root 570442240 Aug 12 16:26 sysimage-sdcard.img
-rw-rw-rw- 1 root root 67294411 Aug 12 16:26 sysimage-sdcard.img.gz
root@1cf76ec2c3cb:/home/ubuntu/k230_sdk/output/k230_canmv_dongshanpi_defconfig/i

SDK就是到韋東山網站下載的VMWare裡面的

U-Boot SPL 2022.10 (Aug 12 2025 - 16:25:23 +0800)
ddr 1866
00000000: PMU Major Msg: End of CA training
00000000: PMU Major Msg: End of initialization
00000000: PMU Major Msg: End of read enable training
00000000: PMU Major Msg: End of fine write leveling
00000000: PMU Major Msg: End of read dq deskew training
00000000: PMU Major Msg: End of MPR read delay center optimization
00000000: PMU Major Msg: End of Write leveling coarse delay
00000000: PMU Major Msg: End of write delay center optimization
00000000: PMU Major Msg: End of read delay center optimization
00000000: PMU Major Msg: End of max read latency training
00000000: PMU Major Msg: Firmware run has completed
Loading Environment from MMC... OK
sys 0 load error ret=5

U-Boot 2022.10-00015-gcf105752 (Apr 22 2025 - 02:23:12 -0400)

CPU: rv64imafdcvsu
Model: kendryte k230 canmv dongshanpi 512MiB
DRAM: 1 GiB
icre: 25 devices, 13 uclasss, dev
eOtrepe: embeedn
SMMBC: I v1.2.2
heap: [0x00467mf4m0c 0@- 910x58020046070f: 400,], msmic1ze@9 1325876108 00KB:
ap
gLeoa:d [in0xg 02En46vi7fro48nm -en 0t x0frffofme Mc0MC0].,. . size 224859 KB
lwIP-2.1.2 initialized!
[I/SDIO] emmc card capacity 15267840 KB, card sec count:30535680.
found part[0], begin: 52428800, size: 10.0MB
found part[1], begin: 62914560, size: 500.0MB
found part[2], begin: 1073741824, size: 13.573GB
[E/drv_touch] touch probe failed.
[I/sal.skt] Socket Abstraction Layer initialize success.
Can't find sensor on csi0
Can't find sensor on csi1
find sensor(gc2093_csi2) on csi2
vicap_mcm_initno vg_lite_init library!

#############SDK VERSION######################################
SDK : v1.2.2-20250422-022349-ubuntu-ubuntu2004-3cbf664
CanMV : v1.2.2-20250422-022349-ubuntu-ubuntu2004-1f2e9c8
nncase: 2.9.0
##############################################################
msh />IDE debugger built Apr 22 2025 02:24:04
[W/USB] read timeout
[mpy] enter repl

请检查下启动管脚是否正确,东山派支持emmc或tf卡启动,看打印,应该不是你编译的版本,Apr 22 2025

檢查很多次了, 啟動館腳都是OFF.使用TF啟動.

東山派最近有改版, 會不會是這因素.

因為其網頁中, 燒錄資料部分並沒有分新舊版, 但硬體是有差別的.

估计启动管脚搞错了,拔掉tf卡还能启动吗?

剛用Linux開機(SD卡) 是成功的

SD使用Linux開機 然後CP雙系統到emmc,可以開機了