“Build drivers notes”的版本间的差异

来自个人维基
跳转至: 导航搜索
 
(未显示1个用户的8个中间版本)
第1行: 第1行:
==1. Build GDC==
+
== Build GDC==
 
:Kernel: 4.19 at $/HOME/linux
 
:Kernel: 4.19 at $/HOME/linux
 
:toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
 
:toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
  
# <u>0. Preparation once</u>
+
* Preparation
 
+
 
<source lang="c">
 
<source lang="c">
 
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
 
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
 +
cd $HOME/linux/
 
make ARCH=arm64 defconfig
 
make ARCH=arm64 defconfig
 
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
 
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
 +
</source>
 +
* build gdc drive
 +
<source lang="c">
 +
cd $GDC_DIR
 +
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/
 
</source>
 
</source>
  
#<u>1. build gdc driver</u>
+
==Build gdc tool ==
  
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/
+
==Build afbc driver ==
 +
 
 +
==Build afbc tool ==
 +
 
 +
 
 +
==Build vpu decoder driver==
  
# 顺序列表第一项
+
==Build vpu encoder driver==
##第一项第二层1
+
##第一项第二层2
+
# 顺序列表第二项
+
# 顺序列表第三项
+

2020年3月20日 (五) 15:57的最后版本

目录

Build GDC

Kernel: 4.19 at $/HOME/linux
toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
  • Preparation
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
cd $HOME/linux/
make ARCH=arm64 defconfig
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
  • build gdc drive
cd $GDC_DIR
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/

Build gdc tool

Build afbc driver

Build afbc tool

Build vpu decoder driver

Build vpu encoder driver