赞
踩
06-20210308华为海思Hi3516DV300鸿蒙系统的uboot编译
https://blog.csdn.net/qq_31765191/article/details/109459093
【HarmonyOS HiSpark IPC DIY Camera试用连载3 】如何编译uboot
https://bbs.elecfans.com/jishu_1992908_1_1.html
[资料] 【HarmonyOS HiSpark AI Camera】HiSpark AI Camera U-boot编译
1、鸿蒙OS编译uboot的makefile位置:vendor/hisi/hi35xx/hi3516dv300/uboot
打开terminal
输入make all编译uboot
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ ll
total 192
drwxr-xr-x 30 rootroot rootroot 4096 3月 8 09:51 ./
drwxr-xr-x 4 root root 4096 2月 20 17:21 ../
-rw-r--r-- 1 rootroot rootroot 3771 2月 1 17:32 bak1.bashrc
-rw-r--r-- 1 rootroot rootroot 3876 2月 25 18:07 bak2.bashrc
-rw-r--r-- 1 rootroot rootroot 3975 3月 2 17:45 bak3.bashrc
-rw-r--r-- 1 rootroot rootroot 3975 3月 2 18:03 bak4.bashrc
-rw------- 1 rootroot rootroot 19056 3月 5 17:55 .bash_history
-rw-r--r-- 1 rootroot rootroot 220 2月 20 17:21 .bash_logout
-rw-r--r-- 1 rootroot rootroot 4052 3月 4 18:57 .bashrc
drwx------ 16 rootroot rootroot 4096 2月 22 16:09 .cache/
drwxrwxr-x 16 rootroot rootroot 4096 2月 26 15:39 code3518/
drwxrwxr-x 2 rootroot rootroot 4096 2月 25 10:43 compile3518/
drwx------ 17 rootroot rootroot 4096 3月 1 11:01 .config/
drwxr-xr-x 2 rootroot rootroot 4096 2月 21 01:24 Desktop/
drwxr-xr-x 10 rootroot rootroot 4096 3月 4 18:09 Documents/
drwxr-xr-x 2 rootroot rootroot 4096 2月 24 16:37 Downloads/
drwxr-xr-x 2 rootroot rootroot 4096 9月 2 2020 gn/
drwx------ 3 rootroot rootroot 4096 2月 20 17:40 .gnupg/
drwxr-xr-x 2 rootroot rootroot 4096 9月 4 2020 hc-gen/
drwxrwxr-x 16 rootroot rootroot 4096 3月 2 16:25 hi3516dv300/
drwxrwxr-x 16 rootroot rootroot 4096 3月 3 15:45 hi3861/
drwxrwxr-x 7 rootroot rootroot 4096 3月 5 09:52 liteos3516/
drwxrwxr-x 5 rootroot rootroot 4096 2月 25 18:35 liteos3518/
drwxrwxr-x 7 rootroot rootroot 4096 9月 1 2020 llvm/
drwx------ 5 rootroot rootroot 4096 2月 22 15:28 .local/
drwx------ 5 rootroot rootroot 4096 2月 22 10:35 .mozilla/
-rw-rw-r-- 1 rootroot rootroot 60 2月 26 15:45 .mtoolsrc
drwxr-xr-x 2 rootroot rootroot 4096 2月 21 01:24 Music/
drwxr-xr-x 2 rootroot rootroot 4096 9月 2 2020 ninja/
drwxrwxr-x 2 rootroot rootroot 4096 3月 4 18:48 .oracle_jre_usage/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:49 Pictures/
-rw-r--r-- 1 rootroot rootroot 807 2月 20 17:21 .profile
drwxr-xr-x 2 rootroot rootroot 4096 2月 21 01:24 Public/
drwxrwxr-x 10 rootroot rootroot 4096 2月 23 15:23 py-googletrans/
-rw------- 1 rootroot rootroot 627 2月 25 22:39 .python_history
-rw------- 1 rootroot rootroot 722 2月 23 15:31 .python_history-02250.tmp
drwxr-xr-x 4 rootroot rootroot 4096 1月 20 04:04 SCons-4.1.0/
drwxrwxr-x 3 rootroot rootroot 4096 2月 26 12:54 srt/
drwx------ 2 rootroot rootroot 4096 2月 20 17:40 .ssh/
-rw-r--r-- 1 rootroot rootroot 0 2月 20 17:42 .sudo_as_admin_successful
drwxr-xr-x 2 rootroot rootroot 4096 2月 21 01:24 Templates/
drwxr-xr-x 2 rootroot rootroot 4096 2月 21 01:24 Videos/
-rw-rw-r-- 1 rootroot rootroot 253 3月 4 18:40 .wget-hsts
-rw------- 1 rootroot rootroot 308 3月 8 09:51 .Xauthority
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~$ cd hi3516dv300/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$ ll
total 64
drwxrwxr-x 16 rootroot rootroot 4096 3月 2 16:25 ./
drwxr-xr-x 30 rootroot rootroot 4096 3月 8 09:51 ../
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 applications/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 base/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 build/
lrwxrwxrwx 1 rootroot rootroot 19 9月 9 22:57 build.py -> build/lite/build.py*
drwxr-xr-x 17 rootroot rootroot 4096 9月 9 22:57 docs/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 domains/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 drivers/
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 foundation/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 kernel/
drwxrwxr-x 3 rootroot rootroot 4096 2月 26 15:41 out/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 prebuilts/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 test/
drwxr-xr-x 27 rootroot rootroot 4096 9月 9 22:57 third_party/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 utils/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 vendor/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$ ll
total 64
drwxrwxr-x 16 rootroot rootroot 4096 3月 2 16:25 ./
drwxr-xr-x 30 rootroot rootroot 4096 3月 8 09:51 ../
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 applications/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 base/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 build/
lrwxrwxrwx 1 rootroot rootroot 19 9月 9 22:57 build.py -> build/lite/build.py*
drwxr-xr-x 17 rootroot rootroot 4096 9月 9 22:57 docs/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 domains/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 drivers/
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 foundation/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 kernel/
drwxrwxr-x 3 rootroot rootroot 4096 2月 26 15:41 out/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 prebuilts/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 test/
drwxr-xr-x 27 rootroot rootroot 4096 9月 9 22:57 third_party/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 utils/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 vendor/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$ cd ver
-bash: cd: ver: No such file or directory
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300$ cd vendor/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor$ ll
total 16
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ./
drwxrwxr-x 16 rootroot rootroot 4096 3月 2 16:25 ../
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 hisi/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 huawei/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor$ cd hisi/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi$ ll
total 16
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 hi35xx/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 hi3861/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi$ cd hi35xx/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ ll
total 36
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 hardware/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3516dv300/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3518ev300/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 hi35xx_init/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 middleware/
drwxr-xr-x 16 rootroot rootroot 4096 9月 9 22:57 platform/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 third_party/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ ll
total 36
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 hardware/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3516dv300/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3518ev300/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 hi35xx_init/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 middleware/
drwxr-xr-x 16 rootroot rootroot 4096 9月 9 22:57 platform/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 third_party/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ cd hi3516dv300/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ ll
total 220
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 config/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 68 9月 9 22:57 .gitignore*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 hi3516dv300_adapter/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 module_init/
-rwxr-xr-x 1 rootroot rootroot 162573 9月 9 22:57 NOTICE*
-rwxr-xr-x 1 rootroot rootroot 22301 9月 9 22:57 README.md*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 soc/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ cat README.md
# Hi3516dv300介绍<a name="ZH-CN_TOPIC_0000001054788038"></a>
## 简介<a name="section469617221261"></a>
上海海思媒体软件开发包用于适配不同芯片复杂的底层处理,为“媒体子系统”提供基础的多媒体处理功能。主要功能有:音视频采集、音视频编解码、音视频输出、视频前处理、封装、解封装、文件管理、存储管理、日志系统等。该软件包功能对应"媒体子系统"框架中红色框标注部分,如图1所示。
**图 1** 多媒体子系统框架图<a name="fig16620102217403"></a>
![](figures/zh-cn_image_0000001054242379.png)
## 目录<a name="section1464106163817"></a>
上海海思媒体软件开发包所在的目录为vendor\\hisi\\hi35xx,子目录结构如以下7个表所示:
**表 1** hardware目录结构
<a name="table15811112718910"></a>
<table><thead align="left"><tr id="row1181112718915"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p1934518501188"><a name="p1934518501188"></a><a name="p1934518501188"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p1580541185"><a name="p1580541185"></a><a name="p1580541185"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row581122715917"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p7463423141214"><a name="p7463423141214"></a><a name="p7463423141214"></a>hi35xx\hardware</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p164391323161216"><a name="p164391323161216"></a><a name="p164391323161216"></a>媒体南向接口实现、框架及芯片对接层库目录</p>
</td>
</tr>
</tbody>
</table>
**表 2** hi35xx\_init目录结构
<a name="table78291813141320"></a>
<table><thead align="left"><tr id="row10829191361312"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p14686442191820"><a name="p14686442191820"></a><a name="p14686442191820"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p18412546191811"><a name="p18412546191811"></a><a name="p18412546191811"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row98296133139"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p582915130134"><a name="p582915130134"></a><a name="p582915130134"></a>hi35xx\hi35xx_init\hi3516dv300</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p1882971311313"><a name="p1882971311313"></a><a name="p1882971311313"></a>编译打包16dv300内核镜像的编译脚本</p>
</td>
</tr>
<tr id="row1316718286548"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p167506431548"><a name="p167506431548"></a><a name="p167506431548"></a>hi35xx\hi35xx_init\hi3518ev300</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p5165122819547"><a name="p5165122819547"></a><a name="p5165122819547"></a>编译打包18ev300内核镜像的编译脚本</p>
</td>
</tr>
</tbody>
</table>
**表 3** hi3516dv300目录结构
<a name="table13927142512394"></a>
<table><thead align="left"><tr id="row15927132514396"><th class="cellrowborder" valign="top" width="49.54%" id="mcps1.2.3.1.1"><p id="p11927325113916"><a name="p11927325113916"></a><a name="p11927325113916"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50.46000000000001%" id="mcps1.2.3.1.2"><p id="p1292722593913"><a name="p1292722593913"></a><a name="p1292722593913"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row292882517399"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p016319301785"><a name="p016319301785"></a><a name="p016319301785"></a>hi35xx\hi3516dv300</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p417918234"><a name="p417918234"></a><a name="p417918234"></a>Hi3516DV300芯片驱动软件,包括:设备配置信息目录、Camera南向接口业务功能适配目录、媒体驱动子目录、媒体用户态库子目录、uboot的差异化内容目录、OS安全启动编译目录、NOTICE文件</p>
</td>
</tr>
<tr id="row12433440114610"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p7433164013460"><a name="p7433164013460"></a><a name="p7433164013460"></a>hi35xx\hi3516dv300\config</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p44332040164615"><a name="p44332040164615"></a><a name="p44332040164615"></a>Hi3516DV300设备配置信息</p>
</td>
</tr>
<tr id="row10905180365"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p18913187366"><a name="p18913187366"></a><a name="p18913187366"></a>hi35xx\hi3516dv300\hi3516dv300_adapter</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p491141817367"><a name="p491141817367"></a><a name="p491141817367"></a>Hi3516DV300Camera南向接口业务功能适配</p>
</td>
</tr>
<tr id="row13791175961418"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p81728197910"><a name="p81728197910"></a><a name="p81728197910"></a>hi35xx\hi3516dv300\module_init\lib</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p1579211591149"><a name="p1579211591149"></a><a name="p1579211591149"></a>Hi3516DV300芯片媒体各模块驱动对应的库、LICENSE文件</p>
</td>
</tr>
<tr id="row19928225163913"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p1505235197"><a name="p1505235197"></a><a name="p1505235197"></a>hi35xx\hi3516dv300\module_init\src</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p1192882518398"><a name="p1192882518398"></a><a name="p1192882518398"></a>内核驱动初始化源代码、LICENSE文件</p>
</td>
</tr>
<tr id="row12928225173915"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p199281425143911"><a name="p199281425143911"></a><a name="p199281425143911"></a>hi35xx\hi3516dv300\soc\lib</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p792802515395"><a name="p792802515395"></a><a name="p792802515395"></a>Hi3516DV300芯片的媒体库文件、LICENSE文件</p>
</td>
</tr>
<tr id="row18928182533911"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p145973615257"><a name="p145973615257"></a><a name="p145973615257"></a>hi35xx\hi3516dv300\uboot\out\boot</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p41400225239"><a name="p41400225239"></a><a name="p41400225239"></a>采用hi35xx\third_party\uboot\u-boot-2020.01和hi35xx\hi3516dv300\uboot\reg\reg_info_hi3516dv300.bin编译成的uboot、README文件</p>
</td>
</tr>
<tr id="row15928132512396"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p3928172518391"><a name="p3928172518391"></a><a name="p3928172518391"></a>hi35xx\hi3516dv300\uboot\reg</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p0346235152311"><a name="p0346235152311"></a><a name="p0346235152311"></a>uboot配置文件、LICENSE文件</p>
</td>
</tr>
<tr id="row971803313228"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p13833522117"><a name="p13833522117"></a><a name="p13833522117"></a>hi35xx\hi3516dv300\uboot\secureboot_ohos</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p93264915116"><a name="p93264915116"></a><a name="p93264915116"></a>鸿蒙OS安全启动相关的编译脚本</p>
</td>
</tr>
<tr id="row15928192593911"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p12928182573915"><a name="p12928182573915"></a><a name="p12928182573915"></a>hi35xx\hi3516dv300\uboot\secureboot_release</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p05488436238"><a name="p05488436238"></a><a name="p05488436238"></a>生成安全uboot的源代码、License目录</p>
</td>
</tr>
</tbody>
</table>
**表 4** hi3518ev300目录结构
<a name="table13215173091517"></a>
<table><thead align="left"><tr id="row142151300157"><th class="cellrowborder" valign="top" width="49.54%" id="mcps1.2.3.1.1"><p id="p621573013151"><a name="p621573013151"></a><a name="p621573013151"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50.46000000000001%" id="mcps1.2.3.1.2"><p id="p17215730121510"><a name="p17215730121510"></a><a name="p17215730121510"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row182151730121511"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p1421613011152"><a name="p1421613011152"></a><a name="p1421613011152"></a>hi35xx\hi3518ev300</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p1216113013158"><a name="p1216113013158"></a><a name="p1216113013158"></a>Hi3518EV300芯片驱动软件,包括:设备配置信息目录、Camera南向接口业务功能适配目录、媒体驱动子目录、媒体用户态库子目录、uboot的差异化内容目录、OS安全启动编译目录、NOTICE文件</p>
</td>
</tr>
<tr id="row52295515460"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p17230175184614"><a name="p17230175184614"></a><a name="p17230175184614"></a>hi35xx\hi3518ev300\config</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p822544125611"><a name="p822544125611"></a><a name="p822544125611"></a>Hi3518EV300设备配置信息</p>
</td>
</tr>
<tr id="row31652035113710"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p316616358374"><a name="p316616358374"></a><a name="p316616358374"></a>hi35xx\hi3518ev300\hi3518ev300_adapter</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p316683511373"><a name="p316683511373"></a><a name="p316683511373"></a>Hi3518EV300Camera南向接口业务功能适配</p>
</td>
</tr>
<tr id="row621623012152"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p2417546181513"><a name="p2417546181513"></a><a name="p2417546181513"></a>hi35xx\hi3518ev300\module_init\lib</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p22161630161512"><a name="p22161630161512"></a><a name="p22161630161512"></a>Hi3518EV300芯片媒体各模块驱动对应的库、LICENSE文件</p>
</td>
</tr>
<tr id="row1721673013157"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p175919515150"><a name="p175919515150"></a><a name="p175919515150"></a>hi35xx\hi3518ev300\module_init\src</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p1621683081514"><a name="p1621683081514"></a><a name="p1621683081514"></a>内核驱动初始化源代码、LICENSE文件</p>
</td>
</tr>
<tr id="row12216830171513"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p6216123061511"><a name="p6216123061511"></a><a name="p6216123061511"></a>hi35xx\hi3518ev300\soc\lib</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p521673071510"><a name="p521673071510"></a><a name="p521673071510"></a>Hi3518EV300芯片的媒体库文件、LICENSE文件</p>
</td>
</tr>
<tr id="row8216930101511"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p12216173091514"><a name="p12216173091514"></a><a name="p12216173091514"></a>hi35xx\hi3518ev300\uboot\out\boot</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p3216133071518"><a name="p3216133071518"></a><a name="p3216133071518"></a>采用hi35xx\third_party\uboot\u-boot-2020.01和hi35xx\hi3518ev300\uboot\reg\reg_info_hi3518ev300.bin编译成的uboot、README文件</p>
</td>
</tr>
<tr id="row15216153091518"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p122167306159"><a name="p122167306159"></a><a name="p122167306159"></a>hi35xx\hi3518ev300\uboot\reg</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p1821663017152"><a name="p1821663017152"></a><a name="p1821663017152"></a>uboot配置文件、LICENSE文件</p>
</td>
</tr>
<tr id="row192160309156"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p192164307151"><a name="p192164307151"></a><a name="p192164307151"></a>hi35xx\hi3518ev300\uboot\secureboot_ohos</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p92161630121517"><a name="p92161630121517"></a><a name="p92161630121517"></a>鸿蒙OS安全启动相关的编译脚本</p>
</td>
</tr>
<tr id="row1121612304158"><td class="cellrowborder" valign="top" width="49.54%" headers="mcps1.2.3.1.1 "><p id="p11216530151510"><a name="p11216530151510"></a><a name="p11216530151510"></a>hi35xx\hi3518ev300\uboot\secureboot_release</p>
</td>
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.2.3.1.2 "><p id="p42162301157"><a name="p42162301157"></a><a name="p42162301157"></a>生成安全uboot的源代码、License目录</p>
</td>
</tr>
</tbody>
</table>
**表 5** middleware目录结构
<a name="table9651175972417"></a>
<table><thead align="left"><tr id="row1965112590241"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p52878711199"><a name="p52878711199"></a><a name="p52878711199"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p86951910151919"><a name="p86951910151919"></a><a name="p86951910151919"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row16653185915240"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p20653155942417"><a name="p20653155942417"></a><a name="p20653155942417"></a>hi35xx\middleware\source\common</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p1065385913243"><a name="p1065385913243"></a><a name="p1065385913243"></a>南向组件公共模块库目录</p>
</td>
</tr>
<tr id="row186531759192419"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p1865345914243"><a name="p1865345914243"></a><a name="p1865345914243"></a>hi35xx\middleware\source\component</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p19653205992414"><a name="p19653205992414"></a><a name="p19653205992414"></a>南向组件非公共模块库目录</p>
</td>
</tr>
<tr id="row6653125952412"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p5653105910248"><a name="p5653105910248"></a><a name="p5653105910248"></a>hi35xx\middleware\source\thirdparty</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p17653135914241"><a name="p17653135914241"></a><a name="p17653135914241"></a>南向插件依赖第三方开源软件目录</p>
</td>
</tr>
</tbody>
</table>
**表 6** platform目录结构
<a name="table397031661516"></a>
<table><thead align="left"><tr id="row109701916151514"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p67071239192"><a name="p67071239192"></a><a name="p67071239192"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p11213142711199"><a name="p11213142711199"></a><a name="p11213142711199"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row12971131610154"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p997151621512"><a name="p997151621512"></a><a name="p997151621512"></a>hi35xx\platform</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p1971161620156"><a name="p1971161620156"></a><a name="p1971161620156"></a>hi35xx平台驱动</p>
</td>
</tr>
</tbody>
</table>
**表 7** third\_party目录结构
<a name="table16381640161517"></a>
<table><thead align="left"><tr id="row33814041510"><th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.1"><p id="p1020912335191"><a name="p1020912335191"></a><a name="p1020912335191"></a>目录</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.2.3.1.2"><p id="p770173621912"><a name="p770173621912"></a><a name="p770173621912"></a>说明</p>
</th>
</tr>
</thead>
<tbody><tr id="row12381640101512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.1 "><p id="p14505145412188"><a name="p14505145412188"></a><a name="p14505145412188"></a>hi35xx\third_party\uboot\u-boot-2020.01</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.2.3.1.2 "><p id="p14381240161511"><a name="p14381240161511"></a><a name="p14381240161511"></a>uboot开源代码</p>
</td>
</tr>
</tbody>
</table>
## 约束<a name="section0364124983015"></a>
当前支持Hi3518EV300、Hi3516DV300芯片。
## 许可协议<a name="section1478215290"></a>
## hi3516dv300许可说明<a name="section172811306502"></a>
- hi35xx\\hi3516dv300\\module\_init\\lib和hi35xx\\hi3516dv300\\soc\\lib里面为上海海思的自研库,遵循上海海思的LICENSE,这两个目录下均有LICENSE文件,LICENSE文件结尾可以看到版权信息:
```
Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved.
```
- hi35xx\\hi3516dv300\\module\_init\\src目录下为上海海思自研代码,使用基于Apache License Version 2.0许可的Hisilicon
```
/ *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. Licensed under the Apache License,* ... * /
```
- hi35xx\\hi3516dv300\\uboot\\reg为上海海思的二进制文件,遵循上海海思的LICENSE,该目录下有LICENSE文件,LICENSE文件结尾可以看到:
```
Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved.
```
- hi35xx\\hi3516dv300\\uboot\\out\\boot是由u-boot-2020.01和reg\_info\_hi3516dv300.bin编译成的uboot二进制文件,完全遵从u-boot-2020.01的整体协议,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。
- hi35xx\\hi3516dv300\\uboot\\secureboot\_release为安全uboot的开源代码,其中自研的部分使用基于GPL许可的Hisilicon
```
/ *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
* ... * /
```
- hi35xx\\hi3516dv300\\NOTICE文件描述了使用到的三款开源软件:Das U-Boot 2020.01、mbed TLS 2.16.6、fdk-aac v2.0.1。
## hi3518ev300许可说明<a name="section172983094910"></a>
- hi35xx\\hi3518ev300\\module\_init\\lib和hi35xx\\hi3518ev300\\soc\\lib里面为上海海思的自研库,遵循上海海思的LICENSE,这两个目录下均有LICENSE文件,LICENSE文件结尾可以看到版权信息:
```
Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved.
```
- hi35xx\\hi3518ev300\\module\_init\\src目录下为上海海思自研代码,使用基于Apache License Version 2.0许可的Hisilicon
```
/ *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. Licensed under the Apache License,* ... * /
```
- hi35xx\\hi3518ev300\\uboot\\reg为上海海思的二进制文件,遵循上海海思的LICENSE,该目录下有LICENSE文件,LICENSE文件结尾可以看到:
```
Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved.
```
- hi35xx\\hi3518ev300\\uboot\\out\\boot是由u-boot-2020.01和reg\_info\_hi3518ev300.bin编译成的uboot二进制文件,完全遵从u-boot-2020.01的整体协议,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。
- hi35xx\\hi3518ev300\\uboot\\secureboot\_release为安全uboot的开源代码,其中自研的部分使用基于GPL许可的Hisilicon
```
/ *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
* ... * /
```
- hi35xx\\hi3518ev300\\NOTICE文件描述了使用到的三款开源软件:Das U-Boot 2020.01、mbed TLS 2.16.6、fdk-aac v2.0.1。
## third\_party许可说明<a name="section148702720527"></a>
hi35xx\\third\_party\\uboot\\u-boot-2020.01为uboot开源代码,遵循软件版本自带的开源许可声明,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ ll
total 220
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 config/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 68 9月 9 22:57 .gitignore*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 hi3516dv300_adapter/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 module_init/
-rwxr-xr-x 1 rootroot rootroot 162573 9月 9 22:57 NOTICE*
-rwxr-xr-x 1 rootroot rootroot 22301 9月 9 22:57 README.md*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 soc/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ cd uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ cat Makefile
##########################################################################################
# prepare param
##########################################################################################
export OSDRV_DIR=$(shell pwd)
export OSDRV_CROSS
export CHIP?=hi3516dv300
export ARCH=arm
export CROSS_COMPILE=$(OSDRV_CROSS)-
BOOT_MEDIA?=emmc
ifneq ($(BOOT_MEDIA),spi)
ifneq ($(BOOT_MEDIA),emmc)
$(error you must set valid BOOT_MEDIA:spi or emmc!)
endif
endif
ifeq ($(OSDRV_CROSS), )
OSDRV_CROSS=$(OSDRV_DIR)/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi
endif
UBOOT_VER:=u-boot-2020.01
UBOOT_TAR:=$(UBOOT_VER).tgz
UBOOT:=u-boot-$(CHIP).bin
UBOOT_REG_BIN:=reg_info_$(CHIP).bin
ifeq ($(BOOT_MEDIA),emmc)
export UBOOT_CONFIG:=$(CHIP)_$(BOOT_MEDIA)_smp_config
else
export UBOOT_CONFIG:=$(CHIP)_smp_config
endif
NORMAL_UBOOT_DIR:=$(OSDRV_DIR)/../../third_party/uboot
##########################################################################################
# set task
##########################################################################################
all: prepare hiboot hipctools build_done
clean: hiboot_clean hipctools_clean
distclean: clean pub_clean clean_done
##########################################################################################
##task [0] prepare out directory
##########################################################################################
prepare:
@echo "------- task [0] prepare out dir -------"
mkdir $(OSDRV_DIR)/out/boot -p
##########################################################################################
#task [1] build uboot
##########################################################################################
hiboot:
@echo "---------task [1] build boot"
find $(NORMAL_UBOOT_DIR)/$(UBOOT_VER) | xargs touch
make -C $(NORMAL_UBOOT_DIR)/$(UBOOT_VER) ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- $(UBOOT_CONFIG)
pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- -j 20 >/dev/null;popd
chmod +x $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/arch/arm/cpu/armv7/$(CHIP)/hw_compressed/gzip
cp $(OSDRV_DIR)/reg/$(UBOOT_REG_BIN) $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/.reg
pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- u-boot-z.bin >/dev/null;popd
cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/out/boot
cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/secureboot_release
hiboot_clean:
@cd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/;make distclean
@echo "---------boot clean"
##########################################################################################
##task [2] make hipctools
##########################################################################################
hipctools:prepare
@echo "---------task [2] build tools run on pc"
hipctools_clean:
##########################################################################################
#task [4] clean out
##########################################################################################
pub_clean:
rm $(OSDRV_DIR)/out/* -rf
build_done:
@echo "------- osdrv build done -------"
clean_done:
@echo "------- clean done -------"
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ make all
------- task [0] prepare out dir -------
mkdir /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot -p
---------task [1] build boot
find /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 | xargs touch
find: ‘/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01’: No such file or directory
touch: missing file operand
Try 'touch --help' for more information.
make: *** [Makefile:54: hiboot] Error 123
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
2、编译错误,提示没有u-boot-2020.01目录;
解决办法:在/third_party/uboot下手动增加一个目录u-boot-2020.01。把原来/third_party/uboot下的内容全部放入新建的目录u-boot-2020.01。
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ cd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 12
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 26 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 api/
drwxr-xr-x 15 rootroot rootroot 4096 9月 9 22:57 arch/
-rw-r--r-- 1 rootroot rootroot 15162 9月 9 22:57 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 9月 9 22:57 board/
-rw-r--r-- 1 rootroot rootroot 684 9月 9 22:57 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 common/
-rw-r--r-- 1 rootroot rootroot 2196 9月 9 22:57 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 9月 9 22:57 configs/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 disk/
drwxr-xr-x 19 rootroot rootroot 4096 9月 9 22:57 doc/
drwxr-xr-x 64 rootroot rootroot 4096 9月 9 22:57 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 dts/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 env/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 examples/
drwxr-xr-x 13 rootroot rootroot 4096 9月 9 22:57 fs/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rw-r--r-- 1 rootroot rootroot 169 9月 9 22:57 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .github/
-rw-r--r-- 1 rootroot rootroot 911 9月 9 22:57 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 9月 9 22:57 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 9月 9 22:57 include/
-rw-r--r-- 1 rootroot rootroot 1863 9月 9 22:57 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 9月 9 22:57 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 9月 9 22:57 lib/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 9月 9 22:57 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 9月 9 22:57 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 9月 9 22:57 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 9月 9 22:57 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 net/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 post/
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 product/
-rw-r--r-- 1 rootroot rootroot 171079 9月 9 22:57 README
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 9月 9 22:57 test/
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 tools/
-rw-r--r-- 1 rootroot rootroot 17936 9月 9 22:57 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ mv uboot/ u-boot-2020.01
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 12
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 26 rootroot rootroot 4096 9月 9 22:57 u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ mkdir uboot
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 16
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxrwxr-x 2 rootroot rootroot 4096 3月 8 09:57 uboot/
drwxr-xr-x 26 rootroot rootroot 4096 9月 9 22:57 u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ mv uboot/ u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$ ll
total 560
drwxr-xr-x 27 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 api/
drwxr-xr-x 15 rootroot rootroot 4096 9月 9 22:57 arch/
-rw-r--r-- 1 rootroot rootroot 15162 9月 9 22:57 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 9月 9 22:57 board/
-rw-r--r-- 1 rootroot rootroot 684 9月 9 22:57 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 common/
-rw-r--r-- 1 rootroot rootroot 2196 9月 9 22:57 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 9月 9 22:57 configs/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 disk/
drwxr-xr-x 19 rootroot rootroot 4096 9月 9 22:57 doc/
drwxr-xr-x 64 rootroot rootroot 4096 9月 9 22:57 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 dts/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 env/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 examples/
drwxr-xr-x 13 rootroot rootroot 4096 9月 9 22:57 fs/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rw-r--r-- 1 rootroot rootroot 169 9月 9 22:57 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .github/
-rw-r--r-- 1 rootroot rootroot 911 9月 9 22:57 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 9月 9 22:57 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 9月 9 22:57 include/
-rw-r--r-- 1 rootroot rootroot 1863 9月 9 22:57 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 9月 9 22:57 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 9月 9 22:57 lib/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 9月 9 22:57 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 9月 9 22:57 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 9月 9 22:57 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 9月 9 22:57 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 net/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 post/
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 product/
-rw-r--r-- 1 rootroot rootroot 171079 9月 9 22:57 README
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 9月 9 22:57 test/
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 tools/
-rw-r--r-- 1 rootroot rootroot 17936 9月 9 22:57 .travis.yml
drwxrwxr-x 2 rootroot rootroot 4096 3月 8 09:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$ mv uboot/ ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 16
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxrwxr-x 2 rootroot rootroot 4096 3月 8 09:57 uboot/
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:57 u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ mv u-boot-2020.01/ u
uboot/ u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ mv u-boot-2020.01/ uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 12
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd -
-bash: cd: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/u-boot-2020.01: No such file or directory
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd ../
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ ll
total 36
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 hardware/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3516dv300/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3518ev300/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 hi35xx_init/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 middleware/
drwxr-xr-x 16 rootroot rootroot 4096 9月 9 22:57 platform/
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 third_party/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ cd hi3516dv300/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ ll
total 220
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 config/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 68 9月 9 22:57 .gitignore*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 hi3516dv300_adapter/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 module_init/
-rwxr-xr-x 1 rootroot rootroot 162573 9月 9 22:57 NOTICE*
-rwxr-xr-x 1 rootroot rootroot 22301 9月 9 22:57 README.md*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 soc/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ cd uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ make all
------- task [0] prepare out dir -------
mkdir /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot -p
---------task [1] build boot
find /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 | xargs touch
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/logs': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/description': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/info': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/rr-cache': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/objects': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/hooks': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/packed-refs': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/config': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/svn': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/refs': No such file or directory
make: *** [Makefile:54: hiboot] Error 123
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
3、find $(NORMAL_UBOOT_DIR)/$(UBOOT_VER) | xargs touch对.git目录出现错误;
解决办法:只处理.c文件,避开.git目录下的链接文件。
find $(NORMAL_UBOOT_DIR)/$(UBOOT_VER) -name “*.c”| xargs touch
我的处理方法就比较简单粗暴了,直接rm掉.git目录!^_
当然也可以使用ln命令重新生成链接!(如果你时间足够的话^_)
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ cd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:58 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:58 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:58 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:58 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:58 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:58 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:58 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:58 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:58 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:58 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:58 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:58 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:58 fs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 .git/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:58 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:58 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:58 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:58 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:58 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:58 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:58 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:58 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:58 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:58 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:58 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:58 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:58 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:58 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:58 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:58 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:58 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:58 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll ./.git
total 1744
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 ./
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:58 ../
lrwxrwxrwx 1 rootroot rootroot 80 9月 9 22:57 config -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/config
lrwxrwxrwx 1 rootroot rootroot 95 9月 9 22:57 description -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/description
-rw-r--r-- 1 rootroot rootroot 41 3月 8 09:58 HEAD
lrwxrwxrwx 1 rootroot rootroot 89 9月 9 22:57 hooks -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/hooks
-rw-r--r-- 1 rootroot rootroot 1732148 3月 8 09:58 index
lrwxrwxrwx 1 rootroot rootroot 88 9月 9 22:57 info -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/info
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 logs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/logs
lrwxrwxrwx 1 rootroot rootroot 91 9月 9 22:57 objects -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/objects
lrwxrwxrwx 1 rootroot rootroot 85 9月 9 22:57 packed-refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/packed-refs
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/refs
lrwxrwxrwx 1 rootroot rootroot 92 9月 9 22:57 rr-cache -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/rr-cache
lrwxrwxrwx 1 rootroot rootroot 87 9月 9 22:57 svn -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/svn
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll -a .git
total 1744
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 ./
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:58 ../
lrwxrwxrwx 1 rootroot rootroot 80 9月 9 22:57 config -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/config
lrwxrwxrwx 1 rootroot rootroot 95 9月 9 22:57 description -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/description
-rw-r--r-- 1 rootroot rootroot 41 3月 8 09:58 HEAD
lrwxrwxrwx 1 rootroot rootroot 89 9月 9 22:57 hooks -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/hooks
-rw-r--r-- 1 rootroot rootroot 1732148 3月 8 09:58 index
lrwxrwxrwx 1 rootroot rootroot 88 9月 9 22:57 info -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/info
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 logs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/logs
lrwxrwxrwx 1 rootroot rootroot 91 9月 9 22:57 objects -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/objects
lrwxrwxrwx 1 rootroot rootroot 85 9月 9 22:57 packed-refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/packed-refs
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/refs
lrwxrwxrwx 1 rootroot rootroot 92 9月 9 22:57 rr-cache -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/rr-cache
lrwxrwxrwx 1 rootroot rootroot 87 9月 9 22:57 svn -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/svn
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:58 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:58 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:58 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:58 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:58 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:58 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:58 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:58 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:58 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:58 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:58 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:58 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:58 fs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 .git/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:58 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:58 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:58 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:58 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:58 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:58 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:58 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:58 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:58 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:58 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:58 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:58 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:58 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:58 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:58 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:58 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:58 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:58 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:58 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ rm ./git -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ cd -
/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ make all
------- task [0] prepare out dir -------
mkdir /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot -p
---------task [1] build boot
find /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 | xargs touch
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/logs': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/description': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/info': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/rr-cache': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/objects': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/hooks': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/packed-refs': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/config': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/svn': No such file or directory
touch: cannot touch '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git/refs': No such file or directory
make: *** [Makefile:54: hiboot] Error 123
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ cd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.git
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/.git$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/.git$ ll
total 1744
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 ./
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:59 ../
lrwxrwxrwx 1 rootroot rootroot 80 9月 9 22:57 config -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/config
lrwxrwxrwx 1 rootroot rootroot 95 9月 9 22:57 description -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/description
-rw-r--r-- 1 rootroot rootroot 41 3月 8 09:59 HEAD
lrwxrwxrwx 1 rootroot rootroot 89 9月 9 22:57 hooks -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/hooks
-rw-r--r-- 1 rootroot rootroot 1732148 3月 8 09:59 index
lrwxrwxrwx 1 rootroot rootroot 88 9月 9 22:57 info -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/info
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 logs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/logs
lrwxrwxrwx 1 rootroot rootroot 91 9月 9 22:57 objects -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/objects
lrwxrwxrwx 1 rootroot rootroot 85 9月 9 22:57 packed-refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/packed-refs
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/refs
lrwxrwxrwx 1 rootroot rootroot 92 9月 9 22:57 rr-cache -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/rr-cache
lrwxrwxrwx 1 rootroot rootroot 87 9月 9 22:57 svn -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/svn
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/.git$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:59 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:59 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:59 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:59 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:59 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:59 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:59 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:59 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:59 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:59 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:59 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 fs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .git/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:59 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:59 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:59 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:59 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:59 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:59 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:59 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:59 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:59 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:59 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:59 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:59 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:59 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:59 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:59 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:59 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ rm ./git -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:59 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:59 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:59 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:59 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:59 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:59 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:59 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:59 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:59 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:59 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:59 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 fs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .git/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:59 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:59 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:59 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:59 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:59 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:59 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:59 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:59 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:59 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:59 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:59 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:59 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:59 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:59 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:59 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:59 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ cd .git
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/.git$ ll
total 1744
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 ./
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:59 ../
lrwxrwxrwx 1 rootroot rootroot 80 9月 9 22:57 config -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/config
lrwxrwxrwx 1 rootroot rootroot 95 9月 9 22:57 description -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/description
-rw-r--r-- 1 rootroot rootroot 41 3月 8 09:59 HEAD
lrwxrwxrwx 1 rootroot rootroot 89 9月 9 22:57 hooks -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/hooks
-rw-r--r-- 1 rootroot rootroot 1732148 3月 8 09:59 index
lrwxrwxrwx 1 rootroot rootroot 88 9月 9 22:57 info -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/info
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 logs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/logs
lrwxrwxrwx 1 rootroot rootroot 91 9月 9 22:57 objects -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/objects
lrwxrwxrwx 1 rootroot rootroot 85 9月 9 22:57 packed-refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/packed-refs
lrwxrwxrwx 1 rootroot rootroot 78 9月 9 22:57 refs -> ../../../../../../.repo/projects/vendor/hisi/hi35xx/third_party/uboot.git/refs
lrwxrwxrwx 1 rootroot rootroot 92 9月 9 22:57 rr-cache -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/rr-cache
lrwxrwxrwx 1 rootroot rootroot 87 9月 9 22:57 svn -> ../../../../../../.repo/project-objects/vendor_hisi_hi35xx_thirdparty_uboot_src.git/svn
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/.git$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 556
drwxr-xr-x 26 rootroot rootroot 4096 3月 8 09:59 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:59 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:59 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:59 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:59 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:59 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:59 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:59 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:59 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:59 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:59 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 fs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .git/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:59 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:59 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:59 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:59 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:59 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:59 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:59 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:59 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:59 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:59 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:59 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:59 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:59 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:59 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:59 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:59 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ rm ./git -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ rm ./.git -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ ll
total 552
drwxr-xr-x 25 rootroot rootroot 4096 3月 8 10:00 ./
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 api/
drwxr-xr-x 15 rootroot rootroot 4096 3月 8 09:59 arch/
-rw-r--r-- 1 rootroot rootroot 15162 3月 8 09:59 .azure-pipelines.yml
drwxr-xr-x 187 rootroot rootroot 4096 3月 8 09:59 board/
-rw-r--r-- 1 rootroot rootroot 684 3月 8 09:59 .checkpatch.conf
drwxr-xr-x 8 rootroot rootroot 4096 3月 8 09:59 cmd/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 common/
-rw-r--r-- 1 rootroot rootroot 2196 3月 8 09:59 config.mk
drwxr-xr-x 2 rootroot rootroot 69632 3月 8 09:59 configs/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 disk/
drwxr-xr-x 19 rootroot rootroot 4096 3月 8 09:59 doc/
drwxr-xr-x 64 rootroot rootroot 4096 3月 8 09:59 drivers/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 dts/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 env/
drwxr-xr-x 4 rootroot rootroot 4096 3月 8 09:59 examples/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 fs/
-rw-r--r-- 1 rootroot rootroot 169 3月 8 09:59 .gitattributes
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 .github/
-rw-r--r-- 1 rootroot rootroot 911 3月 8 09:59 .gitignore
-rw-r--r-- 1 rootroot rootroot 9644 3月 8 09:59 .gitlab-ci.yml
drwxr-xr-x 30 rootroot rootroot 20480 3月 8 09:59 include/
-rw-r--r-- 1 rootroot rootroot 1863 3月 8 09:59 Kbuild
-rwxr-xr-x 1 rootroot rootroot 21021 3月 8 09:59 Kconfig*
drwxr-xr-x 20 rootroot rootroot 4096 3月 8 09:59 lib/
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 Licenses/
-rw-r--r-- 1 rootroot rootroot 2047 3月 8 09:59 .mailmap
-rw-r--r-- 1 rootroot rootroot 24679 3月 8 09:59 MAINTAINERS
-rwxr-xr-x 1 rootroot rootroot 74980 3月 8 09:59 Makefile*
-rwxr-xr-x 1 rootroot rootroot 3059 3月 8 09:59 Makefile-hiproduct*
drwxr-xr-x 2 rootroot rootroot 4096 3月 8 09:59 net/
drwxr-xr-x 5 rootroot rootroot 4096 3月 8 09:59 post/
drwxr-xr-x 9 rootroot rootroot 4096 3月 8 09:59 product/
-rw-r--r-- 1 rootroot rootroot 171079 3月 8 09:59 README
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 09:59 scripts/
drwxr-xr-x 13 rootroot rootroot 4096 3月 8 09:59 test/
drwxr-xr-x 14 rootroot rootroot 4096 3月 8 09:59 tools/
-rw-r--r-- 1 rootroot rootroot 17936 3月 8 09:59 .travis.yml
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ rm ./.git -rf
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01$ cd ../..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ ll
total 12
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot$ ll
total 12
drwxrwxr-x 3 rootroot rootroot 4096 3月 8 09:57 ./
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 ../
drwxr-xr-x 25 rootroot rootroot 4096 3月 8 10:00 u-boot-2020.01/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot$ cd ../
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/third_party$ cd ..
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ ll
total 36
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 hardware/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3516dv300/
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 hi3518ev300/
drwxr-xr-x 5 rootroot rootroot 4096 9月 9 22:57 hi35xx_init/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 middleware/
drwxr-xr-x 16 rootroot rootroot 4096 9月 9 22:57 platform/
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 09:57 third_party/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx$ cd hi3516dv300/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ ll
total 220
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 config/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 68 9月 9 22:57 .gitignore*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 hi3516dv300_adapter/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 module_init/
-rwxr-xr-x 1 rootroot rootroot 162573 9月 9 22:57 NOTICE*
-rwxr-xr-x 1 rootroot rootroot 22301 9月 9 22:57 README.md*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 soc/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ make all
make: *** No rule to make target 'all'. Stop.
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ ll
total 220
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 9 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 14 rootroot rootroot 4096 9月 9 22:57 config/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 68 9月 9 22:57 .gitignore*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 hi3516dv300_adapter/
drwxr-xr-x 4 rootroot rootroot 4096 9月 9 22:57 module_init/
-rwxr-xr-x 1 rootroot rootroot 162573 9月 9 22:57 NOTICE*
-rwxr-xr-x 1 rootroot rootroot 22301 9月 9 22:57 README.md*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 soc/
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300$ cd uboot/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ make all
------- task [0] prepare out dir -------
mkdir /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot -p
---------task [1] build boot
find /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 | xargs touch
make -C /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- hi3516dv300_emmc_smp_config
make[1]: Entering directory '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01'
pushd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01;make ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- -j 20 >/dev/null;popd
~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01 ~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
make[1]: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: Command not found
/bin/sh: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: No such file or directory
/bin/sh: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: No such file or directory
make[2]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.autoconf:48: include/autoconf.mk.dep] Error 1
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
chmod +x /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516dv300/hw_compressed/gzip
cp /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/reg/reg_info_hi3516dv300.bin /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.reg
pushd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01;make ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- u-boot-z.bin >/dev/null;popd
~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01 ~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
make[1]: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: Command not found
/bin/sh: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc: No such file or directory
make[2]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1
make[1]: *** No rule to make target '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01/u-boot.bin', needed by 'u-boot-z.bin'. Stop.
~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
cp /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/u-boot-hi3516dv300.bin /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot
cp: cannot stat '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/u-boot-hi3516dv300.bin': No such file or directory
make: *** [Makefile:60: hiboot] Error 1
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
4、/prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi目录不存在
解决办法:
下载gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2,解压缩到SDK下的prebuilts目录即可!
https://download.csdn.net/download/sunluyao_/10415737
gcc-arm-none-eabi 交叉编译
https://cloud.189.cn/t/J3AJv2B3UjM3
gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ cd ~/hi3516dv300/prebuilts/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/prebuilts$ ll
total 97532
drwxr-xr-x 3 rootroot rootroot 4096 3月 8 10:03 ./
drwxrwxr-x 16 rootroot rootroot 4096 3月 2 16:25 ../
-rwxr--r-- 1 rootroot rootroot 99857645 2月 24 11:39 gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 lite/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/prebuilts$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/prebuilts$ tar jxvf gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2
gcc-arm-none-eabi-7-2017-q4-major/
gcc-arm-none-eabi-7-2017-q4-major/lib/
gcc-arm-none-eabi-7-2017-q4-major/lib/libcc1.so.0.0.0
gcc-arm-none-eabi-7-2017-q4-major/lib/libcc1.so
gcc-arm-none-eabi-7-2017-q4-major/lib/libcc1.so.0
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/liblto_plugin.so
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/liblto_plugin.so.0.0.0
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7-m/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/softfp/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv5/hard/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/softfp/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/crtfastmath.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/crtbegin.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/crtend.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/fpv4-sp/hard/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/crti.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v7e-m/crtn.o
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/libgcc.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/libgcov.a
gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/thumb/v6-m/
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-as
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-addr2line
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc-nm
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-ar
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc-ranlib
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-ld.bfd
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-strings
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-g++
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-size
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc-ar
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-cpp
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc-7.2.1
gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-nm
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/prebuilts$ cd -
/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 9月 9 22:57 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ make all
------- task [0] prepare out dir -------
mkdir /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot -p
---------task [1] build boot
find /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 | xargs touch
make -C /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01 ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- hi3516dv300_emmc_smp_config
make[1]: Entering directory '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01'
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01'
pushd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01;make ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- -j 20 >/dev/null;popd
~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01 ~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
===================== WARNING ======================
This board does not use CONFIG_DM_MMC. Please update
the board to use CONFIG_DM_MMC before the v2019.04 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_USB. Please update
the board to use CONFIG_DM_USB before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 release. Failure to
update by the deadline may result in board removal.
See doc/driver-model/migration.rst for more info.
====================================================
~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
chmod +x /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516dv300/hw_compressed/gzip
cp /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/reg/reg_info_hi3516dv300.bin /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/.reg
pushd /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01;make ARCH=arm CROSS_COMPILE=/home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../../../../prebuilts/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi- u-boot-z.bin >/dev/null;popd
~/hi3516dv300/vendor/hisi/hi35xx/third_party/uboot/u-boot-2020.01 ~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot
cp /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/u-boot-hi3516dv300.bin /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot
cp /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/../../third_party/uboot/u-boot-2020.01/u-boot-hi3516dv300.bin /home/rootroot/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot/secureboot_release
---------task [2] build tools run on pc
------- osdrv build done -------
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$ ll
total 32
drwxr-xr-x 7 rootroot rootroot 4096 9月 9 22:57 ./
drwxr-xr-x 8 rootroot rootroot 4096 9月 9 22:57 ../
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 .git/
-rwxr-xr-x 1 rootroot rootroot 3205 9月 9 22:57 Makefile*
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 out/
drwxr-xr-x 2 rootroot rootroot 4096 9月 9 22:57 reg/
drwxr-xr-x 3 rootroot rootroot 4096 9月 9 22:57 secureboot_ohos/
drwxr-xr-x 6 rootroot rootroot 4096 3月 8 10:04 secureboot_release/
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3:~/hi3516dv300/vendor/hisi/hi35xx/hi3516dv300/uboot$
[END] 2021/3/8 10:15:38
5、经过比对,发现编译时间变了!
预编译的uboot的编译时间是:
hisilicon # reset
resetting ...
System startup
Uncompress Ok!
U-Boot 2020.01 (Sep 01 2020 - 09:25:23 +0800)hi3516dv300
我刚刚的uboot的编译时间是:
hisilicon # reset
resetting ...
System startup
Uncompress Ok!
U-Boot 2020.01 (Mar 08 2021 - 10:04:39 +0800)hi3516dv300
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。