mx287 init gpio failure

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mx287 init gpio failure

ソリューションへジャンプ
1,406件の閲覧回数
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,288件の閲覧回数
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,289件の閲覧回数
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,288件の閲覧回数
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 件の賞賛
返信