On Sat, 8 May 2010, angelo wrote:

Hi all,

well i have some news with this coldfire 5307 issue,

i disassembled and put some loop as opcodes here and there in the kernel (4ef9 0000 XXXX jmp XXXX ) as a very rude debug.

The issue is just at the beginning:

Dump of assembler code for function _text:
0x00000400 <_text+0>:    nop
0x00000402 <_text+2>:    movew #9984,%sr
0x00000406 <_text+6>:    moveal #0,%sp              <--- Issue is here
0x0000040c <_text+12>:    movec %sp,%vbr
0x00000410 <_text+16>:    movel %sp,0xe8944 <_ramvec>

See arch/m68knommu/platform/coldfire/head.S

CONFIG_VECTORBASE is the #0

There are a few config options, you'll see them as macros in coldfire/head.S
and can trace their names to the Kconfig or vendor/ configs.

Also you can customize own head.S if PLATFORM_SETUP is not enough for
you.

--
Brian
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to