What's the path of kernel and rootfs of QorIQ SDK v1.2 yocto?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What's the path of kernel and rootfs of QorIQ SDK v1.2 yocto?

2,482 次查看
zouzhifeng
Contributor I

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

标签 (1)
0 项奖励
回复
4 回复数

1,459 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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".

1,459 次查看
zouzhifeng
Contributor I

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

0 项奖励
回复

1,459 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please use the command "bitbake virtual/kernel -c patch -f" to extract the Kernel source.

0 项奖励
回复

1,459 次查看
zouzhifeng
Contributor I

Anyone can help?

Thanks,

zhifeng

0 项奖励
回复