Hi Qiang_FSL, igorpadykov
Processor:-i.Mx28
LinuxBSP:Linux2.6.35 Kernel version
For our customized board, I want to configure the power supply for VDD5V_source only.
When I referred the "Getting started with power supply.pdf", I have seen that I have to edit the file power_prep.c.
But I couldn't find any file name "power_prep.c".
Regards
Pt
Solved! Go to Solution.
Hi Pt A R
power_prep.c is located in bootlets sources.
For that, first build ltib.
Prepare bootlets sources (in ltib/RPM/Build):
1. ./ltib -m prep -p imx-bootlets
This command will put imx-bootlets source codes in the folder --
ltib/rpm/build/
2. modify sources
3. ./ltib -m scbuild -p imx-bootlets
This command will build new images.
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pt A R
power_prep.c is located in bootlets sources.
For that, first build ltib.
Prepare bootlets sources (in ltib/RPM/Build):
1. ./ltib -m prep -p imx-bootlets
This command will put imx-bootlets source codes in the folder --
ltib/rpm/build/
2. modify sources
3. ./ltib -m scbuild -p imx-bootlets
This command will build new images.
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov, Qiang_FSL, PeterChan
Thank you. For VDD5V source only configuration, I have edited the file as the following. Is that enough for it?
I have defined the NO_DCDC_BATT_SOURCE and commented NO_VDD5V_SOURCE.
Regards
Pt
Please follow the instructions at MX28_EVK_Linux_User_Guide.pdf "section 2.7 Configure Power Source" to configure the power source for your board.