Skip to content

Burn DeepCamera into Rockpro64 (Chn)

Simba Zhang edited this page Mar 25, 2019 · 1 revision

目前rockpro64支持2种方式启动sharpai,安装方法看下面,选择一种就行不需要都做

1 从eMMC启动(推荐使用这个)

2 从外接tf卡启动

刷机工具和镜像链接: https://pan.baidu.com/s/1lN7JhZBJcvQSuis4nmX47g 提取码: 1zjv

rockpro64


1 sharpai安装到emmc

1-1 硬件准备:

A:使用+12V电源
B:1张大于等于8G的tf/miniSD卡
C:rockpro64在断电的时候安装eMMC模块
D:Ubuntu的PC环境(用来制作可启动的tf卡)
E:有一个跳线帽,用来短接排针

1-2 制作可以启动的tf卡

PC机上执行刷SD卡的命令,sharpai_rockpro64_installer.tgz 是下载的刷机工具包,链接在文档的开头

$ tar -zxvmf sharpai_rockpro64_installer.tgz
$ cd sharpai_rockpro64_installer
$ sudo ./sdinstaller.sh 

选择目标卡,比如我的是sdb,那么按1

-----------------------------------------
found disks: 
-----------------------------------------
> 0 sda	465.762 GByte		(removable )	mounted
> 1 sdb	59.625 GByte		(removable )	free

choose which disk to install sharpai, ctrl+c to abort
disk number: 1

再次确认,千万不要搞错了, 搞错会损毁其他磁盘!!!!

-----------------------------------------
need confirmed: 
-----------------------------------------
chose this disk to install sharpai?  ctrl+c to abort
> 1 sdb	59.625 GByte		(removable )	free

y/n ? :y

刷完之后显示这个

-----------------------------------------
install installer to /dev/sdb succeeded 

把下载来的eMMC刷机包放到Tf的data目录,eMMC刷机包sharpai_rockpro64.tgz在百度网盘下载,链接在文档开头

$ cp sharpai_rockpro64.tgz /media/lambda/c94f05fe-1f5a-4f52-8c6a-351b5810317f/data/

1-3 刷eMMC

1>:接显示器插入上面制作的tf卡
2>:短接跳线,插电源启动(短接的位置是图上16这个地方)
3>:系统启动之后接鼠标键盘,显示器上登录(用户名sharpai,密码123456)(如果没有显示器在浏览器打开http://192.xxx.xxx.xxx也能看到终端,192.xxx.xxx.xxx是你的rockpro64的Ip)
4>:松开跳线
5>:执行命令刷系统

刷机命令:

$ cd /data
$ tar -zxmf sharpai_rockpro64.tgz
$ cd  sharpai_rockpro64
$ sudo ./install_to_emmc.sh

选择eMMC,注意是mmcblk1, 也就是按1

-----------------------------------------
found disks:
-----------------------------------------
Unbinding...
Binding...
> 0 mmcblk0     59.625 GByte            (removable )    free
> 1 mmcblk1     28.9062 GByte           (removable )    free

choose which disk to install sharpai, ctrl+c to abort
disk number: 1

再次确认

-----------------------------------------
need confirmed:
-----------------------------------------
chose this disk to install sharpai?  ctrl+c to abort
> 1 mmcblk1     28.9062 GByte           (removable )    free

y/n ? :y

刷机需要大约15分钟,请耐心等待刷完之后显示:

-----------------------------------------
install sharpai to /dev/sdb succeeded !

6> 刷完之后拔掉电源,拔出Tf卡,然后插电源启动


2 sharpai安装到Tf卡 (如果已经安装到eMMC,这步不需要了)

2-1 硬件准备:

A:使用+12V电源
B:1张大于等于8G的tf/miniSD卡
C:rockpro64在断电的时候安装eMMC模块
D:Ubuntu的PC环境(用来制作可启动的tf卡)
E:有一个跳线帽,用来短接排针

2-2 安装到Tf卡:

PC机器上刷Tf卡,sharpai_rockpro64.tgz 是下载的刷机工具包,链接在文档的开头

$ tar -zxmf sharpai_rockpro64.tgz
$ cd  sharpai_rockpro64
$ sudo ./sdinstaller.sh 

选择目标卡,比如我的是sdb,那么按1

-----------------------------------------
found disks: 
-----------------------------------------
> 0 sda	465.762 GByte		(removable )	mounted
> 1 sdb	59.625 GByte		(removable )	free

choose which disk to install sharpai, ctrl+c to abort
disk number: 1

再次确认,千万不要搞错了, 搞错会损毁其他磁盘!!!!

-----------------------------------------
need confirmed: 
-----------------------------------------
chose this disk to install sharpai?  ctrl+c to abort
> 1 sdb	59.625 GByte		(removable )	free

y/n ? :y

刷完之后显示这个

-----------------------------------------
install sharpai to /dev/sdb succeeded 

然后把这张Tf卡插到rockpro64,拔掉eMMC或者接上跳线帽到图上的16处,插电sharpai就启动了