Get boot source from user-space

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

Get boot source from user-space

1,460 次查看
BrilliantovKiri
Senior Contributor I

Hello!

I work with board on iMX6Quad CPU, board should boot from SD-card and eMMC-card and execute different programm.

How can I get in user-space boot source?

Thank you and excuse my bad english.

标签 (2)
0 项奖励
回复
2 回复数

1,387 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Kirill

one can read from uboot SRC_SBMR1,2 registers

then perform necessary steps for booting.

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 项奖励
回复

1,387 次查看
BrilliantovKiri
Senior Contributor I

Thank you, Igor!

No, boot steps always one. I have to this information in user-space after linux boot, e.g. if system boot from SD-card I run script1.sh, but if from eMMC-card - run script2.sh.

0 项奖励
回复