Porting zephyr to the MCIMX7U5 cm4

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

Porting zephyr to the MCIMX7U5 cm4

1,458 次查看
chriz
Contributor I

I'm looking at porting zephyr to the cortex m4 and I'm starting to come up against a few problems with generating the device tree files using the nxp/mcux/scripts/pinctrl/imx/imx_gen_{dts,gpio,headers}.py scripts.

I've modified the scripts as showing the diff file

This does the following:
a) generates what looks to be correct mcimx7u5xxxxx-pinctrl.dtsi files
b) doesn't generated anything usefullfor the mcimx7u5xxxxx-gpio.dtsi files
c) incorrectly generates the pinctrl groups names for the file mcimx7ulp_evk_rev_b-pinctrl.dtsi

I've run the imx_fixup_pinmux.py on both the pinctrl files but this hasn't fixed them.

So I think that the problem is with the "SignalPin" in "imx_cfg_utils.py" as I'm incorrectly allowing "SW_PAD_CTL_PAD_" to be a signal pin and that I haven't modified the "IOMUXOption" to flag the "pta1_port_pta1", etc as GPIO's.

Any help would be greatly appreciated.

Chris

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,432 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can take as base the yocto BSP from NXP we don't have Zephir yet but the device tree should be helpful.

Regards

0 项奖励
回复