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

来自个人维基
跳转至: 导航搜索
1. Build GDC
第3行: 第3行:
 
: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
  
# Preparation once
+
* 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
 
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>
 
</source>
# build gdc drive
+
* build gdc drive
##<source lang="c">
+
<source lang="c">
 +
cd
 
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/
 
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/
 
</source>
 
</source>
  
# 顺序列表第一项
+
==2. Build gdc tool ==
##第一项第二层1
+
 
##第一项第二层2
+
==3. Build afbc driver ==
# 顺序列表第二项
+
 
<source lang="c">
+
==4. Build afbc tool ==
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
+
 
make ARCH=arm64 defconfig
+
 
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
+
==5. Build vpu decoder driver==
</source>
+
 
# 顺序列表第三项
+
==6. Build vpu encoder driver==

2020年3月20日 (五) 15:51的版本

目录

1. 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
make ARCH=arm64 defconfig
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
  • build gdc drive
cd 
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/

2. Build gdc tool

3. Build afbc driver

4. Build afbc tool

5. Build vpu decoder driver

6. Build vpu encoder driver