Tina Licheepi RV86系統(tǒng)體驗(yàn)
系統(tǒng)鏡像下載
百度云下載的:鏈接:https://pan.baidu.com/s/1QJTaDw6kkTM4c_GAlmG0hg
提取碼:wbef
燒錄系統(tǒng)鏡像
上述下載有工具PhoenixCard燒錄系統(tǒng)鏡像(tina_d1-nezha_uart0.img)到miniSD卡打開(kāi)燒錄軟件,選擇啟動(dòng)卡(不知道哪里寫(xiě)的,我燒錄量產(chǎn)是需要寫(xiě)NandFlahs才能啟動(dòng),板子沒(méi)有焊,所以啟動(dòng)不了,要遷啟動(dòng)卡)按順序點(diǎn)擊下圖按鍵進(jìn)行燒錄對(duì)應(yīng)鏡像
運(yùn)行Tina系統(tǒng)
燒錄后,插入Sipeed LicheeRV 86開(kāi)發(fā)板運(yùn)行體驗(yàn)一下吧
..............
BusyBox?v1.27.2?()?built-in?shell?(ash)
__??___?????_????????__???_???/??|/??/__?_(_)_?__??/?/??(_)__??__?____?__?????/?/|_/?/?_?`/?/??/?/?/__/?/?_?/?//?/??//_/ /_/_,_/_//__ /____/_/_//_/_,_//__
----------------------------------------------
Maix Linux (Neptune, 5C1C9C53)
----------------------------------------------
多么熟悉的Logo, 到這運(yùn)行tina系統(tǒng),完美結(jié)束了,下面體驗(yàn)一下Debian
Debian鏡像體驗(yàn)
燒錄LicheeRV_Debian_86_480p 為 480p的86盒板卡的debian鏡像燒錄完成后,插卡啟動(dòng),稍等2分鐘左右,屏幕上就會(huì)顯示登錄界面輸入用戶名 sipeed,密碼 licheepi,即可進(jìn)入桌面 (使用USB HOST口外接鍵鼠輸入,此操作相當(dāng)不爽,我還是喜歡ssh)進(jìn)入桌面后可以進(jìn)行一些基礎(chǔ)操作
登錄后
連接Debian,默認(rèn)是有線網(wǎng)絡(luò)
無(wú)線網(wǎng)絡(luò)開(kāi)不起來(lái),不知道 為什么,有知道的大神告訴一聲:
sipeed@sipeed:~$ ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.0.74 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::476:eeff:fe10:2e4e prefixlen 64 scopeid 0x20<link>
ether 06:76:ee:10:2e:4e txqueuelen 1000 (Ethernet)
RX packets 1189 bytes 113529 (110.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1159 bytes 120178 (117.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 62
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 8 bytes 400 (400.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 400 (400.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sipeed@sipeed:~$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill
可以使用apt安裝程序,可惜沒(méi)有RISV的源,愿以后會(huì)有吧
sipeed@sipeed:~$ sudo apt install wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package wget is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'wget' has no installation candidate
接下來(lái)讓我們嘗試在Debian下跑一下Hello World:
編譯運(yùn)行:
sipeed@sipeed:~$?gcc?-o?hello?hello.c
sipeed@sipeed:~$?./hello
Hello RISc-V Licheepi RV 86!!!!!!
sipeed@sipeed:~$
本來(lái)想就這樣開(kāi)發(fā)的,不用PC交叉編譯的,但大項(xiàng)目多線程編譯不過(guò), 有知道的大神告訴一聲謝謝
總結(jié)
Tina燒錄系統(tǒng)鏡像 運(yùn)行挺快的,Debina體驗(yàn)不爽, 這個(gè)MCU性能就不能運(yùn)行Debian了,又不能apt,可能RISC-V是新生事物吧,沒(méi)有源,希望后面會(huì)有RISC-V的源