GPIO Yocto Dizzy

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

GPIO Yocto Dizzy

926 次查看
swanner
Contributor I

I am using Yocto Dizzy,1.7.7, build with the wand board and noticed that the GPIO mapping is incorrect for some of the pins, i.e. I can't output anything to them. This appears inconsistent with Dora release. For example GPIO191, is functional with Dora release but not on Dizzy release.

As I don't want to revert by build, what steps are necessary to correct the GPIO issue. Keep in my I am a beginner interms of embedded Linux.

0 项奖励
回复
1 回复

850 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Shannon Wanner,

Probably the easiest alternative would be changing the device tree and compiling it outside of Yocto and placing it on your image. For this you would need to extract the toolchain for cross compiling.

I’m not familiar with the Wandboard but you should be able to locate the device tree sources on a path similar to this:

/<BSP_DIR>/<BUILD_DIR>/tmp/work/<MACHINE>/<KERNEL>/<KERNEL_REVISION>/git/arch/arm/boot/dts/ 

After changing the device tree you should be able to cross compile from  /<BSP_DIR>/<BUILD_DIR>/tmp/work/<MACHINE>/<KERNEL>/<KERNEL_REVISION>/git with the command:

make ARCH=arm dtbs  

I hope this helps!

Regards,

0 项奖励
回复