VDD5V_SOURCE only software configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VDD5V_SOURCE only software configuration

Jump to solution
810 Views
pt
Senior Contributor I

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

Labels (2)
0 Kudos
1 Solution
601 Views
igorpadykov
NXP Employee
NXP Employee

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!

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

View solution in original post

0 Kudos
3 Replies
602 Views
igorpadykov
NXP Employee
NXP Employee

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!

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

0 Kudos
601 Views
pt
Senior Contributor I

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.

power_prep.png

Regards

Pt

0 Kudos
601 Views
PeterChan
NXP Employee
NXP Employee

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.

0 Kudos