66AK2G12 ,K2GEVM开发板上编译Kernel的步骤

第一次

  1. export PATH=$HOME/k2g-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
  2. ti_config_fragments/defconfig_builder.sh -t ti_sdk_k2g_release export ARCH=arm make ti_sdk_k2g_release_defconfig #mv .config arch/arm/configs/tisdk_keystone-evm_defconfig
  3. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage
  4. 编译好的镜像在arch/arm/boot/ directory called zImage`
  5. copy to target cp arch/arm/boot/zImage /boot

后续编译

  1. export PATH=$HOME/k2g-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
  2. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage
  3. 编译好的镜像在arch/arm/boot/ directory called zImage`
  4. copy to target cp arch/arm/boot/zImage /boot

你可能感兴趣的:(Hardware,OS)