Hi3516dv300 开发第一讲 sdk的准备及环境变量的配置,uboot kernel的编译

0.

下载hi3516dv300 sdk

1.

uboot /kernel open src的做准备

2

sdk的编译:

  1 #
  2 FLASH=emmc
  3 if [ $FLASH == emmc ];then
  4 echo "FLASH == emmc"
  5 echo "make uboot start"
  6 cd Hi3516CV500_SDK_V2.0.1.1/package/osdrv/opensource/uboot/u-boot-2016.11
  7 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- hi3516dv300_emmc_defconfig
  8 make ARCH=arm CROSS_COMPILE=arm-himix200-linux-
  9 cd -
 10 echo "make uImage start"
 11 cd Hi3516CV500_SDK_V2.0.1.1/package/osdrv/opensource/kernel/linux-4.9.y-smp
 12 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- hi3516dv300_emmc_smp_defconfig
 13 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- uImage
 14 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- modules
 15 cd -
 16 else
 17 echo "FLASH == spi flash"
 18 cd Hi3516CV500_SDK_V2.0.1.1/package/osdrv/opensource/uboot/u-boot-2016.11
 19 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- hi3516dv300_defconfig
 20 make ARCH=arm CROSS_COMPILE=arm-himix200-linux-
 21 cd -
 22 echo "make uImage start"
 23 cd Hi3516CV500_SDK_V2.0.1.1/package/osdrv/opensource/kernel/linux-4.9.y-smp
 24 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- hi3516dv300_smp_defconfig
 25 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- uImage
 26 make ARCH=arm CROSS_COMPILE=arm-himix200-linux- modules
 27 cd -
 28 fi
 

你可能感兴趣的:(linux)