第一次

  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 <rootfs path>/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 <rootfs path>/boot
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐