Hi, i have built successfully the env by "bitbake fsl-image-core" and find images in /home/adapwave/wifi/freescale/QorIQ-SDK-V1.2-20120614-yocto/build_p1010rdb_release/tmp/deploy/images/. I have upload those images to P1010RDB evaluation board and it works fine.
Now, i want to compile Atheros WiFi driver source code -- LSDK-WLAN-9.5.3.16. According the guide, i extract the code to .../QorIQ-SDK-V1.2-20120614-yocto/wlan_9.5. Before the compile, some config in .../wlan_9.5/build/scripts/p1020/Makefile.p1020 should be correct:
export TOOLCHAINPATH=/home/adapwave/wifi/freescale/QorIQ-SDK-V1.2-20120614-yocto/build_p1010rdb_release/tmp/sysroots/x86_64-linux/usr/bin/ppce500v2-fsl-linux-gunspe/
export PATH:=$(TOOLCHAINPATH)/bin:${PATH}
export KERNELPATH=$(LTIB_DIR)/rpm/BUILD/linux
export BASEROOTFS=$(LTIB_DIR)/rootfs
My questions are:
1. Does the "TOOLCHAINPATH=/home/adapwave/wifi/freescale/QorIQ-SDK-V1.2-20120614-yocto/build_p1010rdb_release/tmp/sysroots/x86_64-linux/usr/bin/ppce500v2-fsl-linux-gunspe/" correct?
2. What's the KERNELPATH and BASEROOTFS?
thanks a lot.
zouzhifeng
The Toolchain path should be correct.
The Kernel path should be "build_p1010rdb_release/tmp/work/p1010rdb-fsl-linux/linux-qoriq-sdk-*/git/".
The base rootfs path should be "build_p1010rdb_release/tmp/sysroots/p1010rdb".
Thanks a lot.
Yes, some source codes have compiled successfully and it proofed the TOOLCHAINPATH.
But, when compile other files, errors say "../../adf/os/linux/adf_os_types_pvt.h:34:28: fatal error: linux/autoconf.h: No such file or directory". The error caused by linux/autoconf.h coundn't be found in KERNELPATH "/home/adapwave/wifi/freescale/QorIQ-SDK-V1.2-20120614-yocto/build_p1010rdb_release/tmp/work/p1010rdb-fsl-linux-gnuspe/linux-qoriq-sdk-git-r2/git/". I examined the KERNELPATH, it DOES empty.
Thanks,
zhifeng zou
Please use the command "bitbake virtual/kernel -c patch -f" to extract the Kernel source.