Hi3516A 内核编译
/home/shuke/hisiv2/Hi3516A_SDK_V1.0.5.0/osdrv/opensource/kernel/linux-3.4.y
make ARCH=arm CROSS_COMPILE= arm-hisiv300-linux- menuconfig
export PATH=$PATH:/opt/hisi-linux/x86-arm/arm-hisiv300-linux/target/bin/
su root
source /etc/profile
cp /home/shuke/hisiv2/.config .config
make ARCH=arm CROSS_COMPILE=arm-hisiv300-linux- menuconfig
Hi3520D内核编译
export PATH=$PATH:/opt/hisi-linux-nptl/arm-hisiv100-linux/target/bin/
#make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux- menuconfig
cp arch/arm/configs/hi3520d_full_defconfig .config
make ARCH=arm CROSS_COMPILE=arm-hisiv100nptl-linux-
make ARCH=arm CROSS_COMPILE=arm-hisiv300-linux- uImage
sam@sam-pc:/home/shuke/hisiv2/Hi3516A_SDK_V1.0.5.0/osdrv/opensource/kernel/linux-3.4.y$ make ARCH=arm CROSS_COMPILE=arm-hisiv300-linux- uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”是最新的。
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
Image Name: Linux-3.4.35
Created: Tue Apr 10 17:18:19 2018
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3115768 Bytes = 3042.74 kB = 2.97 MB
Load Address: 80008000
Entry Point: 80008000
Image arch/arm/boot/uImage is ready
--------------------------------------------------------
编译驱动代码
cd WLAN-AIO/build
vi script/x86/config.x86 # Modify the kernel path and compile toolschain etc.
make
qca1021a已成功编译代码下载
驱动下载
链接:https://pan.baidu.com/s/1ExpSRijC30sAoUYzpfLHRw 密码:4urt
网友评论