在i.MX 6ULL平台上编译sim7100驱动(SIM7100 Linux NDIS)
我是在Ubuntu 16.04上操作的,使用的开发板是米尔科技的MYC-Y6ULX开发板,内核版本为Linux 4.1.15,并按照米尔科技给的教程配置好Yocto编译工具链
arm-poky-linux-gnueabi-gcc --version
arm-poky-linux-gnueabi-gcc (GCC) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 尝试编译内核
安装必备的软件包
sudo apt-get install build-essential git-core libncurses5-dev \
flex bison texinfo zip unzip zlib1g-dev gettext u-boot-tools \
g++ xz-utils mtd-utils gawk diffstat gcc-multilib python git \
make gcc g++ diffstat bzip2 gawk chrpath wget cpio texinfo
尝试编译内核
#进入Kernel目录,解压内核源码