VDD5V_SOURCE only software configuration

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

VDD5V_SOURCE only software configuration

跳至解决方案
975 次查看
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

标签 (2)
0 项奖励
回复
1 解答
766 次查看
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 项奖励
回复
3 回复数
767 次查看
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 项奖励
回复
766 次查看
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 项奖励
回复
766 次查看
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 项奖励
回复