What does 'Undefined Ins' mean in u-boot?

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

What does 'Undefined Ins' mean in u-boot?

ソリューションへジャンプ
2,037件の閲覧回数
JHY
Contributor IV

I use i.MX28, uboot and spl.

After board_init_ll (SPL) returned, before board_init_f (uboot) executed, 'Undefined Ins' is printed out in my console and system is hanging.

I can not find 'Undefined Ins' in uboot or spl source.

What is it executed between SPL and uboot.

ラベル(1)
0 件の賞賛
1 解決策
1,301件の閲覧回数
JerryFan
NXP Employee
NXP Employee

It is likely that the "Undefined Instruction" been printed by ROM code. And ROM code should print "r14_undef" and followed with LR value which points the place where the exception occurred. Do you see these ever?

B.R
Jerry

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,301件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

Also, I've seen cases where 'Undefined Ins' was caused when the wrong toolchain was used: for example - using a toolchain for armv7 (mx6) to build code for arm926 (mx28). Make sure you have a suitable toolchain for mx28.

0 件の賞賛
1,302件の閲覧回数
JerryFan
NXP Employee
NXP Employee

It is likely that the "Undefined Instruction" been printed by ROM code. And ROM code should print "r14_undef" and followed with LR value which points the place where the exception occurred. Do you see these ever?

B.R
Jerry

0 件の賞賛
1,301件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Please take a look at this past thread, it might be able to help you:

iMX28evk u-boot sd-card -> Undefined Ins

0 件の賞賛