mx287 init gpio failure

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

mx287 init gpio failure

跳至解决方案
1,421 次查看
hwo
Contributor III

I try to use the MFG tool to burn my board, but every time, the tool stops working when kernel tries to initialize gpio( through calling function mx28_gpio_init ),

So I print several trace in the function call process, and I find every time it stops in for loop( at this time, port->id is 4, namely the last bank, and the loop index i value is 27) in function mxs_add_gpio_port.

The kernel version is 2.6.35.3, and MFG tool is 1.6.2.055.

By the way, my board only has VDD5V power, so I enable the macro NO_DCDC_BATT_SOURCE in power_prep.c( in MFG tool source). I don't know if VDD_LI-ION
pin has something to do with the gpio initialization failure.

Anyone can help?  Thanks in advance!

标签 (1)
0 项奖励
回复
1 解答
1,303 次查看
igorpadykov
NXP Employee
NXP Employee

Hi hwo

"VDD5V only" configuration is implemeneted only in L2.6.35_1.1.0 release,

1.6.2.055 seems not use it.

i.MX28 Evaluation Kit|Freescale

recommended to look also on patches on the same link:

Linux patch for i.MX28 SDK 2010.12 to add the most robust support

possible for a VDD5V or DCDC_BATT only configuration..

GZ (10.6 kB) L2.6.35_10.12_5V_SUPPLY_PATCH

The purpose of this patch release is Fix the updater.sb boot issue in

the i.MX28 Linux BSP L2.6.35_1.1.0 release.

also custom board ddr configuration should be updated in bootlets init-mx28.c.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,304 次查看
igorpadykov
NXP Employee
NXP Employee

Hi hwo

"VDD5V only" configuration is implemeneted only in L2.6.35_1.1.0 release,

1.6.2.055 seems not use it.

i.MX28 Evaluation Kit|Freescale

recommended to look also on patches on the same link:

Linux patch for i.MX28 SDK 2010.12 to add the most robust support

possible for a VDD5V or DCDC_BATT only configuration..

GZ (10.6 kB) L2.6.35_10.12_5V_SUPPLY_PATCH

The purpose of this patch release is Fix the updater.sb boot issue in

the i.MX28 Linux BSP L2.6.35_1.1.0 release.

also custom board ddr configuration should be updated in bootlets init-mx28.c.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,303 次查看
hwo
Contributor III

Thanks igor,

      You're right, the patches support 5V only. I have a watchdog chip and forget to feed the dog. Now everything turns ok!

0 项奖励
回复