Hi Daniel,
I managed to set up DDD today and do some debugging. What I did:

- configure the kernel for zImage
- CONNFIG_ZBOOT_ROM, so that my zImage can run from flash
- then I loaded this zImage to the Flash and using my JTAG adaptor I can 
connect with the DDD debugger and step through the code, even with C symbols 
when I use the file arch/arm/boot/compressed/vmlinux. With the help of this, I 
could see that the Code works until it reaches inflate.c, Line 579. There it 
comes to an endless loop, and I don't know why :-( Do you have some idea?

Best regards Tobias

________________________________________
Von: uclinux-dev-boun...@uclinux.org [uclinux-dev-boun...@uclinux.org]" im 
Auftrag von "Daniel Glöckner [daniel...@gmx.net]
Gesendet: Sonntag, 28. Juli 2013 14:38
An: uClinux development list
Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting

Hi Tobias,

On Sun, Jul 28, 2013 at 12:22:54PM +0000, Plüss Tobias TA.E.1001 wrote:
> It seems difficult to find out what causes the crash. Because when I step
> through the code, many many instructions work without any problem;
> yesterdeay in the evening, I stepped about half an hour through the code,
> and *every* instruction was okay, but when I let the CPU run, it comes to
> the "critical point" after a short while, so it looks like the thing
> causing the crash is not near the beginning.

then what are the instructions around LR (aka R14) when it has entered
the exception handler?

  Daniel
_______________________________________________
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
_______________________________________________
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