Build drivers notes

来自个人维基
2020年3月20日 (五) 15:56free6d1823讨论 | 贡献的版本

跳转至: 导航搜索

目录

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

3. Build afbc driver

4. Build afbc tool

5. Build vpu decoder driver

6. Build vpu encoder driver