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

来自个人维基
跳转至: 导航搜索
第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
  
## <u>0. Prerequirement</u>
+
# <u>0. Preparation once</u>
  
 +
<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>
  
##<u>1. build gdc driver</u>
+
#<u>1. build gdc driver</u>
  
 
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/
 
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/

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

1. Build GDC

Kernel: 4.19 at $/HOME/linux
toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
  1. 0. Preparation once
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
  1. 1. build gdc driver

make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/

  1. 顺序列表第
    1. 第一项第二层1
    1. 第一项第二层2
  1. 顺序列表第二项
  1. 顺序列表第三项