[U-Boot-Users] u-boot.bin

Fundu fundu_1999 at yahoo.com
Wed Jul 23 00:44:34 CEST 2008


i'm working on taishan ppc440gx.

now here's what i noticed. snippet of u-boot.bin opened with a hex editor.


fffbffff : 27051956 552d426f 6f742031 2e322e30  '..VU-Boot 1.2.0
fffc000f : 20284a75 6c203232 20323030 38202d20   (Jul 22 2008 -
fffc001f : 31343a31 363a3037 29000000 00000000  14:16:07).......
fffc002f : 00000000 00000000 00000000 00000000  ................
fffc003f : 00000000 00000000 00000000 00000000  ................

and my u-boot.map  

.text           0xfffc0000    0x2aa9c
 cpu/ppc4xx/start.o(.text)
 .text          0xfffc0000     0x2704 cpu/ppc4xx/start.o
                0xfffc01bc                _start_of_vectors
                0xfffc0004                version_string
                0xfffc2424                dcache_enable
                0xfffc24dc                relocate_code
                0xfffc24b4                in32
                0xfffc24ac                in16r
                0xfffc2474                in8
                0xfffc24bc                in32r
                0xfffc2484                out16
                0xfffc24a4                in16
                0xfffc23ec                icache_enable
                0xfffc246c                wr_tcr
                0xfffc2100                transfer_to_handler
                0xfffc24cc                ppcDcbi
                0xfffc0100                _start

couple of question.
1) this line ".text           0xfffc0000    0x2aa9c" from u-boot.map 
which means .text starts at 0xfffc0000 and with length of 0x2aa9c. right ?

then looking at the hex dump of u-boot.bin looks like there's some data right after first word (U-Boot 1.2.0...) 
what am i missing ? 

2) when ppc440gx reset it has 0xfffffffc in its program counter, the instr at this location is a branch instr. right ?
b) this branch should go to TEXT_BASE which is 0xfffc0000 in my case. 
and that location contains 0x05195655. which looks like a "rlwimix" instr. (rotate left word immediate then mask insert). does this look start of monitor ?

Any insight on how the bootldr starts up would be appreciated too.
thanks ! 


      




More information about the U-Boot mailing list