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!
解決済! 解決策の投稿を見る。
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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!