Hi all,
I am trying to load vmlinux ELF via OpenOCD (JTAG). I have ARM946E-S
and 2.6 kernel.

However, looking at the code I can not find low-level routines that
set-up stack pointer.

The only thing I found so far is cpu_init() function in
arch/arm/kernel/setup.c, but that is too late - we are already in the
C world, i.e. we called C functions without previous stack setup and
my core hits exception.

How do we properly  set-up stack in these occasions ? Do we
exclusively relay on bootloader (which I do not use in this case,
because I load ELF via JTAG), or something should be passed via some
arguments (regs, atags, cmdline) to the kernel ?

Best regards,
Drasko
_______________________________________________
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