[U-Boot-Users] PPC 405 _start code

Jerry Walden jwalden at digitalatlantic.com
Sat Dec 14 20:49:01 CET 2002


Greetings:

I just build a version of u-boot for the PPC 405GP.

If I disassemble the code that is generated I see the following:

fff80100 <_start>:
fff80100:	38 80 00 00 	li	r4,0
fff80104:	7c 99 eb a6 	mtsgr	r4
fff80108:	7c 9a eb a6 	mtdcwr	r4
fff8010c:	7c 94 f3 a6 	mtesr	r4
fff80110:	7c 9a f3 a6 	mttcr	r4
fff80114:	7c 81 03 a6 	mtxer	r4
fff80118:	7c 96 f3 a6 	mtevpr	r4
fff8011c:	38 80 10 00 	li	r4,4096

So to develop a deeper understanding of how all the pieces fit together
I went to the start.S module under the cpu subdirecory.  There I
see the _start vector - however the code I see in start.S does not
correspond to the code that I disassembled.

What am I missing?

Kindest Regards,

Jerry




More information about the U-Boot mailing list