Get boot source from user-space

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Get boot source from user-space

1,123件の閲覧回数
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,050件の閲覧回数
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,050件の閲覧回数
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 件の賞賛
返信