bootloader - VxWorks 6.6 on PowerPC Boot Sequence _sysInit() opcode bizarity -
for project working on,
running on powerpc mpc-8641d, vxworks6.6.
i need launch vip image vip project.
investigating boot sequence seems boot-loader is:
reading binary header of image,
copy binary image (without hdr) 0x100000
, jumps 0x100000
(where _sysinit()) located.
doing same thing boot-loader, cpu freeze @ address 0x100004h
reading content of 0x100000
revealed following dump:
48 44 01 fc ba ad c0 de 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... ... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
well, 0x484401fc
looks function prolog, but, 0xbaadc0de
must joke!
how vip run calling address.
missing else?
0x484401fc
b 0x4401fc
, should branching 0x4401fc
, never executing instruction @ 0x100004
(unless returns, branch doesn't set lr
have return manually).
Comments
Post a Comment