37 lines
751 B
Markdown
37 lines
751 B
Markdown
## 晨检仪项目源码
|
|
|
|
### 部署结构
|
|
|
|
> 除了 **SDK** 和 **GO 项目** 其他目录需要在指定位置。
|
|
|
|
```text
|
|
/home
|
|
├── thirdparty/ # thirdparty_20260323
|
|
├── arm-ca9-linux-gnueabihf-6.5/ # arm-ca9-linux-gnueabihf-6.5.tar
|
|
/usr/bin/make_ext4fs # make_ext4fs 文件夹里的可执行文件
|
|
```
|
|
|
|
### 依赖安装
|
|
```console
|
|
sudo apt install bzip2 device-tree-compiler gcc g++ make build-essential bison flex lz4 u-boot-tools mtd-utils libssl-dev
|
|
```
|
|
|
|
### 解压命令
|
|
```console
|
|
tar -jxvf xxx.tar.bz2
|
|
tar -xvf xxx.gz
|
|
```
|
|
|
|
### 设置
|
|
选择 no
|
|
```console
|
|
sudo dpkg-reconfigure dash
|
|
```
|
|
|
|
### 编译流程
|
|
进入 SDK 根目录下,执行下面命令
|
|
```console
|
|
source build/envsetup.sh
|
|
lunch
|
|
make
|
|
``` |